Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security, Veeam & DevOps

  • Home
  • About
  • Advertise With US
  • Reviews
  • Contact
  • Toggle search form

How to Compact Virtual Hard Disks on VMware

Posted on 08/06/202314/08/2026 Christian By Christian No Comments on How to Compact Virtual Hard Disks on VMware
  1. Home
  2. Virtualization
  3. How to Compact Virtual Hard Disks on VMware
Compacting VHD

Compacting a virtual hard disk can reclaim unused space in the virtual disk. Modern disks and operating systems are much more efficient at managing disk space than in the recent past. Therefore, do not expect the compacting procedure to return large amounts of disk space to the host drive. In this article, I will be showing you how to Compact Virtual Hard Disks on VMware. Please see How to disable unused Cisco Access Ports, How to disable automatic Offloading of Apps on iPhones, and how to Initialize and format a virtual disk: How to add and remove a new virtual disk from a VM on VMware Workstation.

Modern disks and operating systems are more efficient at managing disk space than in was the recent past. Therefore, do not expect the compacting procedure to return large amounts of disk space to the host drive. Please see how to create and add a new virtual disk to a VM on VMware Workstation_oldPost, and how to Uninstall Apps automatically: How to automatically Offload Unused Apps on iPhone.

The Prerequisites to Comparting Virtual Disk

Kindly note the following prerequistes. You cannot compact a virtual hard disk if disk space is preallocated or if the virtual hard disk is mapped or mounted. Also, if the virtual hard disk is an independent disk, it has to be in persistent mode. See how to extend a VM Hard Disk on VMware Workstation.

Reclaim vHD on VMware Workstation

To reclaim or compact a virtual hard disk for a selected virtual machine. Please select the VM, and click on Settings. In the Virtual Machine Settings, under the Hardware. Click on the Hard Disk tab.

Next, select the Hard Disk, and select Compact from the Utilities menu on the right hand side of the window.

Compact-Disk-To-reclaim-unused-space

As you can see, the Virtual disk is being compacted. After a while, you will get a prompt that the virtual disk has been successful compacted.

Comating Virtual Disk

I hope you found this blog post helpful on how to Compact Virtual Hard Disks on VMware. Please let me know in the comment section if you have any questions.

Thank you for reading this post. Kindly share it with others.

  • Share on X (Opens in new window) X
  • Share on Reddit (Opens in new window) Reddit
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on Facebook (Opens in new window) Facebook
  • Share on Pinterest (Opens in new window) Pinterest
  • Share on Tumblr (Opens in new window) Tumblr
  • Share on Telegram (Opens in new window) Telegram
  • Share on WhatsApp (Opens in new window) WhatsApp
  • Share on Mastodon (Opens in new window) Mastodon
  • Share on Bluesky (Opens in new window) Bluesky
Virtualization Tags:VMware, Windows 10, Windows 11, Windows Server 2016

Post navigation

Previous Post: Prevent Windows from Saving RDP Connection History
Next Post: Prevent users from saving RDP Credentials on Windows 11

Related Posts

  • ESNAS Virtualization 01
    How to remove Recent vSphere Client Connections Virtualization
  • Enable Hyper V on Windows 11 Create a VM with PowerShell
    Run Hyper-V on Windows 11: Convert Physical PC to Hyper-V VM Virtualization
  • Screenshot
    Setup iSCSI Target and Storage LUN on Synology DS923+ for VBR Reviews
  • NFS Storage and Present it to XCP ng
    Create an NFS Storage on Synology NAS and Present it to XCP-ng Virtualization
  • vSwitches
    vSwitches: How to delete Virtual Switches from Hyper-V Virtualization
  • vmwarevinchin
    3 Ways to Convert VMware VMs to Hyper-V Backup

More Related Articles

How to configure Azure container register with secured connection with container apps Configure Azure Container Registry for a secure connection with Azure Container Apps AWS/Azure/OpenShift
vmwarevinchin 3 Ways to Convert VMware VMs to Hyper-V Backup
How to Remove Hyper V How to uninstall Hyper-V on a Windows PC Virtualization
nested virtualization Enable the Virtual Machine Platform Windows Feature and ensure Virtualization is enabled in the BIOS Virtualization
screenshot 2020 03 21 at 22.44.04 How to use Hyper-V checkpoint to restore a VM to its previous state Virtualization
VMware Error Fix How to fix “The process cannot access the file because another process has locked a portion of the file” Virtualization

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

vexpert-badge-stars-5

Virtual Background

VEEAMLEGEND

Categories

Top 30 Sysadmin blog

veeaam100

Veeam Vanguard

  • veeam
    Fix Failed to connect to Veeam Backup and Replication Server Backup
  • windows server
    How to backup and restore a Windows DHCP Server via the DHCP Manager and PowerShell Windows Server
  • systemd services
    How to use Systemd Timers on Linux Linux
  • Remove icons from Launchpad
    Remove an icon from launchpad that has been deleted Mac
  • ADDS vs AD LDS
    Differences between AD LDS and AD DS Windows
  • https specials images.forbesimg.com imageserve 4c098735a05b4251a85e8505c91f1837 0x0
    Fix insufficient access rights to perform this operation when trying to enable Active Directory Recycle Bin Windows Server
  • coding
    Git GUI and Gitk won’t open “Missing Tcl / Tk Aqua libraries” Version Control System
  • youtube cover blue
    How to use the Azure Cloud Shell or Azure CLI and Azure PowerShell AWS/Azure/OpenShift

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1,745 other subscribers
  • RSS - Posts
  • RSS - Comments
  • About
  • Authors
  • Write for us
  • Contact
  • Advertise with us
  • General Terms and Conditions
  • Privacy policy
  • Feedly
  • Telegram
  • Youtube
  • Facebook
  • Instagram
  • LinkedIn
  • Tumblr
  • Pinterest
  • Twitter
  • mastodon
  • Bsky

Tags

Active Directory Azure Bitlocker Microsoft Windows PowerShell WDS Windows 10 Windows 11 Windows Deployment Services Windows Server 2016

Copyright © 2026 TechDirectArchive

Loading Comments...

You must be logged in to post a comment.