How to Create a Task in Windows XP Scheduled Tasks. Open the Scheduled Tasks window. The program name is probably set up already in the wizard. Because your account will be running the task, you need to specify your account.
Hi,I would like to suggest you try the following steps to restart the computer automatically nightly.1. Launch Task Scheduler.2. Click Action and select Create Basic task.3.
Type AutoRestart (or others you want) in the Name box and click Next.4. Select Daily and click Next5.
Type the time you want to restart the computer and click Next.6. Select Start a program and click Next.7. Click Brower and navigate to%SystemRoot%System32 and select Shutdown.exe and click Open.
Type –F –R in the Add arguments (optional) box and click Next.8. Click Finish.Does it work?Regards,Arthur Li - MSFT.
Hi,I would like to suggest you try the following steps to restart the computer automatically nightly.1. Launch Task Scheduler.2.
Click Action and select Create Basic task.3. Type AutoRestart (or others you want) in the Name box and click Next.4. Select Daily and click Next5. Type the time you want to restart the computer and click Next.6. Select Start a program and click Next.7. Click Brower and navigate to%SystemRoot%System32 and select Shutdown.exe and click Open.
Type –F –R in the Add arguments (optional) box and click Next.8. Click Finish.Does it work?Regards,Arthur Li - MSFT. Hi there,There is indeed a way to to this.- Click start and open the advanced user properties box by typingNetplwiz into the search box in the start menu and hitting enter.- In the Advanced User panel, deselect 'Users must enter a user name and password to use this computer' and hit ok.- You then have to enter the credentials for the account you wish to automatiacally log on with.Done.
This is a really handy feature if your machine relies on wireless and you want a daily reboot (using the task scheduler) whilst maintaining connectivity.Also note that you still have to enter a password if the workstation is locked either manually or by using the screensaver autolock. And all someone has to do to gain access to your machine is reboot.Hope this helps. You can also set up your windows7 powerplan to reboot nightly. (i discovered this through a very frustrating scenario whereby my machine would reboot automatically every night.
Trust me if you dont want this then such a hidden auto-reboot can bevery frustrating).To set this up go to Power Options:Control Panel Power Options Power SaverIn my case the default power plan had a nightly auto-reboot setting built-in somewhere. I could not really figure out how or why this happened but when I created a new custom powerplan my pc stopped auto-rebooting itself. I tried this and it was helpful. For Windows 7 and above, this is a better solution since the task scheduler is so much more robust. In windows XP it may be better to write a batch file that is one line of using the shutdown.exe command, and then installthat bacth file (.bat) and call on it within task scheduler.One addition to Arthurs helpful comment: It i s abetter idea to check the box to allow this action to work outside of a user account, and make it a higher priority bit. Also to understand that there are processes that run all the time within Windows 7, soscheduling this at 3AM - the default for Windows updates - is a bad idea. Also every Wednesday the defrag wants to run, as well as many tasks at 1AM on Sunday.
So I just set mine to 1:55AM so the reboot doesn't conflict with those and others. I tried this and it was helpful. For Windows 7 and above, this is a better solution since the task scheduler is so much more robust. In windows XP it may be better to write a batch file that is one line of using the shutdown.exe command, and then installthat bacth file (.bat) and call on it within task scheduler.One addition to Arthurs helpful comment: It i s abetter idea to check the box to allow this action to work outside of a user account, and make it a higher priority bit. Also to understand that there are processes that run all the time within Windows 7, soscheduling this at 3AM - the default for Windows updates - is a bad idea.
Also every Wednesday the defrag wants to run, as well as many tasks at 1AM on Sunday. So I just set mine to 1:55AM so the reboot doesn't conflict with those and others.
I have a python script that needs to be run after each reboot.All I know is that it will be installed on Windows OS, and that the oldest supported version will be XP.There might be some odd non consumer versions of Windows as well, like POS ready Embedded windows (or windows server. I'd like to have wide support for a lot of these versions of Windows.I am developing the script on Windows 7, and I'm using the Task Scheduler GUI right now for testing.I pull it up with the 'control schedtasks' command.My concern is that older version of Windows won't have this Task Scheduler GUI, or even the command version (schtasks).Does anybody know how long they've been bundled with the default installations of Windows?Would it be a good idea to bundle schtasks.exe? Would that even work?Are there any better alternatives to the solutions I've thought of?Any insight here would be highly appreciated. I'm a bit lost in the world of Windows.Thanks!
Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
March 2023
Categories |