Solved

Windows Update Batch Install

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

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 28

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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

OfficeMate Freezes on login or does not load after login credentials are input.
The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…

743 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

11 Experts available now in Live!

Get 1:1 Help Now