How to shutdown and apply updates via DOS command

Page 1 of 2 12 LastLast

  1. Posts : 369
    Windows 7
       #1

    How to shutdown and apply updates via DOS command


    I am having a hard time finding an answer to this on the forums and the net in general. If I goto Start/Shutdown, and there is the exclamation mark on it, it will apply any updates and shutdown the computer. Simple Enough right?

    Well, I want to know what are the DOS commands to do such a thing in Windows 7? I have tried the shutdown.exe /s command and that shuts down the computer, but doesn't apply any pending updates.

    I do not have a GPO that is overriding this. I've looked and it's not configured.


    Any help is appreciated.
      My Computer


  2. Posts : 369
    Windows 7
    Thread Starter
       #2

    anyone?
      My Computer


  3. Posts : 7,730
    Windows 7 Ultimate SP1 64-Bit
       #3

    Open a command prompt with elevated privileges then type help at the prompt for a list of commands available.

    As for doing exactly what you are suggesting I just don't know - perhaps a DOS expert may come up with a solution.

    You might find this useful: http://pcsupport.about.com/od/comman...s-commands.htm

    More info here: http://en.wikipedia.org/wiki/List_of_MS-DOS_commands
      My Computer


  4. Posts : 369
    Windows 7
    Thread Starter
       #4

    seavixen32 said:
    Open a command prompt with elevated privileges then type help at the prompt for a list of commands available.

    As for doing exactly what you are suggesting I just don't know - perhaps a DOS expert may come up with a solution.

    You might find this useful: Complete List of DOS Commands (MS-DOS Commands)

    More info here: List of MS-DOS commands - Wikipedia, the free encyclopedia
    Sorry but I have typed in that help command in DOS and when I try to follow the syntax, it's still not working.
      My Computer


  5. Posts : 7,730
    Windows 7 Ultimate SP1 64-Bit
       #5

    You need to open the command prompt window with elevated privileges first.

    Click Start, type cmd in the Search field, and then right-click cmd under Programs and choose Run as Administrator.
      My Computer


  6. Posts : 369
    Windows 7
    Thread Starter
       #6

    seavixen32 said:
    You need to open the command prompt window with elevated privileges first.

    Click Start, type cmd in the Search field, and then right-click cmd under Programs and choose Run as Administrator.
    I am the domain administrator on my domain admin machine.
      My Computer


  7. Posts : 7,730
    Windows 7 Ultimate SP1 64-Bit
       #7

    When I type in Help, I get this:

    How to shutdown and apply updates via DOS command-help.jpg

    When I type in Shutdown I get this:

    How to shutdown and apply updates via DOS command-help2.jpg

    That's about the limit of my expertise on this one, so I'm hoping someone else will chip in.
      My Computer


  8. TJG
    Posts : 77
    Windows 7 Home Premium 32bits
       #8

    When Windows 7 updates during start/shutdown, it is NOT in DOS but still in windows enviroment with most things shut down.

    TJG :)
      My Computer


  9. Posts : 4,466
    Windows 10 Education 64 bit
       #9

    This may sound nit picky, but it is NOT DOS, its a command shell. Windows 98 was the last version of Windows based on MS DOS. Sorry, its just one of my pet peeves. :)
      My Computer


  10. Posts : 7,730
    Windows 7 Ultimate SP1 64-Bit
       #10

    alphanumeric said:
    This may sound nit picky, but it is NOT DOS, its a command shell. Windows 98 was the last version of Windows based on MS DOS. Sorry, its just one of my pet peeves. :)
    You're quite right of course.

    As for being nit picky, I'm just the same myself, so thanks for pointing this out. :)
      My Computer


 
Page 1 of 2 12 LastLast

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 21:44.
Find Us