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.
4 Answers
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.
-
This program seems can no longer be accessed in its original location. It says permission denied.– xjiCommented Jan 7, 2017 at 23:24
-
1
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.
When you click on the link for Todd Cramer's blog (which is http://thecramers.us/windows/prevent-windows-screen-timeout-and-sleep-mode-nosleep-exe/ ) , it takes you to a page that has nothing to do with Todd Cramer or his software. Presumably because his domain-name or web-hosting expired.
However, when I downloaded the NoSleep program back in 2017, I also took screencaps of his webpage, and I made it a point to keep the downloaded file handy.
Since his site is down, I've hosted it on my Mediafire account.
You can access it via: https://www.mediafire.com/file/vym9ft7coh6s84z/(keep+mouse+moving+to+avoid+screensaver)+--+NoSleep_0+(Archive+file+of+NoSleep+hosted+on+MediaFire+).rar/file
OR
via this URL-shortcut: https://waa.ai/NoSleepOnMediafire
Hope this helps!
This can be done by the following:
- Go to Control Panel
- Click on Power Options
- Click on Change plan settings (to which ever plan is selected)
- Change 'Put the computer to sleep' on NEVER
- Click Save Changes
-
1
-
1Then it's policy driven and you won't be able to without the correct access rights. @NikiteshKolpe– ChrisCommented Mar 6, 2015 at 14:34
-
I think this should be the best answer since it relies on some inherent mechanism of Windows instead of any third-party tools.– xjiCommented Jan 8, 2017 at 7:08
-
7@JIXiang I disagree, it doesn't answer the question being how to prevent Windows from sleeping without admin rights.– OtielCommented Mar 26, 2018 at 15:50