I got a VM running Windows Server 2003 and it's running out of disk space on C: drive. Before I can install new software I need to increase the size of C: drive first. I thought I did something similar before but couldn't come up with what I did exactly. So this short note will serve as a future reference.
Here are the steps I went through.
1)Increase VM hard disk. I checked this and decided that was what I need. First clean up all snap shots because the following command won't work if there is a chain of snap shots. Then open a command line prompt, with the VM power off, go to the directory where the VM is, and run something like
vmware-vdiskmanager -x 16GB myDisk.vmdk
After doing this in the VM settings I could see the maximum size of C: drive was increased to 16GB.
So I turned on the VM and check the property of C: drive. It turned out the size wasn't changed at all. After some research on the web, I turned to Easeus Partition Manager software to resize drive C. Since the free version won't work on server so I had get a server version of it.
2)Resize drive C to 16G with Easeus Partition Manager. This is pretty much a piece of cake.