The steps are here:
1. Check all of our disks
2. Create a copy of disk with new name and new type - dynamic with this in my case
Code: Select all
VBoxManage.exe clonemedium disk "E:\VMs\WS2019\WS2019.vdi" "E:\VMs\WS2019\WS2019dyn.vdi" -variant Standard
I really don't undestand why dymamic disk is called: Standart....

- bandicam 2022-02-13 10-00-55-192.jpg (82.48 KiB) Viewed 3053 times
3. Remove our drive from GUI

- bandicam 2022-02-13 09-59-17-808.jpg (86.6 KiB) Viewed 3053 times
4. Remove our old VDI disk from disk list (
but in my case i remove old and new disk because it was an error while additing a new one)
Code: Select all
VBoxManage.exe closemedium OLD_DISK_UUID --delete
Where OLD_DISK_UUID is UUID number of an old disk
5. Rename a new diks with the name of old, in my case WS2019dyn.vdi to WS2019.vdi
6. Add disk to VM

- add disk to VM.jpg (23.3 KiB) Viewed 3053 times
7. Resize our disk C (in my case) with standart
Computer Management GUI