Prevent system from locking - Windows OS

There might have been instances when you would not want your system to get locked on its own. Especially If you are an automation engineer you know where I am coming from.

The best possible way to do this is :

1. Open up regedit through the start menu search box, and then browse down to the following key, creating it if it doesn’t exist:

On the right-hand side, create a new DWORD 32-bit value named DisableLockWorkstation and give it one of these values:

1 – Disable Lock Workstation
0 – Enable Lock Workstation

The changes should be immediate, no need to restart anything.

2. In most companies they would not allow you to modify the registry , the best workaround is :
If Windows Media Player is still installed, you can play a video on loop and minimize it (the sample "Wildlife" videos work fine for this). By default, as long as a video is playing, the screen won't lock.
Note - This also works using VLC for those who prefer it over Windows Media Player


Popular posts from this blog

XPATH for IE / internet explorer

RPA - Blue Prism, OpenSpan, Automation Anywhere vs UIPath