Windows Server

Hyper-V: Compact Hyper-V Virtual Hard Disk

I am attempting to do some quick cleanup on a Hyper-V host used for testing.

To do this I compacted the Hyper-V Virtual Disks.

  1. Open the Hyper-V Management console
  2. Right click on VM Guest
  3. Select Settings
  4. Select the Hard Drive for the VM Guest
  5. Click the Edit button
  6. Select Compact
  7. Click Finish

*note* you want to do this on dynamically expanding disk types

Server 2012 R2 Data Deduplication on Windows 8.1

Talking a late walk around features of Windows Server 2012 R2. One of the features that interested me was the deduplicaiton feature. Naturally I want to run this on my Windows desktop. So my journey began.

Warning these steps and method are no way supported by Microsoft; use at your own risk.

To pull this off you need to acquire files from a Windows Server 2012 R2 installation.

Here is a list of the cab files:

Here is a link I am sharing out from MEGA that has them all archived. (4.2 MB)

Steps to follow:

Place all files into a folder

Next open a command prompt running as administrator

Execute the following dism command:

dism /online /add-package / /  / /  / /

You can also run them one at time

dism /online /add-package / 
dism /online /add-package /  
dism /online /add-package / 
dism /online /add-package /  
dism /online /add-package / 
dism /online /add-package /

Once all have completed successfully you need to issue the following command to enable the feature

dism /online /enable-feature /featurename:Dedup-Core /all

This can also be done via the “Turn Windows features on or off” under Program and Features

At this point the feature is installed and enable and you only need to specify what volumes you would like to deduplicate.


Supporting Sources and Thanks: Wei King , Bernard Khoo

Tech Short: Use Windows Management Instrumentation Command to List Windows Updates

To list the updates that have been installed on a Windows 8.1 or Windows 2012 Server simply issue the following command in a command prompt window

wmic qfe get hotfixid

That’s it

Disable Windows Firewall On Windows Server 2012 R2 Server Core

After my install of Windows Server 2012 R2 Server Core, I wanted to manage the system via RSAT and Remote Desktop. However the firewall was preventing me from completing such tasks. That said, this is how we can disable the firewall

From the command prompt type the following command:

netsh advfirewall set allprofiles state off


HowTo Install VMware Tools On Windows Server 2102 R2 Server Core

After installing Windows Server 2012 R2 Server Core as a guest in my VMware Lab I wanted install the VMware software tools that enhances the performance of the guest operating system and improves management of the virtual machine.

To do this I logged into the console via the vCenter Client were I could access the server core console

From the vCenter Console to the following:

  • Go to VM->Guest->Install/Upgrade VMware Tools
  • Change to the D: drive at the command prompt
  • Enter the following command: setup64.exe /S /v “/qn REBOOT=Y”

Here is some additional switches you can attempt


   /? :  Show this dialog.
   /a :  Perform an administrative install.
   /a <full path to existing administrative install> :  Patch an existing administrative install.
   /s :  Hide initialization dialog. For silent mode use /s /v/qn.
   /v :  Parameters to pass to installer
   /c :  Clean out installation registration information
   /l :  Perform a detailed logging.
   /l <fullpath to log file> :  Perform a detailed logging.




Secured By miniOrange