Hey guys, I have seen this a couple of times here and recently there was a post with some warning pup ups about inaction. You don't need special software, USB drives, mouse jiggler or the like. Just do this (when you have a Windows computer):
- Create a new Text file
- Paste this code in the file:
Echo "Keep-alive with Scroll Lock..."
$WShell = New-Object -com "Wscript.Shell"
while ($true)
{
$WShell.sendkeys("{SCROLLLOCK}")
Start-Sleep -Seconds 10
}
-
save the file under some name (e.g. keepAliveScript) with the ending .ps1
-
execute the script:
-
Browse to the location you stored the ps1-file in File Explorer and choose; File-> Open Windows PowerShell.
-
Type (part of) the name of the script.
-
Press TAB to autocomplete then name. Note: Do this even when you typed the name in full.
-
Press ENTER to execute the script.
-
As long as the PowerShell Windows is up and running, you will be seen as available. You can now minimize that window and get yourself a coffee 😉
Enjoy 🙂