Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Shortcut to turning off 1 monitor in dual set up

20 Aug 2010   #1
Suburban Atlas

Windows 7 Ultimate x64
 
 
Shortcut to turning off 1 monitor in dual set up

This may be a bit confusing, so I'll try and explain it as good as possible.

I have a dual monitor set up, but when I play games like Crysis, it's nice to not be sending data to the second monitor and eating up my video card resources. So what I usually do is right click, go to the Nvidia control panel, and turn off the secondary monitor.

I'm curious if there's a way I can make a command or shortcut to click or bind keys to, that will turn the second monitor off and on when I'm playing.

I know programs exist that you can create a shortcut to (and bind keys to) that will turn off your monitors, but I need one that will only shut off the secondary, and not the primary monitor.

Is this fairly easy (I'm fairly adept with basic programming), or would it require some serious programming skills and creating my own programs?


My System SpecsSystem Spec
.
20 Aug 2010   #2
Brink

64-bit Windows 10 Pro
 
 

Hello Suburban Atlas,

Would just turning off/on the monitor by using the monitors power button itself work for this? If there's no power to the monitor, the graphics will not send anything to it.
My System SpecsSystem Spec
21 Aug 2010   #3
CreepinJesus

Windows 7 Ultimate x64
 
 

Don't forget about the Win+P shortcut for choosing how to use the extra monitor. It can be Computer Only, Duplicate, Extend, or Projector Only. Set it to Computer Only and the other screen should be blank.

http://www.sevenforums.com/tutorials...on-switch.html
My System SpecsSystem Spec
.

02 Jan 2016   #4
Hello1423

Windows 7 Home Premium 64bit
 
 

I have written a simple .bat file that should toggle your second monitor for you.
This is what is in it:

@echo off
title ScreenOff
cls
for /f %%A in (SreenOff.Dat) do set power=%%A
echo %power%
if "%power%"=="ECHO is on." (
set power=on
)else (
if "%power%"=="nope" (
echo Switching ON
DisplaySwitch.exe /extend
set power=on
)else (
echo Switching OFF
DisplaySwitch.exe /internal
set power=nope
)
)
(echo %power%)> SreenOff.Dat

I have also attached the file, and by the way you can set a key shortcut to the executable in its properties.


Attached Files
File Type: bat ScreenOff.bat (358 Bytes, 42 views)
My System SpecsSystem Spec
26 Feb 2016   #5
Dariusz

Windows 7 Proffesional x64
 
 

Quote   Quote: Originally Posted by Hello1423 View Post
I have written a simple .bat file that should toggle your second monitor for you.
This is what is in it:

@echo off
title ScreenOff
cls
for /f %%A in (SreenOff.Dat) do set power=%%A
echo %power%
if "%power%"=="ECHO is on." (
set power=on
)else (
if "%power%"=="nope" (
echo Switching ON
DisplaySwitch.exe /extend
set power=on
)else (
echo Switching OFF
DisplaySwitch.exe /internal
set power=nope
)
)
(echo %power%)> SreenOff.Dat

I have also attached the file, and by the way you can set a key shortcut to the executable in its properties.
Hey

I was just looking for very similar thing !

And... gently stealing the topic...

The script above turn off all screens but 1. I have 4 screens. Out of which I want to turn off 1. Is there a way to specify ID of screen that I want to turn off?

The second thing that I noticed ist hat when it turns off screen it changes the setup to 3 screens - meaning it refreshes all UI and sets the windows to be 3 screen setup not 4. Can I somehow preserve the 4 screen setup but just disable 1 screen? Or set it black/off not sure?

I'm mostly working on 3 screens and the 4th one only once a while. I cant disable it with power button because then windows goes to 3 screens and all my color calibration profiles gets messed up :- (
My System SpecsSystem Spec
08 Jul 2016   #6
kero22

windows 7 family
 
 
Scrren off

Hello,

Your Bat file is working great. But I want to do the opposite of what it does i.e Turn off my pricipal screen and leave on the extend one on. would you please give the text of the bat file with these changes, Thank you very Much
My System SpecsSystem Spec
Reply

 Shortcut to turning off 1 monitor in dual set up




Thread Tools




Similar help and support threads
Thread Forum
Monitor turning off(is it my card??)
hello all, i was wondering if anyone can help me?? my monitor turns itself off and i was wondering if it was my graphics card? its a evga gt9400 1gb (not very good) thing is everything is working properly and doesnt get to hot (55-60 c max) its not the cable cos when i use the cpu monitor...
Graphic Cards
Dual monitor - Activate shortcut
Hey hey peeps, I use dual monitors quite a bit, reasearching, photoshop, etc... When i want to turn on the second monitor, i have to go into Nvidia's control panel to proceed with this. Now Nvidia is a bit slow, then i have to click apply and then click yes to confirm. My question, can...
Customization
Monitor not turning on after going to sleep?
I have a HP desk top with an older hp 19" monitor. Some mornings when I "wake" the computer up the monitor does not come on. I have to unplug it from the power and plug it back in. Anyone know how to fix this other than keeping it on all the time? Thanks
Performance & Maintenance
second monitor turning black
i use my second monitor for vent so i can see who joined etc but for some reason when i start a game unlike xp the second monitor turns black is there any way to change this so the second stays at desktop and the first just runs the game?
Gaming
Turning off Monitor
Is there a way to turn off the monitor without itself being dimmed off by power settings? Thanks.
General Discussion
PC restarts after turning on monitor
Hi guys, I've been having this problem ever since I installed win7. I was previously and XP user and had no probs with it until I installed win7. Basically when I turn my monitor off and turn it on again, my PC restarts itself. It doesn't matter how long I turn the monitor off for - As long as I...
General Discussion


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 05:17.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App