How to prevent windows from locking / sleeping (without admin privileges)
77,766
Solution 1
You can download and run this little program: No Sleep
Get it from here
It moves your mouse once a minute by one pixel. Thus it prevents your windows from going to sleep mode.
Solution 2
You could use this AutoHotkey script:
CoordMode, Mouse, Screen
Loop
{
; Move mouse
MouseMove, 1, 1, 0, R
; Replace mouse to its original location
MouseMove, -1, -1, 0, R
; Wait before moving the mouse again
Sleep, 600000
}
return
You can download the portable version of AutoHotkey here.
Related videos on Youtube
Author by
Nikitesh Kolpe
Updated on September 18, 2022Comments
-
Nikitesh Kolpe over 1 year
I know it is possible to disable auto log out from control panel. I want to know is there a way to prevent windows from locking/ sleeping without changing any security options.
-
Nikitesh Kolpe about 9 yearsWhich requires admin access. and i dont want that.
-
Chris about 9 yearsThen it's policy driven and you won't be able to without the correct access rights. @NikiteshKolpe
-
xji over 7 yearsThis program seems can no longer be accessed in its original location. It says permission denied.
-
Wernfried Domscheit over 7 years@JIXiang, I found a copy here of this file here: Todd Cramer’s Blog
-
xji over 7 yearsI think this should be the best answer since it relies on some inherent mechanism of Windows instead of any third-party tools.
-
Otiel about 6 years@JIXiang I disagree, it doesn't answer the question being how to prevent Windows from sleeping without admin rights.