を接続する際にスロー私はWMIを使用してリモートマシンに接続するには、次のコードを使用しています:RPCサーバー:WMI:RPCサーバーは使用できません。 (HRESULTからの例外:0x800706BA)を試してみるには、リモートマシンに
ConnectionOptions connOptions = new ConnectionOptions();
connOptions.Impersonation = ImpersonationLevel.Impersonate;
connOptions.EnablePrivileges = true;
connOptions.Username = "admin";
connOptions.Password = "password";
ManagementScope scope = new ManagementScope(String.Format(@"\\{0}\ROOT\CIMV2", remoteMachine), connOptions);
scope.Connect();
私は次の例外を取得しています利用できません。 (HRESULTからの例外:0x800706BA)
説明したすべての手順を確認しましたin this knowledgebase article、すべてがリモートマシン上でOKです。
ユーザーはリモートマシンの管理者です。
しようとしましたWBEMTESTツール、同じ結果
は、誰もが何が起こっているかのアイデアを持っていますか?事前に
おかげで、
ワシル
可能複製[WMIに接続する:いくつかのマシンで0x800706baエラー(すべてではない)](http://stackoverflow.com/ Q369177/connections-to-wmi-0x800706ba-errors-on-some-machines-but-all-all) –