Delay the time between monitor off and workstation lock?

crosspatch

Unstable Member
Member
Messages
34
I like having my monitor power off soon after activity stops. Currently, I have it powering off after 2 minutes of inactivity. I am also very big on locking my PC when I step away. So, I also have the screen saver kick in after 2 minutes. (Of course, I never even see a screen saver because the monitor is off. And, in fact, my screen saver is set to "None". So this setting essentially means the PC is set to lock after 2 minutes.)

However, what often happens is that I'm sitting at the PC, and the monitor turns off, but I don't want it to lock. I move the mouse, and it's locked--even if I intervened within a second or two.

With Windows XP, I used to be able to use the ScreenSaverGracePeriod registry value to work around this. I've tried this with my Windows 8 system, but it doesn't work. I have tried using ScreenSaverGracePeriod as both REG_SZ and as DWORD.

Is there any way to delay the PC from locking after the monitor powers off by just a few seconds? I know I can have the monitor power off after 2 minutes but set the screen saver to 3 minutes, but I'd like to reduce the delay to a matter of seconds, if that is possible.
 

My Computer

System One

  • OS
    Windows 8.1 Pro x64
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Maingear Shift
    CPU
    Intel 3970x (Overclocked to ~4.2 GHz)
    Motherboard
    Asus Rampage IV Extreme
    Memory
    16 GB
    Graphics Card(s)
    Nvidia Titans (2 in SLI)
    Sound Card
    Creative Sound Blaster Z
    Monitor(s) Displays
    Acer T272hl
    Screen Resolution
    1920 x 1080
    Hard Drives
    Samsung SSD 840 PRO (512 GB)
    Western Digital Black (4 TB)
    Western Digital Black (4 TB)
    Western Digital (300 GB)
    PSU
    Corsair Professional Digital Series AX1200i
    Case
    Maingear Shift (Modified Silverstone Raven)
    Cooling
    Maingear EPIC 180 Supercooler
    Keyboard
    Logitech G710+
    Mouse
    Logitech MX518
    Browser
    Firefox
    Antivirus
    Avira Antivirus Suite
    Other Info
    Is anyone actually reading this?
Hello Crosspatch,

I suppose one way would be to disable screen saver password protection to prevent it from basically locking the PC and asking for a password when you resume from screen saver.
The only drawback is that you would then need to lock the PC when you do want it to be password protected when unlocking. If you like, the desktop context menu added by either tutorial below can help make it easier to lock the PC.

Hope this helps, :)
Shawn

 

My Computer

System One

  • OS
    64-bit Windows 10
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Custom self built
    CPU
    Intel i7-8700K OC'd to 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G7 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    OCZ Series Gold OCZZ1000M 1000W
    Case
    Thermaltake Core P3
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gb/s Download and 35 Mb/s Upload
    Browser
    Internet Explorer 11
    Antivirus
    Malwarebyte Anti-Malware Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Galaxy S23 Plus phone
Thanks. I want everything to be automated, so I don't ever forget to lock it, and just so I don't have to deal with it.

I'll probably have to find some third-party utility that does what I want.
 

My Computer

System One

  • OS
    Windows 8.1 Pro x64
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Maingear Shift
    CPU
    Intel 3970x (Overclocked to ~4.2 GHz)
    Motherboard
    Asus Rampage IV Extreme
    Memory
    16 GB
    Graphics Card(s)
    Nvidia Titans (2 in SLI)
    Sound Card
    Creative Sound Blaster Z
    Monitor(s) Displays
    Acer T272hl
    Screen Resolution
    1920 x 1080
    Hard Drives
    Samsung SSD 840 PRO (512 GB)
    Western Digital Black (4 TB)
    Western Digital Black (4 TB)
    Western Digital (300 GB)
    PSU
    Corsair Professional Digital Series AX1200i
    Case
    Maingear Shift (Modified Silverstone Raven)
    Cooling
    Maingear EPIC 180 Supercooler
    Keyboard
    Logitech G710+
    Mouse
    Logitech MX518
    Browser
    Firefox
    Antivirus
    Avira Antivirus Suite
    Other Info
    Is anyone actually reading this?
But your Monitor should not be powering down in the middle of USE, so something is not set right somewhere. You should increase the screen shutdown to 5 minutes, set the wallpaper to 3. at 2 minutes, it may be ignoring mouse moves so it powers down.

What you need is some shortcut on your desktop to invoke LOCK. But there is none built in to Windows 8 or 8.1, so you would have to make a macro or something.

Quick Macros - automation software for Windows. Macro program. Keyboard, mouse, record, toolbars.

Or, try this:

Lock Windows 8 Computer

Actually there IS a Key Combo to LOCK the system, it's Windows Key + L
 

My Computer

System One

  • OS
    Windows 8 Pro with Media Center/Windows 7
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Asus M2N-MX SE Plus § DualCore AMD Athlon 64 X2, 2300 MHz (11.5 x 200) 4400+ § Corsair Value Select
    CPU
    AMD 4400+/4200+
    Motherboard
    Asus M2N-MX SE Plus/Asus A8M2N-LA (NodusM)
    Memory
    2 GB/3GB
    Graphics Card(s)
    GeForce 8400 GS/GeForce 210
    Sound Card
    nVIDIA GT218 - High Definition Audio Controller
    Monitor(s) Displays
    Hitachi 40" LCD HDTV
    Screen Resolution
    "1842 x 1036"
    Hard Drives
    WDC WD50 00AAKS-007AA SCSI Disk Device
    ST1000DL 002-9TT153 SCSI Disk Device
    WDC WD3200AAJB-00J3A0 ATA Device
    WDC WD32 WD-WCAPZ2942630 USB Device
    WD My Book 1140 USB Device
    PSU
    Works 550w
    Case
    MSI "M-Box"
    Cooling
    Water Cooled
    Keyboard
    Dell Keyboard
    Mouse
    Microsoft Intellimouse
    Internet Speed
    Cable Medium Speed
    Browser
    Chrome/IE 10
    Antivirus
    Eset NOD32 6.x/Win Defend
    Other Info
    Recently lost my Windows 8 on my main PC, had to go back to Windows 7.
It's not powering down during use. It powers down when I pause and do something else, or I'm reading something, or whatever.

I'm a big, longtime supporter of Win+L. :)

At work, Win+L is all I use. At home, I actually care about power use and the wear-and-tear on my monitor. That, and I can't have my family discovering my deep, dark secrets.

I'll find a solution. Thanks though! :)
 

My Computer

System One

  • OS
    Windows 8.1 Pro x64
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Maingear Shift
    CPU
    Intel 3970x (Overclocked to ~4.2 GHz)
    Motherboard
    Asus Rampage IV Extreme
    Memory
    16 GB
    Graphics Card(s)
    Nvidia Titans (2 in SLI)
    Sound Card
    Creative Sound Blaster Z
    Monitor(s) Displays
    Acer T272hl
    Screen Resolution
    1920 x 1080
    Hard Drives
    Samsung SSD 840 PRO (512 GB)
    Western Digital Black (4 TB)
    Western Digital Black (4 TB)
    Western Digital (300 GB)
    PSU
    Corsair Professional Digital Series AX1200i
    Case
    Maingear Shift (Modified Silverstone Raven)
    Cooling
    Maingear EPIC 180 Supercooler
    Keyboard
    Logitech G710+
    Mouse
    Logitech MX518
    Browser
    Firefox
    Antivirus
    Avira Antivirus Suite
    Other Info
    Is anyone actually reading this?
Please share if you do. :)
 

My Computer

System One

  • OS
    64-bit Windows 10
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Custom self built
    CPU
    Intel i7-8700K OC'd to 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G7 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    OCZ Series Gold OCZZ1000M 1000W
    Case
    Thermaltake Core P3
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gb/s Download and 35 Mb/s Upload
    Browser
    Internet Explorer 11
    Antivirus
    Malwarebyte Anti-Malware Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Galaxy S23 Plus phone
The closest thing I've been able to find is NirCmd, which is a command line utility that can be scripted to turn the monitor off and lock the workstation. I have not set this up yet, but I imagine it is possible to write a command script (or a NirCmd script) to do those two things, with a delay between them, and schedule it with Task Scheduler.

(BTW, I can handle setting this up and don't need help with it. :D)

I was greedily hoping to also have some way of having the system ignore mouse movements, so I didn't have to worry about that waking the monitor up. That seems to be asking too much though.
 

My Computer

System One

  • OS
    Windows 8.1 Pro x64
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Maingear Shift
    CPU
    Intel 3970x (Overclocked to ~4.2 GHz)
    Motherboard
    Asus Rampage IV Extreme
    Memory
    16 GB
    Graphics Card(s)
    Nvidia Titans (2 in SLI)
    Sound Card
    Creative Sound Blaster Z
    Monitor(s) Displays
    Acer T272hl
    Screen Resolution
    1920 x 1080
    Hard Drives
    Samsung SSD 840 PRO (512 GB)
    Western Digital Black (4 TB)
    Western Digital Black (4 TB)
    Western Digital (300 GB)
    PSU
    Corsair Professional Digital Series AX1200i
    Case
    Maingear Shift (Modified Silverstone Raven)
    Cooling
    Maingear EPIC 180 Supercooler
    Keyboard
    Logitech G710+
    Mouse
    Logitech MX518
    Browser
    Firefox
    Antivirus
    Avira Antivirus Suite
    Other Info
    Is anyone actually reading this?

My Computer

System One

  • OS
    64-bit Windows 10
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Custom self built
    CPU
    Intel i7-8700K OC'd to 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G7 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    OCZ Series Gold OCZZ1000M 1000W
    Case
    Thermaltake Core P3
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gb/s Download and 35 Mb/s Upload
    Browser
    Internet Explorer 11
    Antivirus
    Malwarebyte Anti-Malware Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Galaxy S23 Plus phone
It's not powering down during use. It powers down when I pause and do something else, or I'm reading something, or whatever.

I'm a big, longtime supporter of Win+L. :)

At work, Win+L is all I use. At home, I actually care about power use and the wear-and-tear on my monitor. That, and I can't have my family discovering my deep, dark secrets.

I'll find a solution. Thanks though! :)


That's what I mean! I should not be sleeping at that point, even when set to a Minute. I can see it happening while Reading, but when changing from one program to another, shouldn't happen.

Little mouse moves should prevent it, make sure you have your Sleep able to be awoken by a Mouse Move, that way moving the mouse should keep it awake while using a reading app.
 

My Computer

System One

  • OS
    Windows 8 Pro with Media Center/Windows 7
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Asus M2N-MX SE Plus § DualCore AMD Athlon 64 X2, 2300 MHz (11.5 x 200) 4400+ § Corsair Value Select
    CPU
    AMD 4400+/4200+
    Motherboard
    Asus M2N-MX SE Plus/Asus A8M2N-LA (NodusM)
    Memory
    2 GB/3GB
    Graphics Card(s)
    GeForce 8400 GS/GeForce 210
    Sound Card
    nVIDIA GT218 - High Definition Audio Controller
    Monitor(s) Displays
    Hitachi 40" LCD HDTV
    Screen Resolution
    "1842 x 1036"
    Hard Drives
    WDC WD50 00AAKS-007AA SCSI Disk Device
    ST1000DL 002-9TT153 SCSI Disk Device
    WDC WD3200AAJB-00J3A0 ATA Device
    WDC WD32 WD-WCAPZ2942630 USB Device
    WD My Book 1140 USB Device
    PSU
    Works 550w
    Case
    MSI "M-Box"
    Cooling
    Water Cooled
    Keyboard
    Dell Keyboard
    Mouse
    Microsoft Intellimouse
    Internet Speed
    Cable Medium Speed
    Browser
    Chrome/IE 10
    Antivirus
    Eset NOD32 6.x/Win Defend
    Other Info
    Recently lost my Windows 8 on my main PC, had to go back to Windows 7.
Back
Top