Shutdown Setting

HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer

Data typeRangeDefault value
REG_DWORD 1 | 2 | 4 | 8 | 10 | 20 | 40 | 80 2

Description

Specifies the shutdown setting.

Value Meaning
0x1 Log off. Ends your session, leaving the computer running on full power.
0x2 Shut down. Ends your session and shuts down Windows 2000 so that you can safely turn off power.
0x4 Restart. Ends your session, shuts down Windows 2000, and starts Windows 2000 again.
0x8 Restart in MS-DOS mode. Ends your session, shuts down Windows 2000, and starts MS-DOS mode. (Restart in MS-DOS mode is not available in Windows 2000)
0x10 Stand by. Maintains your session, keeping the computer running on low power with data still in memory. (This setting requires power management hardware support.)
0x20 Stand by (with wakeup events disabled). Maintains your session, keeping the computer running on low power with data still in memory. (This setting requires power management hardware support.)
0x40 Hibernate. Saves your session to disk so that you can safely turn off power. Your session is restored the next time you start Windows 2000.
0x80 Disconnect. Disconnects your session. You can reconnect to this session when you log on again. (Disconnect is available only in Terminal Server sessions.)
 

This value is maintained as the "last selection" for a given user. Windows 2000 writes this value whenever an option is selected from the shut down dialog.