script servers update and restart

i would like to automate install updates and restart for the servers on scheduled time (or initiate manually for all/groups) that are on GPO option 3 (download updates but let me install).

I found couple of discussions from year 2010 and there is a success after many suggestions. But it is a bit time consuming to follow all this. So, may there is a definite step by step guide.

August 24th, 2014 4:35pm

Hi

Personally servers should be restarted manually as you will have disruption. You also dont want your exchange server booting up before you DC as an example.

Clients you can force to restart.

Free Windows Admin Tool Kit Click here and download it now
August 24th, 2014 4:55pm

I am talking about the servers that will not cause any disruption.

1. All servers are on option GPO option 3 (download updates only).

2. In my case I talk about 15 hyper-v hosts with 2 VMs each (DC and Print server).

So I know that any time Saturday, Sunday or any night time will not cause any problem.

So instead of login to 15 HV hosts and then to 2 VMs on each for launching Windows update and restart I guess it is a valid option to run a script and get notification. The servers are generally HEALTHY so even in case of some error or non restart I can manage it after getting a notification.

I believe people using this scenario.

August 24th, 2014 5:43pm

Check out the command line tool WuInstall, we are using it for that purpose. (Documentation and download http://www.wuinstall.com) - you can script install of updates and have good control over reboot behavior (with the /rebootcycle option you can even continue install updates after the reboot is done)
  • Marked as answer by pob579 12 hours 26 minutes ago
Free Windows Admin Tool Kit Click here and download it now
April 17th, 2015 1:29pm

Thanks!

Will check it out.

My goal is:

when ready to install and restart servers (I mean to control after restart)

instead of connect to 20 servers, install and restart I guess it will be more efficient to do it from command...

and then monitor if they came back and check the status.

Big time saving...

April 17th, 2015 2:40pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics