Solved

Windows Update Batch Install

Posted on 2014-09-17
4
254 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free eBook: Backup on AWS

Everything you need to know about backup and disaster recovery with AWS, for FREE!

Question has a verified solution.

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

Background Information Recently I have fixed file server permission issues for one of my client. The client has 1800 users and one Windows Server 2008 R2 domain joined file server with 12 TB of data, 250+ shared folders and the folder structure i…
The reason that corporations and businesses use Windows servers is because it supports custom modifications to adapt to the business and what it needs. Most individual users won’t need such powerful options. Here I’ll explain how you can enable Wind…
This tutorial will give a short introduction and overview of Backup Exec 2012 and how to navigate and perform basic functions. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as conne…
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…

718 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