Shut down Windows in an instant
04-13-2008, 11:47 AM
|
#1 (permalink)
|
Status: Pro Loophole Member Join Date: Apr 2008 Posts: 291
Thanks: 4
Thanked 29 Times in 21 Posts
Nominated 13 Times in 6 Posts TOTW/F/M Award(s): 0 | Shut down Windows in an instant Shut down Windows in an instant
The other evening I turned off my Windows XP system and busied myself with other matters, only to find the machine churning away several minutes later as it worked through its shutdown process. I could've understood the delay if it were installing updates, or even if some program or service had hung the system. But this was a typical PC shutdown, and it was taking forever.
"There's gotta be a better way," I thought, and after doing a little research, I found a bunch of Registry tweaks that reset Windows to close shop like it's late for the bus ride home. Keep in mind, any changes to the Registry can be troublesome, so you may want to make these alterations one or two at a time just to make sure they don't futz up the works (it'll also be easier to diagnose any problems that may arise). And for sure back up the Registry by creating a restore point before you begin. Kill your apps
Some programs just don't know how to say goodbye. To speed up force-closing them at shutdown, open the Registry Editor (in Vista, press the Windows key, type regedit, and press Enter; in XP, click Start > Run, type regedit, and press Enter), and navigate in the left pane to HKEY_CURRENT_USER/Control Panel/desktop (or Desktop). Double-click WaitToKillAppTimeout in the right pane, and change the value data (measured in milliseconds) to 1000-if you're in a real hurry--or something larger, if you want to give your recalcitrant apps a little more time to call it quits. Click OK when you're done.
Use this Registry key to reduce the number of milliseconds you want Windows to wait before killing apps at shutdown.
To reduce the wait before forcing hung applications to close, double-click HungAppTimeout in the right pane of the same key, and change the value data to 2000, or however many milliseconds you want to give the apps to unhang on their own. Of course, a better approach is to figure out why the app is hanging in the first place; I'll cover diagnosing hung applications in a future post: Stay tuned!
You may also want to change the value data of WaitToKillAppTimeout and HungAppTimeout in HKEY_USERS/.DEFAULT/Control Panel/Desktop key to apply the changes to all users on the system. Clip your running tasks and services
There's another Registry key that automatically ends running tasks at shutdown. Navigate to HKEY_CURRENT_USER/Control Panel/Desktop, double-click AutoEndTasks in the right pane, and change the value data to 1. Now to whack your slow-ending services, go to HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Control, double-click WaitToKillServiceTimeout in the right pane, change the value to 1000, and click OK.
Some people will tell you that you can speed up shutdowns by telling Windows not to clear the pagefile when it closes. Unfortunately, this could compromise your system security because sensitive data may be stored in the file unencrypted. There's even some question about whether disabling this setting will save you any time at shutdown. For me, the possibility of saving a couple of seconds on shutdown isn't worth the risk. That's why I recommend that you leave the ClearPageFileAtShutdown value at HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Control/SessionManager/Memory Management at 1.
Some Vista systems (including mine) don't have all the Registry key entries described above. To add a missing entry, right-click in the right pane of its key, choose New > String Value, type the name, such as AutoEndTasks, double-click the new entry, add its value data (1 in the case of AutoEndTasks), and click OK.
__________________ . |
| | | The Following User Says Thank You to Soulio For This Useful Post: | |
04-14-2008, 08:50 AM
|
#2 (permalink)
|
Status: Moderator Join Date: Jan 2008 Posts: 2,018
Thanks: 53
Thanked 31 Times in 25 Posts
Nominated 19 Times in 13 Posts TOTW/F/M Award(s): 0 | Re: Shut down Windows in an instant cheers for the post, i think tripleeagle posted a similar one for shutting down your system in 5 seconds. search next time. peace |
| |
04-14-2008, 09:36 AM
|
#3 (permalink)
|
Status: Pro Loophole Member Join Date: Apr 2008 Posts: 291
Thanks: 4
Thanked 29 Times in 21 Posts
Nominated 13 Times in 6 Posts TOTW/F/M Award(s): 0 | Re: Shut down Windows in an instant Yeh i saw it but thats nothing like this. Its a completely different trick.
This is just basicly getting rid of unwanted/un-needed programs so when you shut down normaly it doesn't take half as long.
The other trick just shuts the computer down.
__________________ . |
| |
04-14-2008, 09:45 AM
|
#4 (permalink)
|
Status: Moderator Join Date: Jan 2008 Posts: 2,018
Thanks: 53
Thanked 31 Times in 25 Posts
Nominated 19 Times in 13 Posts TOTW/F/M Award(s): 0 | Re: Shut down Windows in an instant yeah i just noticed, i skimmed it first, then posted then read it properly. Bit silly if anyfink, peace |
| |
04-14-2008, 09:51 AM
|
#5 (permalink)
|
Status: Pro Loophole Member Join Date: Apr 2008 Posts: 291
Thanks: 4
Thanked 29 Times in 21 Posts
Nominated 13 Times in 6 Posts TOTW/F/M Award(s): 0 | Re: Shut down Windows in an instant Its ok. I understand you dont want duplicates all over the site but it is completely different.
Peace man!!
__________________ . |
| |
04-19-2008, 09:54 PM
|
#6 (permalink)
|
Status: Member Join Date: Feb 2008 Posts: 74
Thanks: 3
Thanked 4 Times in 4 Posts
Nominated 0 Times in 0 Posts TOTW/F/M Award(s): 0 | Re: Shut down Windows in an instant Thanks, it worked. |
| |
04-21-2008, 05:05 PM
|
#7 (permalink)
|
Status: Moderator Join Date: Jan 2008 Posts: 2,018
Thanks: 53
Thanked 31 Times in 25 Posts
Nominated 19 Times in 13 Posts TOTW/F/M Award(s): 0 | Re: Shut down Windows in an instant naa dont turn off any switch to turn your computer off. That's like punching your mum in the face in terms of damage. Peace |
| |
04-21-2008, 06:40 PM
|
#8 (permalink)
|
Status: Pro Loophole Member Join Date: Apr 2008 Posts: 291
Thanks: 4
Thanked 29 Times in 21 Posts
Nominated 13 Times in 6 Posts TOTW/F/M Award(s): 0 | Re: Shut down Windows in an instant I once accidently dropkicked my mum on the back of the head when i was messin about on the stairs and believe me, turnin your computer off by the swith aint half as bad
It will still damage your computer though
ps. Sorry Mum
__________________ . |
| |
05-08-2008, 05:54 AM
|
#9 (permalink)
|
Status: Junior Member Join Date: May 2008 Location: Egypt-Giza-Dokki. Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Nominated 0 Times in 0 Posts TOTW/F/M Award(s): 0 | Re: Shut down Windows in an instant Thank you very much. |
| |
05-08-2008, 07:30 PM
|
#10 (permalink)
|
Status: Moderator Join Date: Mar 2008 Location: London Posts: 4,024
Thanks: 13
Thanked 147 Times in 95 Posts
Nominated 32 Times in 11 Posts  TOTW/F/M Award(s): 4 Points: 18,655, Level: 94 | | Re: Shut down Windows in an instant Excellent post - nice story aswell ^^ |
| |  | | | Thread Tools | | | | Display Modes | Linear Mode |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | | » Sponsors | | | » Most Recent CashLoopholes Activity | | | | | | | | | | | | | | | | | | | | | |