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.
- 1
- 3
- 679
- 5
- 17
-
This program seems can no longer be accessed in its original location. It says permission denied. – xji Jan 07 '17 at 23:24
-
1@JIXiang, I found a copy here of this file here: [Todd Cramer’s Blog](http://thecramers.us/windows/prevent-windows-screen-timeout-and-sleep-mode-nosleep-exe/) – Wernfried Domscheit Jan 08 '17 at 07:01
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.
- 1,580
- 2
- 14
- 30
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!
- 21
- 3
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
- 181
- 8
-
1
-
1Then it's policy driven and you won't be able to without the correct access rights. @NikiteshKolpe – Chris Mar 06 '15 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. – xji Jan 08 '17 at 07:08
-
6@JIXiang I disagree, it doesn't answer the question being how to prevent Windows from sleeping **without admin rights**. – Otiel Mar 26 '18 at 15:50