Poking around the Virtual PC Options.XML file

Poking around the Virtual PC Options.XML file

  • Comments 3

There are a number of global settings for Virtual PC that are stored in our 'Options.XML' file.  You can have a look in this file by running 'notepad %appdata%\Microsoft\Virtual PC\Options.xml'.  One interesting option is that we store the details of where the Virtual PC Console, New Virtual Machine Wizard and Virtual Disk Wizard were on the screen when they were last displayed.  For instance - my Options.XML file has the following section:

     <height type="integer">626</height>
     <left_position type="integer">821</left_position>
     <top_position type="integer">173</top_position>
     <visible type="boolean">true</visible>
     <width type="integer">359</width>
     <left_position type="integer">429</left_position>
     <top_position type="integer">61</top_position>
     <left_position type="integer">429</left_position>
     <top_position type="integer">148</top_position>

As you can see it is fairly straight forward to change this information if you want these windows to come up in a specific location.  Note that whenever these windows are moved - Virtual PC updates this information - so if you want them to always open in the same spot you will need to setup a program / batch file to copy over a backup of this file before launching Virtual PC.


Leave a Comment
  • Please add 2 and 1 and type the answer here:
  • Post
  • Is it possible to disable the create/add new vm wizard that ALWAYS starts when Virtual PC is loaded without any VMs in the console??
  • Hmmm, once upon a time a certain famous company decided that programs should use the registry instead of ini files.  Then they added some registry keys and added code to some APIs so that programs that think they're accessing ini files will be redirected invisibly to use the registry instead.  Anyone know when they'll do the same to xml files?

    (This isn't a statement in favour of either the registry or human readable configuration files.  It's just an observation of how the pendulum swings, or how different fragments of the pendulum swing in different directions.)
  • Morgan -

    No sorry.

Page 1 of 1 (3 items)