VAMT 3.1:  Unable to connect to the WMI service on the remote machine

Posted on 2016-07-20
Medium Priority
Last Modified: 2016-08-23
Hi All,

I recently setup a VAMT / KMS server on our network using Windows Server 2012 R2.  It can get the license status of the servers on the same subnet.  But when it scans the laptop/desktop subnet it returns the following error.

Unable to connect to the WMI service on the remote machine

I've disabled the window 7 firewall and anti virus.  It can PING and RDP to the computers.

Any suggestions?

Many thanks
Question by:detox1978
  • 3
LVL 11

Accepted Solution

Forrest Burris earned 2000 total points (awarded by participants)
ID: 41721830
Have you tried running this command from one of the affected machines? netsh firewall set service RemoteAdmin enable. However, the manual process (per machine) once the KMS key is on the server, is this.

1 - Sit at the affected machine as admin and open a command prompt
2 - slmgr /skms (kms server name)
3 - slmgr /ato

Author Comment

ID: 41742693
Sorry for the delay.  It turns out the built in Windows firewall is blocking the connection.

Any idea what rules I need to allow?
LVL 11

Assisted Solution

by:Forrest Burris
Forrest Burris earned 2000 total points (awarded by participants)
ID: 41742718
KMS communicates on port 1688. That should be all it needs.

However, make sure clients are setup this way: https://technet.microsoft.com/en-us/library/hh825136.

You'll also want to make sure WMI is configured properly. See here: http://www.bhargavs.com/index.php/2013/01/28/vamt-unable-to-connect-to-wmi-service-on-remote-machine/
LVL 11

Expert Comment

by:Forrest Burris
ID: 41766613
Hoping all it looking good at this point.

Featured Post

Get 10% Off Your First Squarespace Website

Ready to showcase your work, publish content or promote your business online? With Squarespace’s award-winning templates and 24/7 customer service, getting started is simple. Head to Squarespace.com and use offer code ‘EXPERTS’ to get 10% off your first purchase.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Measuring Server's processing rate with a simple powershell command. The differences in processing rate also was recorded in different use-cases, when a server in free and busy states.
Seizing the Operation Master Roles in Windows Server 2016 in case of FSMO holder failure.
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…

600 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question