WMI: The RPC server is unavailable. (Exception from HRESULT: 0x800706BA) throws when try to connect to remote machine

后端 未结 3 2141
独厮守ぢ
独厮守ぢ 2021-02-07 14:55

I\'m using the following code to connect to remote machine using WMI:

   ConnectionOptions connOptions = new ConnectionOptions();
            connOptions.Imperso         


        
3条回答
  •  佛祖请我去吃肉
    2021-02-07 15:06

    If you under Win7 you must run app as an administrator. You can also try different values for connOptions.Impersonation property. Did you open RPC port on a remote machine? Try turning off firewall altogeter on both machines.

提交回复
热议问题