Automate the setting using reg file.
Windows 10 lock screen timeout command line.
To change the lock screen timeout using command prompt do the following.
Lock screen settings will open.
Download show lock screen timeout setting zip unzip and run the enclosed reg file.
What is the lock screen timeout.
Download the automatic registry changes.
Not confident in using the registry yourself.
Setting the lock console display timeout using powercfg exe command line.
Lock windows 10 using a keyboard shortcut.
Right click an empty space on your desktop.
On the settings screen click lock screen.
Change windows 10 lock screen timeout from desktop.
Powercfg exe setdcvalueindex scheme current sub video videoconlock.
If your logged in by vnc closing your connection does not automatically lock your computer and it will remain in an unlocked state so that anyone can start using it.
To change the lock screen timeout using command prompt do the following.
Use the windows key x keyboard shortcut to open the power user menu and select command prompt admin.
Type the following command and press enter.
Powercfg exe setacvalueindex scheme current sub video videoconlock.
Next input this command.
Right click on command and choose to run as an administrator.
Press ctrl alt del shortcut keys together on the keyboard to bring up the security screen and then choose the option to lock.
Manually make changes to the registry and modify the lock screen timeout.
By default windows 10 s lock screen times out and switches off your monitor after one minute.
Enter a command.
If you d like it to stick around longer than that say if you have background picture you like looking at or you enjoy having cortana handy there s a simple registry hack that will add the setting to your power options.
Type the following command and press enter.
Scroll down until you get to screen timeout settings and click it.
A simple way to lock your computer from a command prompt is to run.
Type in to the search box command.
While working on a computer you can press the windows l keys to lock the screen.
To change how often your screen times out or sleeps follow this steps.
Type cmd and press ctrl shift enter keys at the same time.
Lock windows 10 from the ctrl alt del security screen the good old ctrl alt del security screen also contains the lock command.
The registry edit works in windows 8 as well.
Next type this command.