Error when activating Server 2008/Windows 7 via KMS

If you’re getting error 0x800705B4 when running Windows Software Licensing Management Tool (slmgr.vbs) when performing an activation at the command line then keep on reading.

When executing slmgr.vbs /ato I got this error:

Activation Windows Server, ServerStandard edition (68531fb9-5511-4989-97be-d11a0f55633f) … On a computer running Microsoft Windows non-core edition, run ‘slui.exe 0x2a 0x800705B4’ to display the error text. Error: 0x800705B4

Key Management Server Error 0x800705B4

Probably the KMS servers’ DNS records couldn’t be found. To resolve this manually point to the KMS server:

slmgr.vbs /skms servername:1688

slmgr.vbs /skms

To find the KMS server in your network, run this command on an activated Windows machine:

Slmgr.vbs /dlv

Now activating using slmgr.vbs /ato is working as it should:

slmgr.vbs /ato

Display license information:

slmg.vbs –dli

All right!

Boot from VHD in Windows 7

I’ve downloaded a VHD file from Microsoft and wanted to boot from it. Just to experiment with the new feature. Here are the surprisingly simple steps to take:

1. Create an extra boot entry (copy from current entry) and give a description, BCDEdit will echo the created identifier:

bcdedit /copy {current} /d "Windows 7 Foundation Suite 3 VHD" 


"The entry was successfully copied to {a20180a3-a426-11de-96df-a3075ebd94a1}.


2. Set VHD to the newly created bootloader entry, with this two commands:

   1: bcdedit /set {a20180a3-a426-11de-96df-a3075ebd94a1} device vhd=[D:]\Images\WDTFS-x64.VHD\WDTFS-x64.VHD 

   2: bcdedit /set {a20180a3-a426-11de-96df-a3075ebd94a1} osdevice vhd=[D:]\Images\WDTFS-x64.VHD\WDTFS-x64.VHD 


3. Force auto detect the Hardware Abstraction Layer (if you’re using a syspreped VHD)

bcdedit /set {a20180a3-a426-11de-96df-a3075ebd94a1} detecthal on

Replace identifier (don’t forget curly braces) and .VHD path (yes, with square brackets) with your own.

4. We’re done! Reboot your machine and you will be presented with a new boot menu.