Lock the deivce when screen goes off.


4k3or3et

New member
Local time
12:59 AM
Posts
11
OS
Windows 11
Hi All,

What I would like to achieve on Windows 11 is to lock machine automatically as soon as screen goes off. My screen goes off after 5 minutes but the machine is not put to sleep then, only screen is turned off. On Windows 10 then there was reg file:

Code:
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Control Panel\Desktop]
"DelayLockInterval"=dword:00000000

which was doing that. On Windows 11 it seems that it does not work anymore. My screen goes off and even after 20 second when I press the button it take me to desktop instead of asking for credentials.

Does anyone know how to achieve instant lock while screen goes off on Windows 11?

I have clean install of Windows 11 done. Tried on two different machines...
 

My Computer

System One

  • OS
    Windows 11

Ghot

Well-known member
Pro User
VIP
Local time
6:59 PM
Posts
3,432
Location
PA, USA
OS
Win 11 Home ♦♦♦22000.856
Hi All,

What I would like to achieve on Windows 11 is to lock machine automatically as soon as screen goes off. My screen goes off after 5 minutes but the machine is not put to sleep then, only screen is turned off. On Windows 10 then there was reg file:

Code:
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Control Panel\Desktop]
"DelayLockInterval"=dword:00000000

which was doing that. On Windows 11 it seems that it does not work anymore. My screen goes off and even after 20 second when I press the button it take me to desktop instead of asking for credentials.

Does anyone know how to achieve instant lock while screen goes off on Windows 11?

I have clean install of Windows 11 done. Tried on two different machines...




I just use the screensaver setup for that...

Image1.png


I also have my screen set to shut off after 5 minutes. But I've found it's easier to just turn on the screensaver as shown.
I have that set to one minute, but you can set for however many minutes you want.
Then, when you checkmark the box, after the time you chose passes,
any key press or mouse movement will bring up the logon screen (Lock Screen).


The screensaver settings are at Settings > Personalization > Lock Screen



It seems Microsoft thought it was too simple to call it either the Logon screen or the Lock screen, so they call it both. :-)
 
Last edited:

My Computers

System One System Two

  • OS
    Win 11 Home ♦♦♦22000.856
    Computer type
    PC/Desktop
    Manufacturer/Model
    Built by Ghot® [May 2020]
    CPU
    AMD Ryzen 7 3700X
    Motherboard
    Asus Pro WS X570-ACE
    Memory
    G.Skill (F4-3200C14D-16GTZKW)
    Graphics Card(s)
    EVGA RTX 2070 (08G-P4-2171-KR)
    Sound Card
    (onboard) Realtek ALC1220P / ALC S1220A
    Monitor(s) Displays
    Dell U3011 30"
    Screen Resolution
    2560 x 1600
    Hard Drives
    2x Samsung 860 EVO 500GB,
    WD 4TB Black FZBX - SATA III,
    WD 8TB Black FZBX - SATA III,
    DRW-24B1ST CD/DVD Burner
    PSU
    PC Power & Cooling 750W Quad EPS12V
    Case
    COOLER MASTER ATCS 840 Full Tower
    Cooling
    CM Hyper 212 EVO (push/pull)
    Keyboard
    Ducky DK9008 Shine II Blue LED
    Mouse
    Logitech Optical M-100
    Internet Speed
    100/100
    Browser
    Firefox (latest)
    Antivirus
    Bitdefender Internet Security (latest)
    Other Info
    Speakers: Klipsch Pro Media 2.1
  • Operating System
    Windows XP Pro 32bit w/SP3
    Computer type
    PC/Desktop
    Manufacturer/Model
    Built by Ghot®
    CPU
    AMD Athlon 64 X2 5000+ (OC'd @ 3.2Ghz)
    Motherboard
    ASUS M2N32-SLI Deluxe Wireless Edition
    Memory
    TWIN2X2048-6400C4DHX (2 x 1GB, DDR2 800)
    Graphics card(s)
    EVGA 256-P2-N758-TR GeForce 8600GT SSC
    Sound Card
    Onboard
    Monitor(s) Displays
    ViewSonic G90FB Black 19" Professional (CRT)
    Screen Resolution
    up to 2048 x 1536
    Hard Drives
    WD 36GB 10,000rpm Raptor SATA
    Seagate 80GB 7200rpm SATA
    Lite-On LTR-52246S CD/RW
    Lite-On LH-18A1P CD/DVD Burner
    PSU
    PC Power & Cooling Silencer 750 Quad EPS12V
    Case
    Generic Beige case, 80mm fans
    Cooling
    ZALMAN 9500A 92mm CPU Cooler
    Mouse
    Logitech Optical M-BT96a
    Keyboard
    Logitech Classic Keybooard 200
    Internet Speed
    100/100
    Browser
    Firefox 3.x ??
    Antivirus
    Symantec (Norton)
    Other Info
    Still assembled, still runs. Haven't turned it on for 13 years?

    http://www.xtremesystems.org/forums/showthread.php?183088-5000-B-E-on-M2N32-SLI-Dlx-Overclocked&p=2891724#post2891724
Top Bottom