• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 472
  • Last Modified:

Powershell Wmi accsess

Hi folks,

I'm trying to execute a command: $a = gwmi win32_bios -comp 140-pc

and get the following error message:Gwmi : The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)

Remote computer is win 7

The following services are running on the computer

RemoteAccess Autoconnection manager
RemoteAccess Connection manager
Remote procedure Call ( RPC )
Remote procedure Call ( RPC ) Locator
Remote Registry

For DCOM there is Registry setting
Key: HKLM\Software\Microsoft\OLE

value: EnableDCOM: Y

On the firewall Windows Management Instrumentation ( WMI-In) rule is enabled

I'm trying to execute telnet 140-pc 135 - unsuccessfully

When I turn off the firewall, I get the correct result. when returning the firewall turn on again get the same error.

Please, help
  • 2
1 Solution
Port 135 can't be open if your telnet test is failing. You have already proved the firewall is at fault.

In the Firewall with AS settings, try adding a manual rule to allow traffic for port 135; what result does that give you?
QlemoBatchelor and DeveloperCommented:
Often dis- and re-enabling the firewall rule helps.
nesher13Author Commented:
helped to set up the following GPO with the Predefined rule settings

Computer configuration -> Policies -> Windows Settings -> Security Settings -> Windows Firewall with Advanced Settings - > Inbound Rules -> Windows Management Instrumentation (WMI In )
nesher13Author Commented:
This is solve the Problem
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

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now