Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have 10 application servers all running Windows Server 2008 R2 Standard, company security policies have disabled automatic install of windows update packages but I am still a local administrator on all those servers and I would like to automate the execution of windows update check, install all what available and reboot.

it should be safe to do it because all these servers are just for DEV, INT and QA environments and if I could script/automate this I would not need manual RDP login to all 10 machines to run this update/reboot manually.

any idea? thanks :)

share|improve this question
up vote 4 down vote accepted

You'll need to see if it's possible to get a different policy applied to your group of servers. Even with something like WSUS which Robin mentions, you won't be able to control any of your servers update schedules unless you can replace the group policy settings that apply to them.

share|improve this answer

Look at WSUS

share|improve this answer
This won't solve the problem if he can't override the policy that is currently setting the Windows Update options. – Chris McKeown Jul 13 '12 at 13:02
@ Chris McKeown - Very true - I had a dozy moment where I thought the policies preventing the updates were procedural policies for people to comply with rather than GPO. Off to beat my self with the biggest stick I can find! – Robin Gill Jul 13 '12 at 14:02

i use this script to force installation of wsus updates:

execute this scripts via psexec on the servers and save yourself an hour every month.

share|improve this answer
The link is dead. – nu everest Feb 11 at 17:31

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.