Windows 10: Any way to make computer sleep on login screen when inactive?

Page 1 of 2 12 LastLast
  1.    02 May 2017 #1

    Any way to make computer sleep on login screen when inactive?


    The owner of the transitional house I live in keeps unplugging my power strip because the computer somehow wakes up when I'm asleep or at work. I don't know if someone is purposely touching the mouse or keyboard, or if it's somehow accidental, but he unplugs it if I'm not using it and it's on. If it's asleep, he doesn't touch it.

    I always put it asleep when I leave the desk for more than 20-30 minutes. It should NOT be on at random times during the day or night. I've gotten up for work at 5:30 am and the PC is on. I've come home on lunch break or after work, and it's unplugged. I'm aware that it updates and such, but doesn't it go back to sleep afterwards? It usually doesn't update on it's own, oddly enough, I have to manually check. ANYWAY....

    Is there some way to make it go to sleep if it's inactive, on the login screen for, say, ten minutes?
      My ComputerSystem Spec


  2. Posts : 6,959
    Windows 10 Pro x64 Build 1709
       03 May 2017 #2

    Hi GuyInDogSuit

    The next time you find your machine awake could you please open a command prompt(admin) and type the following command

    powercfg -lastwake

    This will tell you what issued the wake up call. Hopefully you can then deal with cause.

    Ken
      My ComputerSystem Spec

  3.    03 May 2017 #3

    But that doesn't answer my question. Is there a way to make it sleep on the login screen only?
      My ComputerSystem Spec


  4. Posts : 1,890
    Windows 7 Pro x64 Windows 10 Pro x64
       03 May 2017 #4

    If the power button is down in the bottom right hand corner then yes, if not, no.

    It`s there on my Sign in screen.

    I`ll have to test and see if it will go to sleep on it`s own while on the Sign in screen.

    Came back about 20 minutes later and the PC was asleep
    Last edited by AddRAM; 03 May 2017 at 18:37.
      My ComputersSystem Spec

  5.    04 May 2017 #5

    AddRAM said: View Post
    If the power button is down in the bottom right hand corner then yes, if not, no.

    It`s there on my Sign in screen.

    I`ll have to test and see if it will go to sleep on it`s own while on the Sign in screen.

    Came back about 20 minutes later and the PC was asleep
    Is there any way to shorten that time, to say, five minutes?
      My ComputerSystem Spec

  6.    04 May 2017 #6

    GuyInDogSuit said: View Post
    Is there any way to shorten that time, to say, five minutes?
    Adjust Sleep times in Power Management - How to Change Power Plan Settings in Windows 10
      My ComputerSystem Spec

  7.    04 May 2017 #7

    I don't want it to go to sleep unless I'm logged out.
      My ComputerSystem Spec

  •    13 May 2017 #8

    Bump.
      My ComputerSystem Spec


  • Posts : 11,910
    Windows 10 (Pro and Insider Pro)
       13 May 2017 #9

    There is only one power plan for all users on PC. So if you want Windows to behave differently when User is logged on and logged off, power plan must be changed...

    There could be some other possibility, one simple solution comes to mind...
    Instead of logging off with clicking on power button or with keyboard, you could set a batch file (or powershell) consisting of setting power plan and command for log of

    switching power plan:

    powercfg /s [GUID of the power plan]
    You can get GUID with command
    powercfg /l
    for logging off

    shutdown /l
    Of course, when you log on, another command would have to be run to change power plan for never go to sleep...
      My ComputerSystem Spec

  •    14 May 2017 #10

    Could you explain the "GUID" bit a little more?
      My ComputerSystem Spec


  •  
    Page 1 of 2 12 LastLast

    Related Threads
    How do I make windows 10 not push last window open not go to bottom of inactive windows? I have an application that it's icon is in a folder on the desktop. If I open the folder and open the application it stays on top. Then if I choose an...
    Hi guys When i make windows goto sleep and then i just wake it up and it appears the sign in screen and even thou i didnt set a password for my user account i get to see this screen so it doesnt ask for a password thou all i need to do is click...
    After I upgraded from Win 8.1 to Win 10 I have a strange problem. After my laptop sits over night when I go to use it in the morning, when I shake my mouse or hit a button so I can log in all I can see is the Windows start screen but not the...
    Hello everyone, so just the other day I (finally) upgraded my Lenovo Ideapad Z510 from Windows 8.1 to Windows 10. So far, I'm pretty happy about it, so I'm definitely not regretting it, but there is one thing that it's starting to frustrate me. ...
    god i love win 10 i really do, if not for these few ridiculously unsolvable bugs pretty much rendering my lappy unusable for hours at a time. sys specs i7-6700 12gb DDR4 RAM nvidia GTX960M
    Our Sites
    Site Links
    About Us
    Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

    Designer Media Ltd
    All times are GMT -5. The time now is 03:36.
    Find Us