Shutdown Setting

HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer

Data type

Range

Default value

REG_DWORD

0x1 | 0x2 | 0x4 | 0x8 | 0x10 | 0x20 | 0x40 | 0x80

0x2

Description

Determines how the system interprets a command to shut down the system.

This entry stores the setting selected most recently from the list on the Shut Down Windows dialog box. This setting is displayed as the default the next time the dialog box appears.

Value

Meaning

0x1

Log off. Ends the session, leaving the computer running on full power.

0x2

Shut down. Ends the session and shuts down Windows 2000 so that the power can be turned off safely.

0x4

Restart. Ends the session, shuts down Windows 2000, and starts Windows 2000 again.

0x8

Restart in MS-DOS mode. (Not available in Windows 2000.)

0x10

Stand by. Maintains the 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 the session, keeping the computer running on low power with data still in memory. (This setting requires power management hardware support.)

0x40

Hibernate. Saves the session to disk so that the power can be turned off safely. The session is restored the next time Windows 2000 is started.

0x80

Disconnect. Disconnects the session. The session can be reconnected the next time the user logs on. (Disconnect is available only in Terminal Server sessions.)

Note

The list on the Shut Down Windows dialog box displays all of the shut-down options that the computer supports. If the value of this entry is changed to represent an unsupported option, the system uses the default value of 0x2.