How can I stop my screen from timing out while using PowerShell?

0
0
Asked By CuriousBee47 On

Hey everyone! I'm dealing with a company policy where the screens timeout after just 10 minutes, which is a bit of a hassle since we need to monitor cameras and other applications. I usually have YouTube running, which keeps my screen active. I'm wondering if there's a way to configure PowerShell—or perhaps modify an existing program—so that it can prevent the screen from timing out. I found a GitHub project, aclock, that opens a PowerShell window running an analog clock, but it doesn't seem to help with the timeout issue. Is there a setting I can adjust in PowerShell to keep the screen awake without altering the source code? Or could I tweak the source to achieve this? I'm not really knowledgeable in programming, so any guidance would be appreciated. Thanks!

4 Answers

Answered By ScriptSmith99 On

I wrote a simple VBS script that sends an 'F13' key press every minute to keep my display on. It works for most apps but be cautious if you're using terminal applications because sometimes it can generate unexpected characters.

Answered By JiggleMaster45 On

If you're open to alternatives, a physical mouse jiggler might be your best bet. They're pretty inexpensive and easy to set up, no software needed—just plug it in and let it do its thing!

Answered By GadgetNinja23 On

I've been using a program called Caffeine from Zhorn for years to keep my screen from timing out. It simulates a keypress in the background every minute or so, which works like a charm. You can adjust it to press a key less frequently if needed—just keep sticky keys turned off in your settings.

Answered By PowerUser92 On

While I'm not sure about PowerShell stopping the timeout, you could try using the PowerToys Awake tool. It keeps your machine awake without needing extensive programming knowledge. It’s pretty straightforward to set up!

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.