Schedule server reboot windows 2003




















Click next, and then finish. Your reboot has been scheduled. Just makes sure it works by manually running it once. One more thing…Subscribe to my newsletter and get 11 free network administrator tools, plus a 30 page user guide so you can get the most out of them. I tried exactly the steps you laid out for an automatic server reboot. Am I missing something? I second that, the script ran for a second and that was it.

I have remote logged into the machine which I intend to shutdown. Could you please help? This worked perfectly for me. Once saved, right-click and select Edit, if the quotes are not there, manually put them back where they belong. Get the Network Administrators tool pack Subscribe to our newsletter and get 11 free network administrator tools, plus a 30 page user guide so you can get the most out of them.

Improve this answer. Mark S. Rasmussen Mark S. Rasmussen 2, 2 2 gold badges 21 21 silver badges 29 29 bronze badges. Can the scheduled task delete itself when the task is done? Can't delete itself, but you can setup a one-time trigger so it'll only run once. If the task is scheduled to run once, there is a "delete this task if it is not scheduled to run again" checkbox under the Settings tab of the scheduled task properties window.

The scheduler will remove the task after it has run if not scheduled again. Not sure how that will work in the case of a server reboot, though it is theoretically possible. The delay value can be up to 10 years. But since it is expressed in seconds, having a very long delay calls for a bit of calculus. Matias Nino Matias Nino 1, 7 7 gold badges 25 25 silver badges 40 40 bronze badges.

Apparently this has been deprecated in Server — Matias Nino. Eg, to restart in 12 hrs or seconds : shutdown -r -t Obviously to get a specific time you'll need some simple maths but it's a lot easier than messing around with scheduled tasks.

Molomby Molomby 1 1 silver badge 7 7 bronze badges. Is it possible without script logging or similar to get the state of such a command after it has been issued? That the time remaining until reboot is 3hrs, for instance? ErikE, The only way I know if is to issue to shutdown -a command which aborts the current shutdown. If no shutdown was scheduled, you'll get an error instead. I don't think it tells you when it was scheduled for though, and if you actually did want a shutdown you'll need to recreate it Step 2: Create a new task.

Step 3: Follow the Scheduled Task Wizard. Step 4: Select the program to run. Step 5: Select the Frequency. Step 6: Select the time and day you want the task to start. This can be once a week at 3 AM or every Wednesady and Friday nights. Step 7: Enter the username and password for a user. Step 8: You have successfuly scheduled the following task.

Step 9: Advanced Options. Jackson Mar 23, at pm. Steve Mar 30, at am. Or you could type something like the following at the command prompt. You can check for tasks quickly by typing "at" in the cmd prompt. Bruce Mar 2, at am. RumRaisin Sep 9, at pm. PolarPeter Dec 4, at pm. Never mind. I used pstools and psshutdown -r works for me. Thai Pepper. AdamM Sep 13, at pm. Thanks for this Works great. Aleksey Nov 8, at pm.



0コメント

  • 1000 / 1000