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: Command Prompt to change primary monitor?

19 Jun 2010   #1

Windows 7 Home Premium x64
Command Prompt to change primary monitor?


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?


My System SpecsSystem Spec
20 Jun 2010   #2
A Guy

Microsoft Community Contributor Award Recipient

Windows 7 Home Premium x64 SP1

Way beyond me, but have a look at this, and see if it's at all helpful:

Display Changer

A Guy
My System SpecsSystem Spec
20 Jun 2010   #3
Capt.Jack Sparrow

Windows 7 Ultimate - 64-bit | Windows 8 Pro - 64-bit

My System SpecsSystem Spec

20 Jun 2010   #4

Windows 7 Home Premium x64

Quote   Quote: Originally Posted by A Guy View Post
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...

Quote   Quote: Originally Posted by Capt.Jack Sparrow View Post
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 System SpecsSystem Spec
21 Jun 2010   #5

Windows 7 Ultimate 64 bit

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

Attached Images
Command Prompt to change primary monitor?-95c1be39-6a14-4e83-a842-50431d429315.jpg 
My System SpecsSystem Spec

 Command Prompt to change primary monitor?

Thread Tools

Similar help and support threads
Thread Forum
Change Command Prompt Default Directory
This is a simple registry hack to change the default directory you see when opening command prompt. I like to have it set to the OS root drive, but you can change it to whatever you like. This will keep you from having to use the "change directory" switch every time you open command prompt, which...
How do I change system attribute for all folders using command prompt?
Let me share the background quickly. I work at a school as Computer Applications Technology teacher. The students bring homework to school on their flashdrives, and though we have good antivirus software at school, the viruses on their home PC's will often do considerable damage to the data on...
Performance & Maintenance
Run administrative command prompt from command prompt
Ok So I got myself into a unique bind here. I was trying to install some custom system files (for a theme) and I did it wrong and now I cant open explorer.exe . I dont want to goto a backup because this is a easy fix. (in my view). So I need to know how to run command prompt with administrative...
General Discussion
Cannot change drive in command prompt using CD
When I try to switch to D drive it stays in C: C:\Users\Valdis>cd d: D:\ C:\Users\Valdis>cd D:\Downloads C:\Users\Valdis>cd d: D:\Downloads
General Discussion
Change Directory in Command Prompt
Anyone know how to do this in command prompt? I type "cd .." a few times to get to to C:\ Then when I type "cd e:\" I see E:\ below the command line but I'm still in C:\. Can anyone help? Edit: Nevermind, manage to get it working. Just had to type "E:" instead of using CD beforehand....
General Discussion
Change time to display OS from installation disk command prompt
Hey, how we all doing? I was stupid enough to manually delete my acronis files when I couldn't uninstall it the ordinary way. Now windows 7 gives a short BSOD after logo and computer restarts. Startup repair doesn't fix the problem, neither from my windows 7 usb or from laptop, I have...
Installation & Setup

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 10:44.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App