How To Resize Windows 2003 Server Virtual Disk on VMware ESX
Posted by jlchannel - on January 13th, 2009 in Operating Systems, Server, Tips | 21 Comments »

The following guide explain “How to resize Windows 2003 server (boot system) virtual disk on VMware ESX”.
Preliminary Note
- Operating System: Windows 2003
- Hostname: Win07
- Initial drive c: hard disk space: 12 GB
- Allocate additional hard disk space: 8GB
- Total size(resize) = 20GB
- VMware ESX version 3.5 update 3
- GPart LiveCD 0.3.9-4
Note: We’re NOT warranty and response for any disk corruption. Please make sure you have BACKUP before proceed.
Here you go step by step:
- Power off Windows 2003 virtual machine.
- Resize existing hard disk size from 12Gb to 20Gb.
- Power on Windows 2003 virtual machine and make sure you can see additional disk allocated.
- Once again, restart Windows 2003 virtual machine and boot with GPart LiveCD(default settings).
- Select ‘Don’t touch keymap’ and press ‘ENTER’.
- Press ’33′ and ‘ENTER’.
- Please ‘ENTER’ to continue.
- Right click on GParted menu -> click ‘Resize/Move’.
- Use your mouse and scroll/resize /dev/sda1 to maximum size.
- Click ‘Resize/Move’.
- Click ‘Apply’ twice.
- Click ‘Close’.
- Restart Windows 2003 virtual machine again and I would suggest you run Windows checkdisk(chkdsk) during boot up.
- Go to Windows Disk Management tools.
- Gongratulation if you can see 20Gb drive C: available.
Any feedback or comment are welcome and I hope this guide is helpful.








21 Responses
Couldn’t you just get Extpart from Dell and do it within the Windows 2003 OS? No reboot required.
http://support.dell.com/support/downloads/download.aspx?c=us&cs=19&l=en&s=dhs&releaseid=R64398&formatcnt=2&fileid=83929
Hi ,
why not to used the diskpart command to extend the unallocated space ?
Thanks
LeongKO
Hi Dean, Dell EXTPART command worked like a charm thanks
Hi LeongKO, I don’t think you can extend system drive online with diskpart command.
In order to use Diskpart, you required to boot from Winpe which require down time still. System partition could not be done online
This guide is also good using diskpart
http://vmprofessional.com/index.php?content=2k3resize
The screen shot show it only apply to non system disk. As I mentioned earlier, diskpart require downtime if you use it to resize system partition. You may need to boot it with winpe to do it for system partition
Few more methods can be found @ http://vmware-land.com/Resizing_Virtual_Disks.html
If you do have the partition magic, you can re size without down time and interruption
http://sites.google.com/site/thevmhut/Home/vmware/esx-3-5/how-to-expand-a-vm-system-drive
Works fine with gparted. thanks for publishing,
best regards
Albert
Thanks Superman. Your procedure worked great for me. I was using W2003 SP2 on ESXi 3.5u3.
HI All ,
recently i try this software called acronis disk director server version 10 to extend my C:\ drive partition without reboot the server.
Thanks
LeongKO
is this software consider free?
Hi Craig ,
The software is license .
Thanks
LeongKO
If you have upgraded to vSphere then this process is now much easier. I have found an alternative way to do this here:
http://www.jjclements.co.uk/index.php/2009/09/14/vmware-esx-vsphere-resize-disk
The solution sounds good, but I will not take risk to do this on my operating system partition. For dev and test machine I may consider that. Thanks for sharing.
You can very well expand system partitions with ExtPart with no downtime at all.
I have tried this in a production environment and it works well. After all, I don’t imagine there would be much harm in using this if you have taken a snapshot before hand?
As I know, partition magic doesn’t support Windows Server 2003. There are other tools, such as diskpart, partition master, GParted and so on. They all can resize the partitions on Server 2003. GParted is complex to resize. I use partition master, it is easy to resize Windows Server 2003 virtual disk on VMware(http://www.partition-tool.com/resource/vmware-server-partition-resize.htm), no need to reboot (http://www.partition-tool.com/easeus-partition-manager/extend-ntfs-system-partition-without-reboot.htm).
In almost every VMware system, it doesn’t have the function about disk partition management itself. An article about “How to Manage Window Disk Partition in VMware and VMDK?” http://www.extend-partition.com/resource/disk-partition-vmware-and-vmdk.html