Tuesday, June 7, 2011

Allow WMI through the Windows Firewall

If a connect attempt using wbemtest.exe fails - follow these steps to allow the requests through the firewall.

Windows XP / Server 2003 (Pick one of three various options, first one is the base command)
  c:\> netsh firewall set service remoteadmin enable
  c:\> netsh firewall set service remoteadmin enable subnet
  c:\> netsh firewall set service remoteadmin enable custom 192.168.1.1,LocalSubnet

Windows7 / Server 2008
  c:\> netsh advfirewall firewall set rule group="windows management instrumentation (wmi)" new enable=yes

Updated 8 rule(s).
Ok.

  c:\> netsh advfirewall firewall set rule group="remote administration" new enable=yes
Updated 6 rule(s).
Ok.

No comments:

Post a Comment