in reply to Re^2: How to continue the execution of a perl script if the user session gets locked while running it.
in thread How to continue the execution of a perl script if the user session gets locked while running it.

Re: How to continue the execution of a perl script if the user session gets locked while running it.. Do you think it would be wise if the OS responded to user input when the screen was locked? By your logic if you locked your screen someone should be able to press the Windows + R keys, type cmd then format c: /fs:NTFS to format the drive, all while the screen is locked.

Update: fixed typo

  • Comment on Re^3: How to continue the execution of a perl script if the user session gets locked while running it.
  • Select or Download Code

Replies are listed 'Best First'.
Re^4: How to continue the execution of a perl script if the user session gets locked while running it.
by pradeep,krishna (Scribe) on Feb 04, 2014 at 07:41 UTC

    No buddy. I don't want any user to interact after the system is locked. I just want my automation to continue if the user locks the session in the middle of execution.

      As I've explained, this isn't going to happen. Your script sends keystrokes. When the screen is locked, finding windows and keystrokes will not work.