ExtPart.exe kun je hier downloaden: http://support.dell.com/support/downloads/

Start de ExtPart.exe op en pak de bestanden uit naar de default directory.

In deze post voeg ik 2GB toe aan de VM.

image

Even wachten totdat de taak klaar is.

image

Nu wordt het tijd om naar de tool ExtPart.exe te kijken.

Via het commando: ExtPart.exe /? krijg je de volgende output:

C:\dell\ExtPart>extpart /?

ExtPart – Utility to extend basic disks (Build 1.0.4)
(c) Dell Computer Corporation 2003

Usage: extpart [volume size]
volume  – volume to expand. eg. f:, g: etc. (only basic volumes)
size    – size in megabytes to expand the volume

Return codes for script mode
(If parameters are not specified extpart will run in interactive mode)
0       – Success
1       – Parameter error. size parameter is invalid
2       – Invalid volume or failed to connect to volume
3       – Invalid volume type or failed to get volume properties
4       – Requested size is invalid or volume expansion operation failed
5       – Unable to retrieve volume properties after expansion completed
6       – Invalid size requested for expansion (minimum value is 8 MB)

Oké nu we weten hoe het commando werkt voeren we het volgende commando uit:

ExtPart.exe C: 2048 (je moet de waarde in MB’s opgeven)

C:\dell\ExtPart>extpart.exe C: 2048

ExtPart – Utility to extend basic disks (Build 1.0.4)
(c) Dell Computer Corporation 2003

Current volume size     : 8181 MB (8578934272 bytes)
Current partition size  : 8181 MB (8578934784 bytes)

New volume size         : 10228 MB (10725732352 bytes)

De opdracht lijkt succesvol maar we kijken het nog even na binnen Windows:

image

De credits gaan naar drexciya die deze tool tipte op het vmug forum: http://www.vmug.nl

7 thoughts on “VMware: Extend the OS disk the easy way (ExtPart.exe)

  1. I have tried .. but while executing extpart.exe C: 17000 its give message that cannot connect to C:, …..C: does exist since thats where i am executing this commad from… any idea why this error

  2. Hoe lang duurt zo’n extpart.exe actie ongeveer? Als maten er toe doen, van 6 naar 10 GB onder msWindows 2003…

    En wat als je geen maat op geeft? gaat ze dan voor de ruimte die er is? of doet ze gewoon niets (vergroten met 0 MB)?

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.