Search code examples
windowspowershellnon-admin

Delaying monitor timeout without admin via powershell


I am using a powershell script to keep a windows pc logged in defying its group policy, however after 20 minutes the monitor turns off after displaying a "no signal" message.

The script I am using is one that toggles scroll lock to simulate input and keep the user logged in. Usually the computer locks and has you press ctrl+alt+del and then enter your password to unlock after 15 minutes. The script works to keep me logged in and avoid the lock, but not keep the monitor on, which is my goal here. End goal being that I can stay logged in and the monitor on for about 12 hours.

I have no admin privileges and have to use -ep bypass to even run my script.


Solution

  • If you have access to USB could go for something like this...

    Buy a Mouse Jiggler