![vmkfstools windows vmkfstools windows](https://think.unblog.ch/wp-content/uploads/2015/09/vmkfstools.jpg)
Next, shrink disk on the operating system (Note: DESIRED= Specifies the desired amount of space in megabytes (MB) to reduce the volume). Note: File fragments larger than 64MB are not included in the fragmentation statistics. Invoking free space consolidation on (C:). C:\Users\Administrator> defrag C: /X Microsoft Drive Optimizer
Vmkfstools windows software#
If you have problem with other OS files, use 3rd party software to move it. If you have a problem with the pagefile, disable it or move temporarily to another partition. TIP!: Disk defragmenter cannot move some OS files. We can use a Windows disk defragmenter or 3rd party software ( /X perform free space consolidation on the specified volumes). We need to migrate the data from the end of the disk to ensure the data will not be lost. Power on VM and log into OS (user needs sufficient privileges). We need at least MB/GB/TB on one of our datastores.įirst, we need to shutdown VM and inflate our VMDK file.The procedure is limited to MS Windows VMs.Our VMDK disk has to be thick (if your disk is thin, inflate provisioned disk).We don’t want to fight with parent and children disks, so delete all snapshots.Keep in mind that VMware may not officially support this and before you start, do a backup (not snapshot)! I will show you different ways that I did a lot of times, and it works.
![vmkfstools windows vmkfstools windows](https://toggen.com.au/wp-content/uploads/2014/12/putty_vmkfstools-punchzeroes.png)
If you know other ways, share that in the comments. I think that’s all if we are talking about supported ways. Use Storage vMotion and change disk format to thin – I know that it is not shrinking, but we can reclaim storage space in that way.Use VMware Converter – supported by VMware when using VMware Converter converting source virtual machine as a machine source (not as virtual to virtual).For example, we had a virtual machine that required 1000GB disk space on the first partition, but we moved all files to the second partition, and only OS left, so we now need only 50GB.
![vmkfstools windows vmkfstools windows](https://lost-in-it.de/wp-content/uploads/2018/11/vsphere-performance.png)
Usually, you don’t need a maintenance window for that. Just grow VMDK disk on VMware and then on the operating system. Extending a virtual disk is a common task.