Hardware

Tech Tip: Disable the Log Off and Turn Off Computer buttons

Do you support users who, regardless of what you tell them, insist on logging off or shutting down public computers in common areas? If so, you'll be glad to know that you can disable the Log Off and Turn Off Computer buttons on the Start menu.

Follow these steps:

  1. Open the Registry Editor (Regedit.exe).
  2. Navigate to HKEY_CURRENT_USER\
    SOFTWARE\Microsoft\ Windows\CurrentVersion\
    Policies\Explorer.
  3. Right-click the Explorer key,
    and select New | DWORD value.
  4. Name the value StartMenuLogoff, and press [Enter] twice to access the Edit DWORD Value dialog box.
  5. Type 1 in the Value Data text box, and click OK.
  6. Right-click the Explorer key, and select New | DWORD value.
  7. Name the value NoClose, and press [Enter] twice to access the Edit DWORD Value dialog box.
  8. Type 1 in the Value Data text box, and click OK.
  9. Close the Registry Editor.

At this point, both the Log Off and Turn Off Computer buttons are still on the Start menu, so click the Log Off button and then log back on.

When you need to shut down the computer, launch the Registry Editor, and change the values to 0.

Note: Editing the registry is risky, so be sure you have a verified backup before saving any changes.

Editor's Picks