Microsoft KB Archive/888760

= How to prepare a Virtual Server 2005 virtual hard disk file to send to Microsoft Product Support Services =

Article ID: 888760

Article Last Modified on 11/29/2007

-

APPLIES TO


 * Microsoft Virtual Server 2005 Standard Edition

-





INTRODUCTION
This article describes the steps that we recommend that you follow to prepare a Microsoft Virtual Server 2005 virtual hard disk (.vhd) file before you send it to Microsoft Product Support Services (PSS).

If you contact PSS to help you troubleshoot a problem that you experience, you may want to send a Virtual Server 2005 virtual hard disk file to PSS to help reproduce the environment that you experience this problem in. Because these .vhd files may be large, this article contains steps that you can use to help reduce the size of the .vhd file.



MORE INFORMATION
To submit a file to PSS, you can ship the file on physical media such as a CD or a DVD, or you can transfer the file to Microsoft over the Internet. We recommend that you do not try to transfer a virtual hard disk file that is more than 2 gigabytes (GB) over the Internet. Instead, store or &quot;burn&quot; this file on a DVD. For larger files, divide the image into files that are no larger than 4 GB, and burn those 4-GB files to as many DVD discs as you require.

Note It is not important which tool you use to divide the virtual hard disk images into 4-GB files. However, verify that the PSS support professional has access to the same tool.

To help reduce the size of a virtual hard disk file, follow these steps:  Start the virtual machine, and then remove all nonessential files from the virtual hard disk that you want to send to PSS. In the virtual machine, run the Disk Defragmenter tool to defragment the virtual hard disk that you want to send to PSS. To do this, follow these steps:

Note Because there are several versions of Microsoft Windows, the following steps may be different on your computer. If they are, see your product documentation to complete these steps.  Click Start, and then click My Computer. Right-click the hard disk that you want to defragment, and then click Properties. Click the Tools tab, and then click Defragment Now. Click Defragment.</ol>

You can also defragment the hard disk at the command prompt. To do this, follow these steps: <ol style="list-style-type: lower-alpha;"> Click Start, click Run, type cmd, and then click OK.</li> Type defrag /? to view a list of the available options for the Disk Defragmenter tool.</li></ol> </li> In the virtual machine, run the Virtual Disk Precompactor tool to prepare the virtual hard disk for compacting. You can find Virtual Disk Precompactor.iso in the following folder:

%systemdrive%\Program Files\Microsoft Virtual Server\Virtual Machine Additions\

If your virtual machine is running when you capture Virtual Disk Precompactor.iso, Virtual Disk Precompactor starts automatically. If you click Yes when you are prompted, Virtual Disk Precompactor precompacts all the virtual hard disks for this virtual machine. If Virtual Disk Precompactor does not start automatically, you can start it by browsing to the CD drive of the guest operating system and double-clicking Precompact.exe. For more information about how to obtain Virtual PC 2004 SP1, visit the following Microsoft Web site:

http://download.microsoft.com/download/d/6/e/d6e2c854-a891-49af-b398-d9de734bd30d/Relnotes.htm#BKMK_Virtual_Disk_Precompactor

</li> Run the Inspect command to compact the virtual hard disk file. To do this, follow these steps: <ol style="list-style-type: lower-alpha;"> Click Start, point to All Programs, point to Microsoft Virtual Server, and then click Virtual Server Administration Website.</li> Type your credentials in the User name box and in the Password box, and then click OK.</li> Under Virtual Disks, click Inspect.</li> In the Known virtual hard disks list, click the virtual hard disk that you want to compact.

Note You can also type the path of the virtual hard disk in the Fully qualified path to file box.</li> Click Inspect.</li> Under  .vhd Actions, click Compact virtual hard disk, and then click Compact.</li></ol> </li> Use a file compression program, such as WinZip, to archive the virtual hard disk file.</li></ol>

For more information about how to contact PSS, visit the following Microsoft Web site:

http://support.microsoft.com

For more information about Virtual Server 2005, visit the following Microsoft Web site:

http://www.microsoft.com/windowsserversystem/virtualserver/default.mspx

The third-party products that this article discusses are manufactured by companies that are independent of Microsoft. Microsoft makes no warranty, implied or otherwise, about the performance or reliability of these products.

Keywords: kbhowto kbinfo kbdiskmemory KB888760

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.