Require a password when a computer wakes (on battery)
Supported on: At least Windows Vista
Registry
HKLM
Software\Policies\Microsoft\Power\PowerSettings\0e796bdb-100d-47d6-a2d5-f7d2daa51f51 Value name: DCSettingIndex
Enabled: DCSettingIndex = 1
Disabled: DCSettingIndex = 0
Description
This policy setting specifies whether or not the user is prompted for a password when the system resumes from sleep. If you enable or do not configure this policy setting, the user is prompted for a password when the system resumes from sleep. If you disable this policy setting, the user is not prompted for a password when the system resumes from sleep.