Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide 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


30 Jan 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
.

30 Jan 2012   #2

 
 

anyone?
My System SpecsSystem Spec
30 Jan 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
.


30 Jan 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
30 Jan 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
30 Jan 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
30 Jan 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
30 Jan 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
31 Jan 2012   #9
Microsoft MVP

Windows 8.1 Pro with Media Center 64 bit
 
 

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
31 Jan 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




Thread Tools



Similar help and support threads for2: How to shutdown and apply updates via DOS command
Thread Forum
Unable to search/apply updates for Windows 7 - 32 Bits General Discussion
How do you apply a folder's view settings and apply it to ALL others Customization
Command Prompt Shutdown problem Network & Sharing
Shutdown command problem General Discussion
Shutdown Command and Remote Desktop Network & Sharing
Shutdown command in DOS for delayed hibernation Software
Apply updates Installation & Setup

Our Sites

Site Links

About Us

Find 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 07:51 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

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 31 32 33