VAMT error when implementing KMS key – Unable to connect to the WMI service on the remote machine

When you’re implementing a KMS infrastructure in your Windows 7 environment, it is possible you get an “Unable to connect to the WMI service on the remote machine” when you are using the Volume Activation Management Tool (VAMT) to update clients with the correct license keys.

After some searching, I found multiple causes, such as firewall settings (Windows Management Instrumentation (WMI) needs to be allowed through the firewalls in the clients) and port 1688 (default KMS port) needs to be allowed on the KMS host.

Still, I received the previous mentioned error…

The solution was to be found in the Windows DCOM security settings.
These are the actions you need to take to resolve this issue on your Windows 7 clients:

  • Start “dcomcnfg.exe”.
  • Goto “Component Services” –> “Computers”.
  • Right click on “My Computer” and select “Properties”.
  • Goto the tab “COM Security”.
  • Click on “Edit Limits” under “Launch and Activation Permissions”.
  • Select “Everyone”.
  • Make sure that “Allow” is enabled for “Local Launch”, “Remote Launch”, “Local Activation” and “Remote Activation”.
    Note: By default “Local Launch” and “Local Activation” are already enabled.

6 comments

  1. Excellent, thanks. It worked perfectly for me.

  2. Timanator says:

    Worked on 1 machine but not the others. Searching for a solution continues on…

  3. Darren says:

    I had this problem after re-imaging a machine using WDS.  I found the DNS IP of the machine did not match the IP address of the machine when doing an ipconfig so i manually changed the IP in DNS to match the machine and it was then able to VAMT.  I have looked everywhere for this solution but no one seems to have found it.

  4. PFU says:

    Did you have change the SID?

  5. Toni says:

    You are a legend!! This works on Windows 10 machine as well. Do you need to revert the permissions on the Workstation after you have run the activation?

  6. Jeff Wouters says:

    Hi Toni, You don’t 🙂
    Thanks for the compliment by the way 😉

    Jeff.

Leave a Reply

Your email address will not be published. Required fields are marked *