+ Post New Thread
Results 1 to 1 of 1
Windows Thread, WSUS - How to push through all your WSUS updates from CMD line on demand in Technical; In case anyone is in a similar situation where I was recently where there was only a small timeframe to ...
  1. #1

    Join Date
    Aug 2007
    Posts
    811
    Thank Post
    98
    Thanked 64 Times in 46 Posts
    Rep Power
    25

    WSUS - How to push through all your WSUS updates from CMD line on demand

    In case anyone is in a similar situation where I was recently where there was only a small timeframe to roll out a vast number of Windows Updates and cant wait days for them to update each night according to schedule, below is a command line that will force them to look for updates, install them reboot, install updates.

    If you grab PStools and WUInstall you can use the command line below kick them all off. Put WUinstall.exe in netlogon.
    If you highlight all your computers needing an update and paste into excel, save the computer names only as a CSV (list.cvs)

    Code:
    psexec.exe @C:\pstools\list.csv -c -s - \\server\netlogon\WUInstall.exe /search /install /reboot_if_needed /rebootcycle 3
    It will run through each computer in the list forcing the updates, rebooting and updating.

    PS. I set the reboot cycle to 3 but if you have a huge number of updates this may need to be higher.

  2. 3 Thanks to burgemaster:

    Arcath (16th December 2013), plexer (16th December 2013), Valyyn (16th December 2013)

SHARE:
+ Post New Thread

Similar Threads

  1. [SIMS] SLG Assessment - How to avoid displaying ALL instances of an Aspect
    By A_Baboon_in_the_room in forum MIS Systems
    Replies: 2
    Last Post: 1st February 2011, 02:32 PM
  2. WSUS How to install and use????
    By ipconfig/HELP in forum Windows
    Replies: 33
    Last Post: 1st February 2011, 01:27 PM
  3. How to I make all Terminal 08 Sessions go via the TS Gateway
    By darknova in forum Windows Server 2008
    Replies: 0
    Last Post: 13th March 2008, 09:27 AM
  4. Replies: 16
    Last Post: 29th March 2006, 03:52 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •