[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More


Add extra HDD space to Windows XP / Server 2003 in XenServer VM

Published on
8,842 Points
1 Endorsement
Last Modified:
I came across this issue when I first started using Citrix XenServer on version 5.5, and strictly speaking isn't a limitation of XenServer but of the Windows guest operating system.

There is no native method to expand the SYSTEM partition in Windows XP / Server 2003.  Later versions, Vista onwards on the client side and Server 2008 onwards can Extend the system partition either using DISKPART command line tool or in Disk Management.

My method for increasing the space available to a Server 2003 VM is as follows.  It relies upon having a running Server 2008 or Vista PC to perform some steps:

| - - - - - - - - - - - - - - - - - -Begin Instructions - - - - - - - - - - - - - - -
Shutdown the VM
On the storage tab, increase the size of the Virtual Disk as required
Detach the Virtual Disk from the VM
Attach the Virtual Disk to your running Server 2008
Use Disk Management to Extend Volume on the Virtual Disk, to fill the newly created extra space
Right click, and set this disk to Offline
In XenCenter, Detach the Virtual Disk from the temporary VM
Re-attach the Virtual Disk to the original VM
Boot the VM
| - - - - - - - - - - - - - - - - - -End of Instructions - - - - - - - - - - - - - - -

Once you've completed these steps your VM will have the required extra storage available.  This is a great way to achieve the desired result using built in Microsoft operating system commands, without having to resort to 3rd party paid for software.

Be careful to DETACH the Virtual Disk from the VM, rather than DELETING it!
Author:Mark Damen

Featured Post

Introduction to Web Design

Develop a strong foundation and understanding of web design by learning HTML, CSS, and additional tools to help you develop your own website.

Join & Write a Comment

In this video tutorial I show you the main steps to install and configure  a VMware ESXi6.0 server. The video has my comments as text on the screen and you can pause anytime when needed. Hope this will be helpful. Verify that your hardware and BIO…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…

Keep in touch with Experts Exchange

Tech news and trends delivered to your inbox every month