13 November 2019

How to resize partition from Windows command line

If you have already resized your disk in VM disk size, then you can do the remaining from command line. You can do it even remotely using psexec.exe (psexec diskpart \\yourservername)

You need to run diskpart.exe and give only 2 commands there:

sel vol c:
ext

After that you partition is resized. If you need to resize some other drive letter, then you must surf around and find the right volume using commands like list disk or list volume or list partition.

No comments:

Post a Comment