2

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.

6

You can download and run this little program: No Sleep

It moves your mouse once a minute by one pixel. Thus it prevent you windows to go to sleep mode.

  • This program seems can no longer be accessed in its original location. It says permission denied. – xji Jan 7 '17 at 23:24
  • 1
    @JIXiang, I found a copy here of this file here: Todd Cramer’s Blog – Wernfried Domscheit Jan 8 '17 at 7:01
1

This can be done by the following:

  1. Go to Control Panel
  2. Click on Power Options
  3. Click on Change plan settings (to which ever plan is selected)
  4. Change 'Put the computer to sleep' on NEVER
  5. Click Save Changes
  • Which requires admin access. and i dont want that. – Nikitesh Kolpe Mar 6 '15 at 9:40
  • Then it's policy driven and you won't be able to without the correct access rights. @NikiteshKolpe – Chris Mar 6 '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 8 '17 at 7:08
  • @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
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.

protected by Community Apr 18 '17 at 15:37

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.