Solved

Windows Update Batch Install

Posted on 2014-09-17
4
247 Views
Last Modified: 2014-09-22
Hello.

I have servers in our network scheduled to download and notify when ready to install updates.
Would you have a script or command line that would allow me to mass-launch the install and reboot them if necessary?

Thanks!
0
Comment
Question by:IDMA
  • 2
  • 2
4 Comments
 
LVL 29

Expert Comment

by:becraig
ID: 40328127
What is the size of your network ?

It might be worth it to look into WSUS for managing updates (depending on your size)

If not, you can look into wuinstall:

e.g.
\\share\share_path\psexec.exe @\\share\share_path\PCNames_List.txt -u domain\user -p P@ssw0rd -c -s -d \\share\share_path\wuInstall.exe /install /autoaccepteula /silent /reboot_if_needed /rebootcycle 3

Open in new window

http://techthoughts.jakemorrison.name/remotely-install-windows-updates/
0
 

Author Comment

by:IDMA
ID: 40329163
Thanks, becraig.
We do have a WSUS server but I have the policy for servers set to "Download updates but let me choose when to install them" because there are couple of them that need to be manually rebooted for business reasons.

I was wondering if there's a script or command to fire up the install and then reboot if necessary.
0
 
LVL 29

Accepted Solution

by:
becraig earned 500 total points
ID: 40329168
Wuinstall will do just what you need and for a minimal cost based on the size of your organization.


If you need something that does not have a cost attached then I can probably probe and see what's out there in terms of customized solutions.
0
 

Author Closing Comment

by:IDMA
ID: 40336602
I tried WuIntall and that seems to do the job pretty neatly.
On the WSUS console I just created a group of computers that I want to "force" the updates.  Then used the /targetgroup and /reboot_if_needed_force options.
The cost is not that much for the amount of time it saves.

Thanks, becraig.
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Resolve DNS query failed errors for Exchange
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
This tutorial will walk an individual through the process of configuring basic necessities in order to use the 2010 version of Data Protection Manager. These include storage, agents, and protection jobs. Launch Data Protection Manager from the deskt…
This tutorial will walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question