Link to home
Start Free TrialLog in
Avatar of LTWadmin
LTWadminFlag for United States of America

asked on

Automatic Reboot Script Question

Will a batch file set to run a similar command to the one below and set to trigger by the schedular potentially trigger if a Microsoft update is in progress on a 2003 Server?

C:\
cd\xyz
shutdown.exe /r
ASKER CERTIFIED SOLUTION
Avatar of Joseph Daly
Joseph Daly
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of LTWadmin

ASKER

Jeez....  So is there any way to avoid what would likely be a catastrophy during an update?  Or are Microsoft's updates "smart" in the sense that they don't actually "install" until download complete?

Thanks for your response BTW...
It depends on how you are getting the updates and you have them configured. If you have the option for download and install at a specific time set you should be ok as long as your not rebooting during that time frame.
You can configure the behavior of Automatic Updates using Group Policy.

Rebooting while updates are downloading is no big deal; it will pick up where it left off.  Rebooting while they're installing could cause problems.

If you use the "Auto download and schedule the                                install" option, make sure that your auto-reboot script does not run at the same time.
Well if he is going to be setting up the GPO for the automatic updates, wont the automatic download and install automatically reboot the machine if necessary?

That is the same option I have configured for my XP machines through WSUS and they reboot on their on when necessary.
That is one of the configurable options.  If any of the updates require a reboot then it will by default unless No auto-restart for scheduled Automatic Updates installations is enabled.
Thats what I was thinking. Cool.
Thanks!