More

Monday, 29 June 2020

Hijacking shutdown button

As an avid user of the Sleep function on my laptop, I’ve been more than irritated with Windows 7 or Vista’s habit of changing the Sleep/Shutdown button into an “Install Updates and Shut Down” button whenever there are updates from Windows Update.
After the last time I accidentally clicked this stupid button when I just wanted to enter sleep mode, I decided to look for a solution.
image
Update: Windows 7 does the same thing to my Shutdown button, and this same registry hack fixes the problem.

Manual Registry Hack
If you’d like to manually create this hack, you can open up regedit.exe using the start menu search box and then browse down to the following key, creating the key if it doesn’t exist.
HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\WindowsUpdate\AU
image
Add a 32-bit DWORD value called NoAUAsDefaultShutdownOption with a value of 1. No reboot should be necessary.
Now our Sleep button should be back to the way it was, but if you wanted to use the Install Updates and Shut Down option, it’s still available via the shutdown menu:
imageenjoy it

No comments:

Post a Comment