News

Thursday, May 24, 2012

Use extpart to extend a Windows XP virtual machine partiton remotely


Place the a folder containing computers.txt, extpart.exe, psexec.exe, and start.bat on the root of your C: drive before running. Replace computername, username, & password. Last number is size in MB you want to add to the existing disk size that you have already increased in the Virtual Machine settings.
START.BAT:

psexec.exe @COMPUTERS.TXT -u username -p password -c -e -f %cd%\extpart.exe c: 20496
pause
rem 20GB = 20496

No comments:

 
Free Hit Counter