1. Home
  2. Knowledge Base
  3. Windows server
  4. How to change the Lock screen timeout using Command Prompt

How to change the Lock screen timeout using Command Prompt

Here is how to change the Lock Screen Timeout on Windows 10 using the command prompt.

Changing the Lock Screen Timeout when running on AC power

To change the Lock screen timeout using Command Prompt, do the following:

Step 1. Type in to the search box Command. Right click on command and choose to run as an Administrator.
Step 2. Type the following command and press Enter:powercfg.exe /SETACVALUEINDEX SCHEME_CURRENT SUB_VIDEO VIDEOCONLOCK 600Important: You must change “600” in the command-line with the timeout time you want to use, in seconds. In this example 600 seconds = 10 minutes
Step 3. Type the following command and press Enter:powercfg.exe /SETACTIVE SCHEME_CURRENT

Changing the Lock Screen Timeout when running on Battery

To change the Lock screen timeout using Command Prompt, do the following:

Step 1. Type in to the search box Command. Right click on command and choose to run as an Administrator.
Step 2. Type the following command and press Enter:powercfg.exe /SETDCVALUEINDEX SCHEME_CURRENT SUB_VIDEO VIDEOCONLOCK 600Important: You must change “600” in the command-line with the timeout time you want to use, in seconds. In this example 600 seconds = 10 minutes.
Step 3. Type the following command and press Enter:powercfg.exe /SETACTIVE SCHEME_CURRENT

Related Articles

Need Support?
Can't find the answer you're looking for?
Contact Support