could anyone provide me a bat file that auto restores the monitor mode

jraju

New member
Member
VIP
Local time
5:12 AM
Messages
759
Hi, Found software that can be used to set monitor mode and also knew that windows key plus p to select duplicate, extend , this computer only etc.
But what i want is a kind of bat file, that i could add to the task scheduler to trigger a bat file to restore the monitor mode to the default this computer only mode.
In the running session, i may select duplicate mode to view the video via tv, but if i forgot to restore the default mode, i face problems in booting , as no screen will be displayed if you have selected the duplicate mode and shutdown the computer.
Here this bat would help me to automatically restore the default position of monitor , so that when i close the computer, and restart, it boots to this computer.
If the tv is off, and your computer boots, you do not see anything on the pc.
please provide a bat file, for this task alone
 

My Computer My Computer

At a glance

Microsoft Windows 7 Ultimate 64-bit 7601 Mult...Intel(R) Core(TM)2 Duo CPU E7200 @ 2.53GHz4.00 GBNVIDIA GeForce 210
Computer type
PC/Desktop
Computer Manufacturer/Model Number
custom build
OS
Microsoft Windows 7 Ultimate 64-bit 7601 Multiprocessor Free Service Pack 1
CPU
Intel(R) Core(TM)2 Duo CPU E7200 @ 2.53GHz
Motherboard
To be filled by O.E.M. To be filled by O.E.M.
Memory
4.00 GB
Graphics Card(s)
NVIDIA GeForce 210
Sound Card
(1) NVIDIA High Definition Audio (2) Realtek High Definiti
Screen Resolution
1920 x 1080 x 32 bits (4294967296 colors) @ 60 Hz
Hard Drives
ST3500312CS ATA Device
Try this bat file.

The variables are:


Extend Display
Code:
DisplaySwitch.exe /extend
2nd monitor
Code:
DisplaySwitch.exe /external
Computers Monitor
Code:
DisplaySwitch.exe /internal
Duplicate Display
Code:
DisplaySwitch.exe /clone
 

Attachments

My Computer My Computer

At a glance

Windows 7 Ultimate x64
Computer type
PC/Desktop
OS
Windows 7 Ultimate x64
You should also be able to press the FN (Function key) + the F8 key to cycle between monitor modes.
 

My Computer My Computer

At a glance

Windows 7 Ultimate x64
Computer type
PC/Desktop
OS
Windows 7 Ultimate x64
Your bat file is working.
is there any way to find which monitor mode a computer is having in any time during running session.
thanks.
 

My Computer My Computer

At a glance

Microsoft Windows 7 Ultimate 64-bit 7601 Mult...Intel(R) Core(TM)2 Duo CPU E7200 @ 2.53GHz4.00 GBNVIDIA GeForce 210
Computer type
PC/Desktop
Computer Manufacturer/Model Number
custom build
OS
Microsoft Windows 7 Ultimate 64-bit 7601 Multiprocessor Free Service Pack 1
CPU
Intel(R) Core(TM)2 Duo CPU E7200 @ 2.53GHz
Motherboard
To be filled by O.E.M. To be filled by O.E.M.
Memory
4.00 GB
Graphics Card(s)
NVIDIA GeForce 210
Sound Card
(1) NVIDIA High Definition Audio (2) Realtek High Definiti
Screen Resolution
1920 x 1080 x 32 bits (4294967296 colors) @ 60 Hz
Hard Drives
ST3500312CS ATA Device
Yes, search for DisplaySwitch.exe. In a 64 bit version of Windows 7 it should be in the syswow64 folder or the system32 folder. Just click anyone on screen to make it disappear as it has no close button.
 

My Computer My Computer

At a glance

Windows 7 Ultimate x64
Computer type
PC/Desktop
OS
Windows 7 Ultimate x64
Hi, thank you. but in my dark mode, each one of the 4 options appear as same. May be I should go to windows normal theme to check , in which mode I am in.
Will check in normal mode
 

My Computer My Computer

At a glance

Microsoft Windows 7 Ultimate 64-bit 7601 Mult...Intel(R) Core(TM)2 Duo CPU E7200 @ 2.53GHz4.00 GBNVIDIA GeForce 210
Computer type
PC/Desktop
Computer Manufacturer/Model Number
custom build
OS
Microsoft Windows 7 Ultimate 64-bit 7601 Multiprocessor Free Service Pack 1
CPU
Intel(R) Core(TM)2 Duo CPU E7200 @ 2.53GHz
Motherboard
To be filled by O.E.M. To be filled by O.E.M.
Memory
4.00 GB
Graphics Card(s)
NVIDIA GeForce 210
Sound Card
(1) NVIDIA High Definition Audio (2) Realtek High Definiti
Screen Resolution
1920 x 1080 x 32 bits (4294967296 colors) @ 60 Hz
Hard Drives
ST3500312CS ATA Device
Back
Top