La séance de questions et réponses d’aujourd’hui nous est offerte par SuperUser, une sous-division de Stack Exchange, un groupe de sites Web de questions-réponses dirigé par la communauté.
Photo gracieuseté de photosteve101 (Flickr).
La question
Le lecteur de superutilisateur Kjell Rilbe souhaite savoir comment copier une tâche planifiée d’une installation Windows morte vers une nouvelle:
My old computer died (hardware problems) and I had to reinstall everything on a new machine. All the hard-drives are intact and the old system disk is available as F: in my new computer.
On the old system I had a scheduled task that would run a simple batch file on system start up (or possibly on login). I have no detailed notes on how I set it up, so I would prefer to copy it from the old (dead) Windows installation to the new one.
Is there any way that this can be done? I cannot boot up the old Windows installation to export the task or anything, but as I mentioned, I do have access to the entire disk where it resides. Both installations are Windows 7 Ultimate x64.
Y a-t-il un moyen pour Kjell de copier la tâche planifiée de son ancienne installation Windows vers sa nouvelle?
La réponse
Frank Thomas, contributeur au SuperUser, a la solution pour nous:
There are two directories within Windows where you might find a scheduled task definition or log:
- C:WindowsTasks
- C:WindowsSystem32Tasks
That said, depending on the task, you may or may not have difficulties using the configured task on another computer. Some tasks may contain system-specific information, and others may be in formats that cannot be opened for editing (third party programs often ship.job files). Carefully review the definition before attempting to run the imported tasks.
Avez-vous quelque chose à ajouter à l'explication? Sound off dans les commentaires. Voulez-vous lire plus de réponses d'autres utilisateurs de Stack Exchange doués en technologie? Découvrez le fil de discussion complet ici.