Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 6937

Script or CMDLET on loop to stop a machine going to sleep

$
0
0

Hey Guys, Long time no see!!!

I need some help. I have a standalone laptop from a external client of mine were I am doing some testing and it locks after a crazy length of time when i step away to make a tea - a few mins - which is frustrating. I have changed all power settings locally on the machine and in REG to never sleep, turn off, the works, but noticed they have a linked GPO on this machine which is thwarting all my efforts! I have disabled the gpsv but the machine will not function without this.

So to avoid any potential issues , i want to know if there is a PS script or command i can run on a loop which will stop the machine going to sleep - if i was to step away from the machine for say 30mins, it will not lock or go to sleep.

Any ideas or suggestions

Darth

 

 

 

 


Viewing all articles
Browse latest Browse all 6937

Trending Articles