Computer Screen Off, System On: A Guide To Screen-Only Shutdowns

how to turn off computer screen without sleeping

If you want to turn off your computer screen without putting it to sleep, there are a few methods you can try. One way is to change your power settings. This can be done by right-clicking on the battery icon on the taskbar, clicking Power Options, then Change what the power buttons do, and adjusting the settings as needed. Alternatively, you can open the Control Panel, click on Hardware and Sound, then Power Options, and change the settings for what the power buttons do. If you're using Windows 11, you can press the Windows key + P to open the Project menu and select the Second screen only option to turn off your laptop screen while keeping all programs running.

Characteristics and Values

Characteristics Values
Operating System Windows 10, Windows 11
Method Change power settings, use a keyboard shortcut, use third-party programs
Tools Control Panel, AutoHotkey
Security Risk Disabling security settings may pose a risk for a public computer

shunsleep

Use the Windows key + P to open the Project menu and select Second screen only

If you want to turn off your computer screen without putting it to sleep, you can use the Windows key + P shortcut to open the Project menu and select the "Second screen only" option. This method is especially useful if you have a multi-monitor setup and want to temporarily use only one of the screens.

Here's a step-by-step guide on how to do it:

  • Ensure that you have a second screen connected to your PC. This can be a monitor, a TV, or a projector.
  • Press the Windows logo key + P on your keyboard. This will open the Project menu.
  • In the Project menu, you will see several options, including "PC Screen Only," "Duplicate", "Extend", and "Second Screen Only."
  • Select the "Second Screen Only" option. This will turn off your primary screen while keeping your PC running on the second screen.

It's important to note that this method assumes you have access to a second screen. If you don't have a second screen available, you can try alternative methods, such as using third-party software like AutoHotkey to create a custom keyboard shortcut to turn off your display without putting your computer to sleep.

By following these steps, you can conveniently switch to using only your second screen, allowing you to keep your computer running in the background without the primary screen being active.

shunsleep

Change power settings to shut off the display when the power or sleep button is pressed

On a Windows device, you can adjust your power and sleep settings by going to Start and selecting Settings > System > Power & sleep. Under Screen, you can set how long you want your device to wait before turning off the screen when it's not in use. You can also set how long you want your device to wait before going to sleep under Sleep. For more power-saving options, select Additional power settings.

On a Mac, you can change your display settings by going to System Preferences from the Apple menu and opening Mission Control. From there, click on Hot Corners and choose Put Display to Sleep from one of the corner dropdowns. Now, when you move your mouse to that corner, your display will go to sleep. Alternatively, you can open a new Terminal window and enter the following command: pmset displaysleepnow. Your display will immediately turn off.

shunsleep

Use a third-party program like AutoHotkey to set a specific key combination

If you want to turn off your computer screen without putting your device to sleep, you can use a third-party program like AutoHotkey. This is a particularly good option if you want to keep your device running while the screen is off.

AutoHotkey is a free, open-source scripting language for Windows that allows you to automate repetitive tasks. To use AutoHotkey to turn off your screen, you can create a script that simulates pressing the physical power button on your monitor or sends your monitor into standby mode.

  • Download and install AutoHotkey from its official website.
  • Launch the AutoHotkey script editor.
  • Create a new script by clicking "File" > "New".
  • In the script editor, you can define a specific key combination to turn off your screen. For example, you can use the following code:

#h::

DllCall("PowrProf\SetSuspendState", "int", 1, "int", 0, "int", 0)

This code defines the "#h" key combination (Windows key + H) to turn off your screen. You can choose a different key combination by replacing "#h" with your desired combination.

  • Save the script with a ".ahk" extension, for example, "screenscript.ahk".
  • Double-click on your script file to run it.

Now, when you press the defined key combination, your computer screen will turn off without putting your device to sleep.

You can also explore other scripts and techniques shared by the AutoHotkey community to find a solution that best fits your specific use case and device configuration.

shunsleep

Delay the screen lock in Windows 8.1 until some time after the screen turns off

To delay the screen lock on your Windows 8.1 device, you can adjust the settings so that the device remains unlocked for a period of time after the screen automatically turns off. This can be achieved by following these steps:

Firstly, access the Windows Control Panel by swiping in from the right edge of the screen, tapping 'Search', typing 'Control Panel' and selecting it from the results. Alternatively, if you are using a mouse, point to the lower-right corner of the screen, move the mouse cursor upwards, click 'Search', type 'Control Panel' and select it from the results.

Once in the Control Panel, select 'System and Security', then 'Power Options', and finally 'Choose what closing the lid does'. From here, you can adjust the settings to delay the screen lock. You can set the device to remain on and unlocked by choosing 'Do nothing' when closing the lid, or alternatively, selecting 'Never' for the 'Put the computer to sleep' option.

These settings will ensure that your Windows 8.1 device remains unlocked for a period of time after the screen turns off, allowing you to turn off the screen without putting the device to sleep.

shunsleep

Manually edit the lock screen delay in the registry at Computer\HKEY_CURRENT_USER\Control Panel\Desktop\DelayLockInterval

To manually edit the lock screen delay in the Windows registry, follow these steps:

  • Open the Registry Editor by pressing Win + R, typing "regedit" into the Run dialog box, and clicking OK.
  • In the Registry Editor, navigate to the following key in the left pane: Computer\HKEY_CURRENT_USER\Control Panel\Desktop. You can also paste this path into the address bar.
  • Once you have located the correct key, find the "DelayLockInterval" value in the right-hand pane.
  • Double-click on "DelayLockInterval" and set it to edit the lock screen delay. Make sure to select "Decimal" before entering the value.
  • Enter the desired number of seconds you want the screen to be off before requiring a login. For example, setting it to 600 seconds will turn off the screen after 180 seconds but will not prompt for a password until 5 minutes have elapsed.
  • Click OK to save the changes.

By editing the "DelayLockInterval" value, you can customize the delay before your Windows computer requires a login after the screen turns off. This allows you to keep your screen off temporarily without immediately locking the device.

Frequently asked questions

Press the Windows key + P on your keyboard. This will open the Project menu. Select the "Second screen only" option to turn off the laptop screen. To turn the laptop screen back on, simply press any key on the keyboard or move the mouse.

You can turn off the "Only allow Windows Hello for this device" and "If you have been away for a while, should Windows require signing in" settings. These settings can be found in Start, Settings, Accounts, Sign In options.

Right-click on the battery icon on the taskbar, click "Power Options", click "Change what the power buttons do", then change the settings as necessary.

Written by
Reviewed by

Explore related products

Share this post
Print
Did this article help you?

Leave a comment