Forums
New posts
Search forums
News
Security News
Technology News
Giveaways
Giveaways, Promotions and Contests
Discounts & Deals
Reviews
Users Reviews
Video Reviews
Support
Windows Malware Removal Help & Support
Mac Malware Removal Help & Support
Mobile Malware Removal Help & Support
Blog
Log in
Register
What's new
Search
Search titles only
By:
Search titles only
By:
Reply to thread
Menu
Install the app
Install
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Forums
Security
Guides - Privacy & Security Tips
How to Clean Up a Virtual Hard Disk on Windows Hosts
Message
<blockquote data-quote="Adhit Prakosho" data-source="post: 278014" data-attributes="member: 27927"><p>When you delete files from your virtual machine, the disk space occupied by those files is not immediately returned to your host system. If a virtual disk has such empty space, you can use the Clean up disks command to return that space to the hard drive on a Microsoft Windows host.</p><p></p><p>On my PC (Just run a VM and update AV in VM (<strong>not even delete any file</strong>)) :</p><p><img src="http://www.4shared.com/download/5W3gyHYjce/1_online.png?lgfp=3000" alt="" class="fr-fic fr-dii fr-draggable " style="" /> </p><p><img src="http://www.4shared.com/download/O01e4aYbba/2_online.png?lgfp=3000" alt="" class="fr-fic fr-dii fr-draggable " style="" /> </p><p></p><p><strong>The Clean up disks</strong> command is similar to the Compact command in the Workstation virtual machine settings and the shrink command provided by VMware Tools. <strong>The Clean up disks</strong> command has these advantages:</p><ol> <li data-xf-list-type="ol">You can use the <strong>Clean up disks</strong> command with virtual machines that have snapshots or are linked clones or parents of a linked clone.<br /> </li> <li data-xf-list-type="ol">The <strong>Clean up disks</strong> command reclaims more disk space than the Compact command.<br /> The <strong>Clean up disks</strong> command reclaims disk space from the current state of the virtual machine, from any powered-off snapshots, and from any powered-on snapshots where the guest operating system is Windows XP or later and you have installed a version of VMware Tools that is compatible with Workstation 8 or later.</li> <li data-xf-list-type="ol">Unlike the <strong>Defragment</strong> command and the <strong>shrink</strong> command provided by VMware Tools, the <strong>Clean up disks</strong> command does not require any extra disk space on the host. The <strong>Clean up disks</strong> command operates directly on the virtual disk (.vmdk) files.</li> </ol><p>Note: This command is not available for shared or remote virtual machines.</p><p></p><p><strong>Prerequisites:</strong></p><ol> <li data-xf-list-type="ol">Verify that you are using a Windows host and that the guest operating system uses NTFS. (NTFS is standard in Windows XP or later operating systems.) This feature works on all NTFS hard disks but reclaims more disk space if the operating system is Windows XP or later.<br /> </li> <li data-xf-list-type="ol">Shut down or power off the virtual machine. You cannot use this command while the virtual machine is powered on or suspended.</li> </ol><p><strong>Procedure:</strong></p><ol> <li data-xf-list-type="ol">Select the virtual machine in the library.<br /> </li> <li data-xf-list-type="ol">From the menu bar, select VM > Manage > Clean Up Disks.<br /> Workstation calculates how much space can be reclaimed, and either the Clean Up Now button becomes available or a message appears, explaining why the command is unavailable.</li> <li data-xf-list-type="ol">Click Clean Up Now to start the process.<br /> A dialog box reports the progress of the clean-up process.</li> </ol><p></p><p><a href="http://pubs.vmware.com/workstation-10/index.jsp?topic=%2Fcom.vmware.ws.using.doc%2FGUID-421A1073-BF16-4BC7-AA76-46B954CA438D.html" target="_blank">Source</a></p><p><a href="http://pubs.vmware.com/workstation-10/index.jsp?topic=%2Fcom.vmware.ws.using.doc%2FGUID-421A1073-BF16-4BC7-AA76-46B954CA438D.html" target="_blank"></a></p><p><a href="http://pubs.vmware.com/workstation-10/index.jsp?topic=%2Fcom.vmware.ws.using.doc%2FGUID-421A1073-BF16-4BC7-AA76-46B954CA438D.html" target="_blank"></a></p><p><a href="http://pubs.vmware.com/workstation-10/index.jsp?topic=%2Fcom.vmware.ws.using.doc%2FGUID-421A1073-BF16-4BC7-AA76-46B954CA438D.html" target="_blank"></a></p><p><a href="http://pubs.vmware.com/workstation-10/index.jsp?topic=%2Fcom.vmware.ws.using.doc%2FGUID-421A1073-BF16-4BC7-AA76-46B954CA438D.html" target="_blank"></a></p><p><a href="http://pubs.vmware.com/workstation-10/index.jsp?topic=%2Fcom.vmware.ws.using.doc%2FGUID-421A1073-BF16-4BC7-AA76-46B954CA438D.html" target="_blank"></a></p><p><a href="http://pubs.vmware.com/workstation-10/index.jsp?topic=%2Fcom.vmware.ws.using.doc%2FGUID-421A1073-BF16-4BC7-AA76-46B954CA438D.html" target="_blank"></a></p></blockquote><p></p>
[QUOTE="Adhit Prakosho, post: 278014, member: 27927"] When you delete files from your virtual machine, the disk space occupied by those files is not immediately returned to your host system. If a virtual disk has such empty space, you can use the Clean up disks command to return that space to the hard drive on a Microsoft Windows host. On my PC (Just run a VM and update AV in VM ([B]not even delete any file[/B])) : [IMG]http://www.4shared.com/download/5W3gyHYjce/1_online.png?lgfp=3000[/IMG] [IMG]http://www.4shared.com/download/O01e4aYbba/2_online.png?lgfp=3000[/IMG] [B]The Clean up disks[/B] command is similar to the Compact command in the Workstation virtual machine settings and the shrink command provided by VMware Tools. [B]The Clean up disks[/B] command has these advantages: [LIST=1] [*]You can use the [B]Clean up disks[/B] command with virtual machines that have snapshots or are linked clones or parents of a linked clone. [*]The [B]Clean up disks[/B] command reclaims more disk space than the Compact command. The [B]Clean up disks[/B] command reclaims disk space from the current state of the virtual machine, from any powered-off snapshots, and from any powered-on snapshots where the guest operating system is Windows XP or later and you have installed a version of VMware Tools that is compatible with Workstation 8 or later. [*]Unlike the [B]Defragment[/B] command and the [B]shrink[/B] command provided by VMware Tools, the [B]Clean up disks[/B] command does not require any extra disk space on the host. The [B]Clean up disks[/B] command operates directly on the virtual disk (.vmdk) files. [/LIST] Note: This command is not available for shared or remote virtual machines. [B]Prerequisites:[/B] [LIST=1] [*]Verify that you are using a Windows host and that the guest operating system uses NTFS. (NTFS is standard in Windows XP or later operating systems.) This feature works on all NTFS hard disks but reclaims more disk space if the operating system is Windows XP or later. [*]Shut down or power off the virtual machine. You cannot use this command while the virtual machine is powered on or suspended. [/LIST] [B]Procedure:[/B] [LIST=1] [*]Select the virtual machine in the library. [*]From the menu bar, select VM > Manage > Clean Up Disks. Workstation calculates how much space can be reclaimed, and either the Clean Up Now button becomes available or a message appears, explaining why the command is unavailable. [*]Click Clean Up Now to start the process. A dialog box reports the progress of the clean-up process. [/LIST] [URL='http://pubs.vmware.com/workstation-10/index.jsp?topic=%2Fcom.vmware.ws.using.doc%2FGUID-421A1073-BF16-4BC7-AA76-46B954CA438D.html']Source [/URL] [/QUOTE]
Insert quotes…
Verification
Post reply
Top