How to fix hard disk space issue in VMs with Windows on WEkEO Elasticity


While running VM with hard drive space bigger than 100 GB, users may experience situation, in which only some part of space is allocated to emulate disk.

User could fix it by running a small bat file from Console cmd.exe (Command Line runned with Elevated admin rights) or manually from graphic interface. Both metods are descibed below.

Fix disk size problem using command line

  1. Create new empty document in example in Notepad.exe

  2. Paste into it:

(echo Rescan
echo List Disk
echo Select Disk 0
echo List Partition
echo Select Partition 1
echo Extend
)  | diskpart
  1. Save it as .bat or .cmd file

  2. Right click on newly created file and select Run As Administrator.

  3. New CMD window will be opened with final statement of the operation: Done or Failed.

  4. CMD window could be closed. If operation failed, please try second method below.

Fix disk size problem using Windows graphical interface


Choose Computer Management.


To increase space on existing volume, right-click C: drive and Extend Volume.


Select desired size and click Next, confirm whole operation by clicking Finish.


To make a new partition, right-click on the “Unallocated” box and choose New Simple Volume…


Accept selected options by clicking Next and Finish.

More manuals for Windows you can find here