システムの Win32_OperatingSystem および Win32_ComputerSystem クラスを照会するために、Win2k3 SP2 サーバーを複数の Win2k3 + SP2 および WinXP + SP3 マシンに WMI 経由で接続する VBScript を作成しました。
Set loWMISvc = GetObject("winmgmts:{impersonationLevel=impersonate,authenticationLevel=Pkt}\\" & lsStore & "\root\cimv2")
Note: 'lsStore' is the IP address of the computer system I successfully connection too prior.
次に、リモート システムに新しいオブジェクトを作成しようとしますが、アクセス許可拒否エラー (スクリプトの出力) が返され続けます。
21/11/2011 1:17:50 PM SUCCESS: Established connection to store
D:\Program Files\SUREfire Systems\Support\MG\QueryStores\QueryStores.vbs(244, 5) Microsoft VBScriptruntime error: Permission denied: 'GetObject'
オブジェクトのImpersonationLevelモニカーとAuthenticationLevelモニカーを期待どおりに設定しても、WMI もクライアントとリモート システムに正しくインストールされているように見えます。リモート システムへの最初の接続も、ローカル管理者ユーザー用です。
表示されていない許可拒否エラーの原因は他に何が考えられますか? どんな助けでも大歓迎です。