Command Prompt to change primary monitor?

BCXtreme

New member
Guru
Local time
6:05 PM
Messages
872
Location
Virginia, United States
Hey,

I'm working on a batch file to change a system's primary monitor before launching a game. Is there a DOS command to change the primary monitor on a system?

Thanks!
 

My Computer My Computer

At a glance

Windows 7 Home Premium x64Intel Core i7-2600 @3.40GHz8.00GB DDR3NVIDIA GeForce GTX 555 w/1.0GB RAM
Computer Manufacturer/Model Number
Alienware X51
OS
Windows 7 Home Premium x64
CPU
Intel Core i7-2600 @3.40GHz
Memory
8.00GB DDR3
Graphics Card(s)
NVIDIA GeForce GTX 555 w/1.0GB RAM
Monitor(s) Displays
BenQ XL2420TX
Screen Resolution
1920x1080@120Hz
Hard Drives
1TB
PSU
330-watt
Keyboard
Logitech Wireless Illuminated Keyboard K800
Mouse
Razer Orochi
Internet Speed
Campus Internet
Way beyond me, but have a look at this, and see if it's at all helpful:

Display Changer

A Guy
 

My Computer My Computer

At a glance

Windows 10 Home x64INTEL Core i5-750 Quad-Core 3.37GHzHyperX Fury Black Series 8GB (2 x 4GB) 1866MhzEVGA GeForce GTX 750 Superclocked 1GB 128-Bit...
Computer type
PC/Desktop
OS
Windows 10 Home x64
CPU
INTEL Core i5-750 Quad-Core 3.37GHz
Motherboard
ASUS P7P55D
Memory
HyperX Fury Black Series 8GB (2 x 4GB) 1866Mhz
Graphics Card(s)
EVGA GeForce GTX 750 Superclocked 1GB 128-Bit GDDR5
Monitor(s) Displays
LG 32MA68HY 32" IPS
Screen Resolution
1920 x 1080
Hard Drives
Samsung 840 Evo 120GB, SEAGATE 500GB Barracuda® 7200.12, SATA 3 Gb/s, 7200 RPM, 16MB cache
PSU
ANTEC TruePower New TP-550, 80 PLUS, 550W
Case
ANTEC Three Hundred Illusion
Cooling
COOLER MASTER Hyper 212 Plus, 4 x 120mm 1 x 140mm Noctua's
Internet Speed
85 + Mbps
Antivirus
Avast
Browser
Vivaldi

My Computer My Computer

At a glance

Windows 7 Ultimate - 64-bit | Windows 8 Pro -...Intel® Core™ i7 Processor 3,610QM (2.30Hz, 6M...8 GBNVIDIA® GeForce® GT 650M 2GB Graphics, Optimu...
Computer Manufacturer/Model Number
Samsung NP550P5C-S02IN
OS
Windows 7 Ultimate - 64-bit | Windows 8 Pro - 64-bit
CPU
Intel® Core™ i7 Processor 3,610QM (2.30Hz, 6MB L3 Cach
Memory
8 GB
Graphics Card(s)
NVIDIA® GeForce® GT 650M 2GB Graphics, Optimus™ techno
Sound Card
SoundAlive™ JBL 3 Speakers (With sub-Woofer)
Monitor(s) Displays
39.62cm (15.6) SuperBright 300nit HD+ LED Display
Screen Resolution
1,600 x 900, Anti-Reflective
Hard Drives
1TB S-ATA II Hard Drive (5,400RPM)
Way beyond me, but have a look at this, and see if it's at all helpful:

Display Changer

A Guy

That almost worked, but what you have to do with it just to switch the primary monitor back and forth is way too complicated. I'm really looking for something as simple as the Windows GUI way...


Unfortunately, I haven't the slightest clue how to work with vbscript, and the computer I'm trying to do this on doesn't have an NVIDIA card either (and thus no NVIDIA Control Panel).


Any other ideas from anyone?
 

My Computer My Computer

At a glance

Windows 7 Home Premium x64Intel Core i7-2600 @3.40GHz8.00GB DDR3NVIDIA GeForce GTX 555 w/1.0GB RAM
Computer Manufacturer/Model Number
Alienware X51
OS
Windows 7 Home Premium x64
CPU
Intel Core i7-2600 @3.40GHz
Memory
8.00GB DDR3
Graphics Card(s)
NVIDIA GeForce GTX 555 w/1.0GB RAM
Monitor(s) Displays
BenQ XL2420TX
Screen Resolution
1920x1080@120Hz
Hard Drives
1TB
PSU
330-watt
Keyboard
Logitech Wireless Illuminated Keyboard K800
Mouse
Razer Orochi
Internet Speed
Campus Internet
Hi BCXtreme,

As you have Windows Professional, you can use WIN+P to change the primary monitor. The P is for projector and although you don't have one connected, this feature should still fit your needs.

- Timo
 

Attachments

  • 95c1be39-6a14-4e83-a842-50431d429315.jpg
    95c1be39-6a14-4e83-a842-50431d429315.jpg
    22 KB · Views: 254

My Computer My Computer

At a glance

Windows 7 Ultimate 64 bitIntel(R) Core(TM)2 Quad CPU Q8200 @ 2.33GHz8 GB KingstonNvidia GeForce 9600GT
Computer Manufacturer/Model Number
Custom Hack job
OS
Windows 7 Ultimate 64 bit
CPU
Intel(R) Core(TM)2 Quad CPU Q8200 @ 2.33GHz
Motherboard
GigaByte EP45-UD3
Memory
8 GB Kingston
Graphics Card(s)
Nvidia GeForce 9600GT
Sound Card
Soundblaster Audigy
Monitor(s) Displays
AOC x2 22"
Hard Drives
2 x Samsung 500GB (RAID)
2 x Samsung 2TB
1 x WD Green 2TB
1 x Seagate 1TB
1 x Samsung 500GB
PSU
Thermaltake QFan 750W
Case
CM Scout Gaming
Cooling
Coolermaster V10
Keyboard
Microsoft Wireless Keyboard 1000
Mouse
Microsoft Wireless Optical 2000
Internet Speed
320
Other Info
Winfast PVR2000CP
LG DVD-RAM DVD/RW/DL Super Multi
Linksys WMP300Nx2 Wireless Adapter
Back
Top