Windows 7 Forums Search
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows 7. The Windows 7 forum also covers news and updates and has an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7 - How to shutdown and apply updates via DOS command

 
01-30-2012   #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 System SpecsSystem Spec
01-30-2012   #2


 
 


anyone?
My System SpecsSystem Spec
01-30-2012   #3


Windows 7 Ultimate SP1 64-Bit
 
 


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 System SpecsSystem Spec
.


01-30-2012   #4


 
 


Quote   Quote: Originally Posted by seavixen32 View Post
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 System SpecsSystem Spec
01-30-2012   #5


Windows 7 Ultimate SP1 64-Bit
 
 


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 System SpecsSystem Spec
01-30-2012   #6


 
 


Quote   Quote: Originally Posted by seavixen32 View Post
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 System SpecsSystem Spec
01-30-2012   #7


Windows 7 Ultimate SP1 64-Bit
 
 


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 System SpecsSystem Spec
01-30-2012   #8
TJG


Windows 7 Home Premium 32bits
 
 


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

TJG
My System SpecsSystem Spec
01-31-2012   #9


Windows 7 Ultimate AMD64
 
 


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 System SpecsSystem Spec
01-31-2012   #10


Windows 7 Ultimate SP1 64-Bit
 
 


Quote   Quote: Originally Posted by alphanumeric View Post
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 System SpecsSystem Spec
Reply

 How to shutdown and apply updates via DOS command problems?



Thread Tools



Similar Threads for: How to shutdown and apply updates via DOS command
Thread Forum
Command Prompt Shutdown problem Network & Sharing
Shutdown command problem General Discussion
Shutdown command in DOS for delayed hibernation Software
Apply updates Installation & Setup
Pinning from other drive? Command on shutdown? Software


All times are GMT -5. The time now is 03:37 AM.



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
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30