Solved

WUSA.EXE as a task to apply updates and reboot

Posted on 2014-03-20
6
893 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
[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
  • 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
Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

 
LVL 55

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 55

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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

Lync meeting or Lync conferencing is what many organizations would like to deploy to allow them save money. But companies are now giving up for various reasons, one of which is that they cannot join external meetings (non-federated company meetings)…
The System Center Operations Manager 2012, known as SCOM, is a part of the Microsoft system center product that provides the user with infrastructure monitoring and application performance monitoring. SCOM monitors:   Windows or UNIX/LinuxNetwo…
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
Suggested Courses

627 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