Disable Ask for Password on Screen wakeup using PowerCFG

While you can achieve the same using the Power Options in the Control Panel, using powercfg will be a lot quicker. Open Command Prompt or PowerShell with admin permission, and then use these commands to enable or disable ask for Password on Screen wakeup.

To disable password prompts on a laptop running on battery, use the following command:

If you wish to disable it when the laptop is plugged in, then use the following command.

Here 0 (zero) disables the password prompt, while 1 (One) enables it. If you need to re-enable, replace 0 (zero) by 1 (one) in the above command. Also, note that there are two different options—

SETDCVALUEINDEXSETACVALUEINDEX

The first one is when on the battery, while the second when it’s plugged in. Unless you change both, you will have two different experiences, which can be confusing. If you want to apply the change to other power profiles, I will suggest that you switch the current power plan and then run the same command. The option— SCHEME_CURRENT —points to the active power plan. While you can use the GUID method, it will be complicated. Instead, switch the power plan and then. Apply the setting using the above method.

Disable Ask for Password on Screen wakeup using PowerCFG - 71Disable Ask for Password on Screen wakeup using PowerCFG - 2