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

How to edit the Lock screen timeout by Command Prompt

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 600

Important: 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