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/202313/02/2025 IT Expert By IT Expert 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.

5/5 - (1 vote)

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
  • Share on Threads (Opens in new window) Threads
  • Share on Nextdoor (Opens in new window) Nextdoor
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

  • extend proxmox local container instance
    How to extend Proxmox Local Container Storage Virtualization
  • VMware Aria
    VMSA-2022-0026: An arbitrary file read vulnerability in VMware Aria Operations Security | Vulnerability Scans and Assessment
  • Entire VM restore
    Restore VM to Original location using Veeam Entire VM restore Backup
  • Add additional Windows drives
    How to Add Another Hard Drive to a Virtual Machine in HyperV  Virtualization
  • Screenshot 2020 05 13 at 22.49.32
    Fix for a boot image was not found for HyperV Virtual Machine Virtualization
  • vcenter sign on
    CVE-2021-22048: VMware vCenter Server updates address a privilege escalation vulnerability Security | Vulnerability Scans and Assessment

More Related Articles

extend proxmox local container instance How to extend Proxmox Local Container Storage Virtualization
VMware Aria VMSA-2022-0026: An arbitrary file read vulnerability in VMware Aria Operations Security | Vulnerability Scans and Assessment
Entire VM restore Restore VM to Original location using Veeam Entire VM restore Backup
Add additional Windows drives How to Add Another Hard Drive to a Virtual Machine in HyperV  Virtualization
Screenshot 2020 05 13 at 22.49.32 Fix for a boot image was not found for HyperV Virtual Machine Virtualization
vcenter sign on CVE-2021-22048: VMware vCenter Server updates address a privilege escalation vulnerability Security | Vulnerability Scans and Assessment

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

VEEAMLEGEND

vexpert-badge-stars-5

Virtual Background

GoogleNews

Categories

veeaam100

Veeam Vanguard

  • mdtxxxxx
    Failed to run the action install Operating System: Lifetouch deployment failed, Return Code = -2147467259 0x80004005 when installing Windows image via MDT Windows
  • 10.0.17763.1 error
    Fix Windows 10 Setup 1809 build 10.0.17763.1 is not supported Error Windows Server
  • Preventing Attacks on Cisco Switches Blog Header
    How to enable ssh via ASDM on Cisco ASA Network | Monitoring
  • Screenshot
    An error occurred while attempting to start the selected VM Virtualization
  • How to stop remove and manage docker container
    Stopping, Removing and Naming Docker Container Containers
  • windows admin center banner 825x400 1
    Fix failed to create new Scheduled Task RemoteException Windows Server
  • Edge browser
    Enable or disable Microsoft Edge from showing Web Content Windows
  • f97cd picture1 128
    How to disable Windows Hardware Power Button Windows

Subscribe to Blog via Email

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

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

Tags

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

Copyright © 2025 TechDirectArchive

Loading Comments...

You must be logged in to post a comment.