| 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 Specs |
| System Manufacturer/Model Number HP Pavilion dv7 OS Windows 7 CPU Core i7 Memory 8 GB Graphics Card ATI FireGL Monitor(s) Displays Secondary is an HP L1940T Screen Resolution 1680x1050 Keyboard G11 Logitech Mouse G7 Logitech Hard Drives 160 GB SSD and 500 GB SATA Internet Speed Fiber Other Info My rig smegging rules! System Manufacturer/Model Number HP Pavilion dv7 OS Windows 7 CPU Core i7 Memory 8 GB Graphics Card ATI FireGL Monitor(s) Displays Secondary is an HP L1940T Screen Resolution 1680x1050 Keyboard G11 Logitech Mouse G7 Logitech Hard Drives 160 GB SSD and 500 GB SATA Internet Speed Fiber Other Info My rig smegging rules! |
30 Jan 2012
|
#3 | | Windows 7 Ultimate SP1 64-Bit Peterborough, England |
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 Specs | | System Manufacturer/Model Number HP Pavilion Elite 495UK OS Windows 7 Ultimate SP1 64-Bit CPU Intel Core i7 870 @ 2.93GHz Motherboard MSI 2A9C (CPU1) Memory 8Gb Dual-Channel DDR3 @ 664MHz Graphics Card nVidia GeForce GTX 460 1024MB dedicated RAM Sound Card Realtek HD Audio Monitor(s) Displays HP2310i Screen Resolution 1920 x 1080 Keyboard Logitech K750 solar-powered keyboard Mouse Logitech Wireless M180 mouse PSU 460W Case HP Elite Cooling Air cooled Hard Drives 1x1954GB Hitachi HDS22020ALA 330 (RAID), 1x1954GB Hitachi External for backup and storage Internet Speed 2Mb Other Info Pure Avanti Flow Internet Radio with iPod Dock, 64Gb iPod, HP USB Speakers, Sony MDR-V500 Headphones, Sony Vaio F-Series Laptop |
30 Jan 2012
|
#4 | | |
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 Specs | | System Manufacturer/Model Number HP Pavilion dv7 OS Windows 7 CPU Core i7 Memory 8 GB Graphics Card ATI FireGL Monitor(s) Displays Secondary is an HP L1940T Screen Resolution 1680x1050 Keyboard G11 Logitech Mouse G7 Logitech Hard Drives 160 GB SSD and 500 GB SATA Internet Speed Fiber Other Info My rig smegging rules! |
30 Jan 2012
|
#5 | | Windows 7 Ultimate SP1 64-Bit Peterborough, England |
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 Specs | | System Manufacturer/Model Number HP Pavilion Elite 495UK OS Windows 7 Ultimate SP1 64-Bit CPU Intel Core i7 870 @ 2.93GHz Motherboard MSI 2A9C (CPU1) Memory 8Gb Dual-Channel DDR3 @ 664MHz Graphics Card nVidia GeForce GTX 460 1024MB dedicated RAM Sound Card Realtek HD Audio Monitor(s) Displays HP2310i Screen Resolution 1920 x 1080 Keyboard Logitech K750 solar-powered keyboard Mouse Logitech Wireless M180 mouse PSU 460W Case HP Elite Cooling Air cooled Hard Drives 1x1954GB Hitachi HDS22020ALA 330 (RAID), 1x1954GB Hitachi External for backup and storage Internet Speed 2Mb Other Info Pure Avanti Flow Internet Radio with iPod Dock, 64Gb iPod, HP USB Speakers, Sony MDR-V500 Headphones, Sony Vaio F-Series Laptop |
30 Jan 2012
|
#6 | | |

Quote: Originally Posted by seavixen32 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 Specs | | System Manufacturer/Model Number HP Pavilion dv7 OS Windows 7 CPU Core i7 Memory 8 GB Graphics Card ATI FireGL Monitor(s) Displays Secondary is an HP L1940T Screen Resolution 1680x1050 Keyboard G11 Logitech Mouse G7 Logitech Hard Drives 160 GB SSD and 500 GB SATA Internet Speed Fiber Other Info My rig smegging rules! |
30 Jan 2012
|
#7 | | Windows 7 Ultimate SP1 64-Bit Peterborough, England |
When I type in Help, I get this:
When I type in Shutdown I get this:
That's about the limit of my expertise on this one, so I'm hoping someone else will chip in. | My System Specs | | System Manufacturer/Model Number HP Pavilion Elite 495UK OS Windows 7 Ultimate SP1 64-Bit CPU Intel Core i7 870 @ 2.93GHz Motherboard MSI 2A9C (CPU1) Memory 8Gb Dual-Channel DDR3 @ 664MHz Graphics Card nVidia GeForce GTX 460 1024MB dedicated RAM Sound Card Realtek HD Audio Monitor(s) Displays HP2310i Screen Resolution 1920 x 1080 Keyboard Logitech K750 solar-powered keyboard Mouse Logitech Wireless M180 mouse PSU 460W Case HP Elite Cooling Air cooled Hard Drives 1x1954GB Hitachi HDS22020ALA 330 (RAID), 1x1954GB Hitachi External for backup and storage Internet Speed 2Mb Other Info Pure Avanti Flow Internet Radio with iPod Dock, 64Gb iPod, HP USB Speakers, Sony MDR-V500 Headphones, Sony Vaio F-Series Laptop |
30 Jan 2012
|
#8 | | Windows 7 Home Premium 32bits S.E. Okla. |
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 Specs | | System Manufacturer/Model Number Dell Dimension E510 OS Windows 7 Home Premium 32bits CPU Intel Pentium 4 521 Motherboard Dell Inc. ORD203 Memory DDR2 4096MBytes Graphics Card ATI Radeon HD 2400 Series Sound Card On-Board Sigma Tel High Definition Audio Monitor(s) Displays Dell ST2210 1920x1080x60 hertz PSU Antec 430 Watts Case Dell Cooling Standard Fans Hard Drives 320 SATA
500 SATA |
31 Jan 2012
|
#9 | | Windows 7 Ultimate AMD64 Sydney, Nova Scotia |
| My System Specs | | Computer type PC/Desktop System Manufacturer/Model Number Home Built OS Windows 7 Ultimate AMD64 CPU AMD Phenom II X4 980 Black Edition Deneb 3.7GHz Motherboard Asus M4N68T-M V2 µATX Motherboard Memory 8GB 4GBx2 Kingston PC10600 DDR3 1333 Memory Graphics Card BFG NVIDIA Geforce 220GT 1 Gig DDR2 PCIe Sound Card VIA VT1708s High Definition Audio 8-channel Onboard Monitor(s) Displays 2 x 19" I-INC AG191D TFT Flat Panel Screen Resolution 1280x1024 x 2 Keyboard Logitech Internet 600 Mouse Logitech Wireless Trackman Wheel PSU Retail Plus 465 Watt Case Power Up Black ATX Mid-Tower Case Cooling Stock heatsink and fan Hard Drives 500 Gig WesternDigital SATA-300 Drive Internet Speed 80 Mbps Down 30 Mbps Up Antivirus Microsoft Security Essentials Browser Internet Explorer 10 Other Info HP DVD1040e Lightscribe - External USB2 |
31 Jan 2012
|
#10 | | Windows 7 Ultimate SP1 64-Bit Peterborough, England |

Quote: Originally Posted by alphanumeric 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 Specs | | System Manufacturer/Model Number HP Pavilion Elite 495UK OS Windows 7 Ultimate SP1 64-Bit CPU Intel Core i7 870 @ 2.93GHz Motherboard MSI 2A9C (CPU1) Memory 8Gb Dual-Channel DDR3 @ 664MHz Graphics Card nVidia GeForce GTX 460 1024MB dedicated RAM Sound Card Realtek HD Audio Monitor(s) Displays HP2310i Screen Resolution 1920 x 1080 Keyboard Logitech K750 solar-powered keyboard Mouse Logitech Wireless M180 mouse PSU 460W Case HP Elite Cooling Air cooled Hard Drives 1x1954GB Hitachi HDS22020ALA 330 (RAID), 1x1954GB Hitachi External for backup and storage Internet Speed 2Mb Other Info Pure Avanti Flow Internet Radio with iPod Dock, 64Gb iPod, HP USB Speakers, Sony MDR-V500 Headphones, Sony Vaio F-Series Laptop How to shutdown and apply updates via DOS command problems? All times are GMT -5. The time now is 04:51 PM. | |