Registry Home > Windows > Startup and Shutdown

Change the Log Off and Shutdown Settings (Windows NT/2000) Popular

These settings control what action the system should take when the Log Off and Shutdown commands are used.

This tweak can be easily applied using WinGuides Tweak Manager.
Download a free trial now!

Open your registry and find or create the key below.

Create or modify the two DWORD values called "LogoffSetting" and "ShutdownSetting" according the values from the list below.

  • 0 - Log Off
  • 1 - Shutdown
  • 2 - Shutdown and Restart
  • 3 - Shutdown and Power Off

Log off or restart Windows for the changes to take effect.

Note: Power off is only available when supported by the system BIOS and hardware.

Registry Editor Example
|(Default)REG_SZ(value not set)|
|LogoffSettingREG_DWORD0x00000000 (0)|
|ShutdownSettingREG_DWORD0x00000001 (1)|
|HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersi...|
Registry Settings
User Key: [HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Shutdown]
Value Name: LogoffSetting, ShutdownSetting
Data Type: REG_DWORD (DWORD Value)

>> Recommended Download - check, repair and optimize your registry now with Registry Mechanic <<

Disclaimer: Modifying the registry can cause serious problems that may require you to reinstall your operating system. We cannot guarantee that problems resulting from modifications to the registry can be solved. Use the information provided at your own risk.

Last modified: September 2, 2002