Solved

WUSA.EXE as a task to apply updates and reboot

Posted on 2014-03-20
6
768 Views
Last Modified: 2014-03-20
I have Windows 2008 r2 standard servers.  I have a group policy to download and wait on installing windows updates.   I want to schedule a task to apply the downloaded updates.

WUSA.EXE seems to be the ticket, but I was not sure exactly how I would tell it to apply all the windows updates and then reboot.   I need help on the syntax of the command to do this so that the command can be put into a scheduled task.
0
Comment
Question by:HCSHAW
  • 3
  • 2
6 Comments
 
LVL 13

Expert Comment

by:Santosh Gupta
ID: 39943051
Hi,

I am not sure why you are looking for command line. you can use local group policy to achieve this task with advance options.

Go to Run and type GPEDIT.MSC and explore --> Computer Configuration | Policies | Administrative Templates | Windows Components | Windows Update section.

See the attached Image

here you can configure Group Policy as you want.

After configuration,  close that console and run the "gpupdate /force" command in cmd

and you are good to go.
update
0
 

Author Comment

by:HCSHAW
ID: 39943326
Santosh, Thank you for your response. I am familiar with the group policy settings for windows update.  The issue is that I cannot have the server automatically reboot when updates have been downloaded.   There are other applications that are dependent on the server and get screwed up when the server decides to reboot on its own.  I want to control when the updates are applied.  To build a script to monitor and restart everything would be very tedious.  

I already have the windows update group policy set to download and wait.     I have been doing the applies as a manual process.  Generally once a month I run the updates and reboot, followed by reset/restarting the dependent applications.   If I know that I have a schedule apply/reboot tomorrow at 3, then at 6 I can logon and reset/restart the other applications.  The way I am doing it now, I have to apply and wait for the updates to complete.  Sometimes that can be a lengthy process.    Having the apply updates completed would save time.  That is why I am pursuing this solution of running it from the task scheduler.  However to do it, I need the  exact syntax for the command to apply all windows updates and reboot.  From what I see of the command, it appears I have to specify what updates to apply.   I really just want it to run all of them.  Do you have any ideas on the syntax to run all?
0
 

Author Comment

by:HCSHAW
ID: 39943377
Another consideration.   I can't really schedule it to happen at a certain time.  I need the reboot to work around my schedule so that I can be available for the reboot reset/restart other applications process.    

Concerning the file location, Im sure I can find where the update files are stored, but I havn't seen a way to say process all of them.
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 53

Expert Comment

by:McKnife
ID: 39943671
There is help: http://www.wuinstall.com/
Used to be freeware, if you like it (there is a trial of the professional version which you can download), I can upload the free version here, I still have it. Or you buy the pro.
0
 
LVL 53

Accepted Solution

by:
McKnife earned 500 total points
ID: 39943682
0
 

Author Closing Comment

by:HCSHAW
ID: 39943737
WUAUCLT looks like the tool I am looking for.  Thanks for the links and discussion.   I confirmed it is in W2008 Server R2.  I have not confirmed the options still exist but I am pretty sure they would not have dropped them.   As for using WSUS, I did for years, but it was a bear!.   I have decided to take my chances with the updates, and let every machine find its on updates.
0

Featured Post

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
DialogFileSummaryInfo for Powerpoint 10 82
MS Project 2013 - notes documentation 8 47
Concurrent Sessions 6 24
Doubt. 2 53
Hello, As I have seen there a lot of requests regarding monitoring and reporting for exchange 2007 / 2010 / 2013 I have decided to post some thoughts together and link to articles that have helped me. Of course a lot of information you can get…
Article by: Leon
Software Metering within our group of companies has always been an afterthought until auditing of software and licensing became a pain point. Orchestrator and SCCM metering gave us the answer and it was an exciting process.
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…

930 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

9 Experts available now in Live!

Get 1:1 Help Now