Skip to content

Instantly share code, notes, and snippets.

@ralphcrisostomo
Created March 15, 2013 02:29
Show Gist options
  • Save ralphcrisostomo/5167063 to your computer and use it in GitHub Desktop.
Save ralphcrisostomo/5167063 to your computer and use it in GitHub Desktop.
Windows XP VHD .vmc configuration for expiration date problem
<?xml version="1.0" encoding="UTF-16"?>
<!-- Microsoft Virtual Machine Options and Settings -->
<preferences>
<version type="string">2.0</version>
<event_logging>
<preference_change>
<enabled type="boolean">false</enabled>
</preference_change>
</event_logging>
<hardware>
<bios>
<time_sync_at_boot type="boolean">false</time_sync_at_boot>
<base_board>
<serial_number type="string">3545-0023-7848-3770-7314-1406-66</serial_number>
</base_board>
<bios_serial_number type="string">3545-0023-7848-3770-7314-1406-66</bios_serial_number>
<chassis>
<asset_tag type="string">8449-2360-5088-2353-8641-7528-93</asset_tag>
<serial_number type="string">3545-0023-7848-3770-7314-1406-66</serial_number>
</chassis>
<cmos type="bytes">00004000F020378002FFFF2F00FF3F1000003F00000000000031004C07070707065CFFFF208580FF01000000200C01800CFC00000000000000000000000000901A32E252580050E999E62401002784004A2080240000000000085AACFE1032547698BAE400000000000003000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000</cmos>
<time_bytes type="bytes">00000000000000311211</time_bytes>
<bios_guid type="string">{23E7A49E-39DC-477D-8E3B-E333DFFEB033}</bios_guid>
</bios>
<memory>
<ram_size type="integer">512</ram_size>
</memory>
<pci_bus>
<ethernet_adapter>
<controller_count type="integer">1</controller_count>
<ethernet_controller id="0">
<ethernet_card_address type="bytes">0003FF4E4728</ethernet_card_address>
<id type="integer">0</id>
<virtual_network>
<id type="bytes">01010101010101010101010101010101</id>
<name type="string">Shared Networking (NAT)</name>
</virtual_network>
</ethernet_controller>
</ethernet_adapter>
<video_adapter>
<vram_size type="integer">16</vram_size>
</video_adapter>
<ide_adapter>
<ide_controller id="1">
<location id="0">
<drive_type type="integer">2</drive_type>
<pathname>
<absolute type="string" />
<relative type="string" />
</pathname>
</location>
</ide_controller>
<ide_controller id="0">
<location id="0">
<drive_type type="integer">1</drive_type>
<pathname>
<absolute type="string">E:\XP VPC\Windows XP.vhd</absolute>
<relative type="string">.\Windows XP.vhd</relative>
</pathname>
<undo_pathname>
<absolute type="string" />
<relative type="string" />
</undo_pathname>
</location>
</ide_controller>
</ide_adapter>
</pci_bus>
<standard>
<name type="string">Virtual PC 7</name>
<version type="string">0001.0000.0000</version>
</standard>
<super_io>
<floppy id="0">
<pathname>
<absolute type="string" />
</pathname>
</floppy>
<parallel_port>
<port_type type="integer">0</port_type>
</parallel_port>
<serial_port>
<connect_immediately type="boolean">false</connect_immediately>
</serial_port>
<serial_port id="0">
<port_type type="integer">0</port_type>
</serial_port>
<serial_port id="1">
<port_type type="integer">0</port_type>
</serial_port>
</super_io>
</hardware>
<integration>
<microsoft>
<folder_sharing>
<enabled type="boolean">false</enabled>
<load_allowed type="boolean">false</load_allowed>
</folder_sharing>
<heartbeat>
<failure_attempts type="integer">12</failure_attempts>
<failure_interval type="integer">10</failure_interval>
<rate type="integer">10</rate>
<time type="integer">60</time>
</heartbeat>
<host_time_sync>
<enabled type="boolean">false</enabled>
<frequency type="integer">15</frequency>
<threshold type="integer">10</threshold>
</host_time_sync>
<mouse>
<allow type="boolean">true</allow>
</mouse>
<version>
<guest_os>
<build_number type="string">5.01.2600</build_number>
<long_name type="string">Windows&amp;reg; XP Professional</long_name>
<revision_number type="string">Service Pack 3</revision_number>
<short_name type="string">Windows&amp;reg; XP Professional</short_name>
<computer_name type="string">iecompatvhd</computer_name>
</guest_os>
<additions_number type="string">14.1.7600.16403</additions_number>
</version>
</microsoft>
</integration>
<properties>
<creator>
<build type="string">6.1.7601.17514</build>
<name type="string">Virtual PC</name>
</creator>
<modifier>
<build type="string">6.1.7601.17514</build>
<name type="string">Virtual PC</name>
</modifier>
</properties>
<settings>
<configuration>
<next_id type="integer">1</next_id>
<saved_state>
<path>
<absolute type="string" />
<relative type="string" />
</path>
</saved_state>
</configuration>
<disks>
<track_disk_cache>
<enabled type="boolean">true</enabled>
</track_disk_cache>
</disks>
<host>
<resource_control>
<cpu>
<host_processors type="integer">1</host_processors>
</cpu>
</resource_control>
</host>
<notes type="string" />
<shutdown>
<quit>
<action type="integer">0</action>
</quit>
</shutdown>
<sound>
<sound_adapter>
<enable type="boolean">true</enable>
</sound_adapter>
</sound>
<undo_drives>
<always type="boolean">false</always>
<default_action type="integer">1</default_action>
<enabled type="boolean">false</enabled>
<purposely_kept type="boolean">false</purposely_kept>
<use_default type="boolean">true</use_default>
</undo_drives>
<video>
<enhanced_mode type="boolean">true</enhanced_mode>
<full_screen type="boolean">false</full_screen>
</video>
<guest_os type="integer">3</guest_os>
<globalconfigid type="string">{9FCB6F15-3DA6-473B-A4B0-138CC7F59D57}</globalconfigid>
</settings>
<virtual_machines>
<allow_packet_filtering type="boolean">false</allow_packet_filtering>
<allow_promiscuous_mode type="boolean">false</allow_promiscuous_mode>
</virtual_machines>
<ui_options>
<dvd_none type="boolean">true</dvd_none>
<guest_rail_enabled type="boolean">false</guest_rail_enabled>
<use_enhancedmode type="boolean">true</use_enhancedmode>
<audio_redirect type="boolean">true</audio_redirect>
<share_clipboard type="boolean">true</share_clipboard>
<share_printer type="boolean">true</share_printer>
<dynamicdrives_redirection type="boolean">false</dynamicdrives_redirection>
<share_drives type="string" />
<smartcards type="boolean">true</smartcards>
<window_xpos type="integer">4294966219</window_xpos>
<window_ypos type="integer">11</window_ypos>
<full_screen type="boolean">false</full_screen>
<resolution_height type="integer">768</resolution_height>
<resolution_width type="integer">1024</resolution_width>
</ui_options>
<multi_channel type="boolean">true</multi_channel>
<vm_state_rail>
<virtual_applications_exist type="boolean">false</virtual_applications_exist>
</vm_state_rail>
</preferences>
@keithcorcoran
Copy link

copied and pasted this into my .vmc and still locked out of the desktop due to expiration notice. Any ideas?

@uchala0420
Copy link

Hi,

i just need exactly opposite to this ,

my virtual machine clock is not in sync with local machine .

on starting my virtual machine its showing exactly 1 hour delay to my local machine.

example like if its 6:00pm in local machine its showing 5:00pm in my virtual machine (all my jobs i am scheduling from my virtual machine are kicking off 1 hour delay due to this )

Any suggestions please .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment