Sign in after sleep.

Quentin Ven 0 Reputation points
2024-08-02T15:30:07.6066667+00:00

So i bought a new laptop with windows 11 and i have this problem that if my laptop wakes from sleep that it doesn't ask for login, but on the other side, when my set my screen to go of in 3 minutes but not go to sleep, it asks for a login. I want it to be that i need to login when it wakes from sleep but when my screen turns off at the 3 min time mark, that it doesn't ask for a login, since i am doing a lot of downloading, help is appreciated :)

Windows for business | Windows Client for IT Pros | User experience | Other
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Muhammad Ibraheem Ishtiaq 155 Reputation points
    2024-08-02T17:08:59.0533333+00:00

    To achieve this, follow these steps:

    Open Settings:

    • Press Win + I to open Settings.

    Go to Sign-in Options:

      - Navigate to **Accounts** > **Sign-in options**.
      
      **Configure Lock Screen Settings**:
      
         - Under **Require sign-in**, choose **When PC wakes from sleep**.
         
            - Set **Screen timeout** to 3 minutes under **System** > **Power & battery** > **Screen and sleep**.
            
            **Ensure Screen Timeout Does Not Require Sign-in**:
            
               - Ensure that **Require sign-in** is set to **When PC wakes from sleep** only. This will not prompt for a password when the screen turns off but will ask for one when the laptop wakes from sleep.
               
    

    This setup should ensure you need to log in only when your laptop wakes up from sleep and not when the screen turns off.


  2. Justin Herman 15 Reputation points
    2024-08-02T17:24:46.3+00:00

    Quentin,

    That is an interesting predicament, but here are some settings you can look at.

    In an elevated prompt or terminal, type in gpedit and press enter. The good thing about GPedit or the Local Group Policy is that these settings apply to all users. Important if you have separate administrator and daily standard user accounts or share this with others.

    1. Under Computer Configuration, expand Windows Settings > Security Settings > Local Policies > and then select Security Options. Look for "Interactive logon: Machine inactivity limit" and double-click. Do not configure this or set this to 0 (zero) if you never want the computer to go to sleep. I recommend settings this to 900 seconds (15 minutes). I would not go above 1800 seconds personally. (This may override all subsequent settings)
    2. Next, expand Administrative Template on the left pane and then expand System > Power Management > Sleep Settings. Look for "Require a password when the computer wakes (plugged in) and set to Enabled.
    3. Look for "Require a password when the computer wakes (on battery)" and set to Enable.
    4. Then set the next two policies, "Specify the unattended sleep timeout (plugged in)" and "Specify the unattended sleep timeout (on battery) and mirror the same seconds as the #1.
    5. Also set "Specify the unattended sleep timeout (both battery and plugged in), mirroring the machine inactivity time.
    6. If you wish to allow application to prevent sleeps, i.e. VLC Player, then configure "Turn on the ability for applications to prevent sleeps transition (both plugged and battery)" to Enabled.
    7. After, click the Video and Display Settings on the left pane and set the "Turn off the display" policies.

    Let me know if that works for you or not. If it does not help, I will keep looking or maybe someone else has a suggestion.

    Cheers, Justin

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.