Solved

Windows Update Batch Install

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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Every now and then, Microsoft does something that totally impresses me. It doesn't happen often, but in this case I must say I am thoroughly impressed with Windows Server Backup. One of the long time issues with Windows Backup has been the ability t…
This article explains how to install and use the NTBackup utility that comes with Windows Server.
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…
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 to another domain controller. Log onto the new domain controller with a user account t…

726 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