Solved

WUSA.EXE as a task to apply updates and reboot

Posted on 2014-03-20
6
773 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
U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

 
LVL 54

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 54

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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

The canonical version of this article is on my web site here: http://iconoun.com/articles/collisions/ A companion presentation is available here: http://iconoun.com/articles/collisions/Unicode_Presentation.pdf
If, like me, you have a lot of Dell servers in the estate you manage this article should save you a little time. When attempting to login to iDrac on any server I would be presented with two errors. The first reads "Do you want to run this applicati…
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…

810 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