Thursday, 26 December 2024

Prevent Screen Lock

$WShell = New-Object -Com "Wscript.Shell";
while (1) {$WShell.SendKeys("{SCROLLLOCK}");sleep 60}
 
 
 

No comments:

Post a Comment