+ Post New Thread
Results 1 to 2 of 2
Windows 7 Thread, Auto shutdown with update? GPO / script? in Technical; I'm under the impression that it isn't possible to install Windows Updates using the shutdown command, and a little Googling ...
  1. #1

    Join Date
    Nov 2013
    Location
    Surrey
    Posts
    14
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Auto shutdown with update? GPO / script?

    I'm under the impression that it isn't possible to install Windows Updates using the shutdown command, and a little Googling seems to confirm this.

    I've been using this as our shutdown policy for several months: %WinDir%\System32\shutdown.exe /s /t 90 /d p:04:01. Works perfectly for just shutting down machines at the end of the school day, but the updates being rolled out by our WSUS server every Thursday at 16:00 are not installing on shutdown. We do get the odd report of a PC taking forever to boot up at the beginning of a lesson because someone the lesson before shut it down manually after finishing using it and when it's turned back on it wants to finish installing 19 updates.

    I'm guessing I'll have to get a little creative with this, so here I am fishing for advice. VBS or PS scripts? Any tips?

  2. #2
    ADMaster's Avatar
    Join Date
    May 2012
    Posts
    339
    Thank Post
    5
    Thanked 36 Times in 31 Posts
    Rep Power
    24
    I used to use this scrip Windows Update Agent force script, email results version 2.6 - Script Center - Spiceworks by Rob Dunn. I hard coded in all the options I needed so I didnít have to pass any parameters.

    You could try calling this script before the shutdown, or schedule a separate task and call it before so it has time to pull the updates.

    Cheers.

SHARE:
+ Post New Thread

Similar Threads

  1. Replies: 10
    Last Post: 19th August 2009, 10:18 PM
  2. Replies: 7
    Last Post: 10th July 2009, 06:43 PM
  3. Help with drive mapping script edit
    By Andie in forum Scripts
    Replies: 2
    Last Post: 6th October 2008, 09:05 AM
  4. Auto Login with a windows account
    By timbo343 in forum Windows
    Replies: 10
    Last Post: 7th November 2007, 03:44 PM
  5. UPS auto shutdown
    By adamyoung in forum How do you do....it?
    Replies: 14
    Last Post: 4th July 2007, 09:50 AM

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
  •