Solved

Windows Update Batch Install

Posted on 2014-09-17
4
238 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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

Understanding the various editions available is vital when you decide to purchase Windows Server 2012. You need to have a basic understanding of the features and limitations in each edition in order to make a well-informed decision that best suits y…
What to do when Windows Update is not working correctly? What tools can I use to detect the cause of the malfunction problem? What does this numeric error code mean? These and other questions that you have been asking in the past are answered here (…
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…
This tutorial will walk an individual through the process of installing of Data Protection Manager on a server running Windows Server 2012 R2, including the prerequisites. Microsoft .Net 3.5 is required. To install this feature, go to Server Manager…

910 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now