How to Disable LogOff and TurnOff Buttons in Start Menu
Follow these Steps to Disable the LogOff and TurnOff Buttons on your Start Menu:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\Explorer]
"NoClose"=dword:00000001
"StartMenuLogoff"=dword:00000001
- Open the Registry Editor (Regedit.exe).
- Navigate to HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer
- Disable the Log Off Button
- Right-click the Explorer key, and select New >> DWORD value.
- Name the value StartMenuLogoff, and press Enter twice to access the Edit DWORD Value dialog box.
- Type 1 in the Value Data text box, and click OK.
- Disable the Power Off button
- Right-click the Explorer key, and select New >> DWORD value.
- Name the value NoClose, and press Enter twice to access the Edit DWORD Value dialog box.
- Type 1 in the Value Data text box, and click OK.
- Disable the Log Off Button
- Close the Registry Editor.
- Or Instead of Above Steps, Paste the Following in Notepad and save as Buttons.reg
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\Explorer]
"NoClose"=dword:00000001
"StartMenuLogoff"=dword:00000001
Now Open the Buttons.reg
- At this point, both the Log Off and Turn Off Computer buttons are still on the Start menu.
- Restart you computer and Done.
- When you need these buttons back, launch the Registry Editor, and change the values to 0 or delete the values. You can also shutdown your computer by pressing your cpu power button once. Or you can also use shutdown command.
Comments
Post a Comment