Did you know… How to deal with sometimes single monitor, sometimes multi monitor displays? (/resetsettings switch) – #344

The best tips come from customer questions that I can actually answer.

In England (or was it Mississippi, it’s been a long summer), a customer had asked me about what to do when at home he’s got a single monitor display, but at work has a multiple monitor display. If you’re using either the same settings files (or more likely the same laptop or VPN’ing in), you could have your window layouts go a little crazy.

First thing you can do is create two different settings files. Setup the window layouts how you want them in the single monitor mode, then go to Tools – Import / Export Settings, and Export just the Windows Layouts. Call the file SingleMontior.vssettings.

Window Layouts category

Now setup the window layouts exactly how you want them in the multi-monitor mode (of course, this requires you to actually be on the multi-monitor computer…) and call this file MultiMonitor.vssettings.

When at home, you can do a Tools – Import/Export Settings – Import to the SingleMonitor.vssettings or at work import the multi monitor settings file. But, there’s one more thin you can do.

There’s a command line switch /ResetSettings that I totally forgot about. (Sorry).

devenv /resetsettings help

If you do just a devenv /resetsettings, then VS will reset to the last file you last reset to (or picked at first launch), despite the “VS is configuring for first time use.” Specifying a file name is much more interesting. Here you could do a devenv /resetsettings SingleMonitor.vssettings for example.

So at home, create a new Desktop shortcut, called VS Single Monitor with the Target as “<drive:>\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\devenv.exe" /resetsettings SingleMonitor.vssettings. And at work create the MultiMonitor version.


Now you just have to launch the right shortcut, and you’re good to go.

Technorati Tags: VS2005Tip,VS2008Tip

Comments (5)

  1. Sam says:

    Or…buy Ultramon, it takes care of the multi-monitor setup.  It even detects if you VPN with a single monitor.

  2. Sam says:

    Or…buy Ultramon, it takes care of the multi-monitor setup.  It even detects if you VPN with a single monitor.

  3. Danny Trobu says:

    This exactly what I was looking for a few days ago! I just recently got a second monitor at work 🙂

    Thanks Sara!

  4. Ivara blogs says:

    Sveiki! Pēdējās dienās esmu nedaudz pieklusis. Kā attaisnojumu varu minēt to, ka rudens ir spējis mani

Skip to main content