Install KMS Host License Pack for Office 2010 on Windows Server 2016

Currently when you try to install the KMS Host License Pack for Office 2010 on a Windows Server 2016 or Windows 10 you receive the following error message:

The cause of this problem relies in the VBS script that is being triggered at the end of the installation. In order to install the KMS Pack on newer operating systems than Windows server 2008R2 you need to perform the following steps:

  • Run KeyManagementServiceHost_en-us.exe until the error message appears. Don’t click OK.
  • Go to the folder “C:\Program Files (x86)\MSECache\OfficeKMS” and copy the folder to somewhere like (C:\Temp\OfficeKMS)
  • Click OK on the error message and press ENTER to close the program.
  • Open the folder with the copy (C:\Temp\OfficeKMS) and edit the file kms_host.vbs:
  1. Search for the line:

        If (Ver(0) = “6” And Ver(1) >= “2”) Or (Ver(0) >= “7”) Then 

    And replace it with the line below, this line just says that Windows Server 2016 and Windows 10 (both having version number 10) are also supported:

    If (Ver(0) = “6” And Ver(1) >= “2”) Or (Ver(0) >= “7”) Or (Ver(0) = “10”) Then

  • Start Command prompt with administrative permissions, run the command below and follow the wizard.

cd C:\Temp\OfficeKMS
cscript.exe kms_host.vbs


Disconnecting DirectAccess Clients on Windows Server 2012

DirectAccess provides seamless and transparent, always-on remote network connectivity. It does this without requiring action from the user. While this is an important feature and benefit of a DirectAccess remote access solution, it can also present a challenge for security administrators when a DirectAccess client device is lost or stolen. Continue reading Disconnecting DirectAccess Clients on Windows Server 2012

“Change product key” link is not available in Windows 8 or in Windows Server 2012

When you try to change the product key in Windows 8 or in Windows Server 2012, you cannot find a “Change product key” link in the System item in Control Panel.

For example, you want to convert a default setup product key to a Multiple Activation Key (MAK) on a computer that is running Windows 8. However, you cannot find an element in the UI that lets you change the product key. Continue reading “Change product key” link is not available in Windows 8 or in Windows Server 2012

Windows Server 2012 Failover Cluster Virtual Fibre Channel Adapter Live Migration Error

I’ve got a multiple  node cluster running Windows Server 2012 with Brocade 415/815 4G/8G FC HBA’s connecting to a VX SAN. I am trying to get the virtual HBA’s working in Hyper-V Guest running Windows 2008 R2 (SQL Cluster). I first created 2 virtual SAN Switches one connected to each port on my physical HBA (each physical port connects to a separate fabric). I add two Virtual HBA’s in my Guest, one to each VSAN Switch. When I go to Zone the HBA’s I only see side A of the virtual HBA’s not both A and B. On each fabric I should see two (A and B) WWPN but I only see one, to solve this you must shut down the Guest OS and twist the address set name (copy Set Address A to  Set Address B  and Set Address B to Set address A) I can add disk and everything works, however when I go to Live migrate I get the following error due to side B not being zoned. Live migration of ‘Virtual Machine Win2012_01’ failed. Continue reading Windows Server 2012 Failover Cluster Virtual Fibre Channel Adapter Live Migration Error

Using PowerShell as the Shell on Windows Server Core

With PowerShell becoming one of the most important tools in a Windows administrator’s tool bag as well as really becoming the best prompt to use on Windows Server Core, I thought it was about time I documented how to change the command prompt that opens when you log into Server Core with a PowerShell prompt.

To complete this requires two steps:

  1. Enable/Install PowerShell on the Windows 2008 R2 Server Core computer
  2. Update the HKLMSoftwareMicrosoftWindows NTCurrentVersionWinLogonShell registry key replacing cmd.exe with PowerShell.exe

To enable PowerShell run SCONFIG from the command prompt and then select menu options 4 then 2. This will require the computer to be rebooted

Once rebooted login and in the CMD prompt type PowerShell. At the PowerShell prompt type:


Having completed above log off and back on and a powershell prompt will open instead.


Installing RSAT tools on Windows 7

I wanted to manage the hyper-v which was installed on my desktop through laptop (windows 7), this is possible. After some goggling, i found out that there is something called RSAT which is “Remote Server Administrator Tools” , this package has many other tools within it and one of them is the “Hyper-V Manager” so that is what we want, you can download this package from below link: Continue reading Installing RSAT tools on Windows 7

Disable/Hide Control Panel

This setting allows you to restrict user access to the Control Panel options and settings.

Create a new text file and rename it to “NoControlPanel.reg”, then copy the key below and past it in the reg file. save the file and right click and select “Merge”

Windows Registry Editor Version 5.00


More information about this REG Key:

User Key: [HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer]
System Key: [HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer]
Value Name: NoControlPanel
Data Type: REG_DWORD (DWORD Value)
Value Data: (0 = disable restriction, 1 = enable restriction)