Quantcast
Channel: VBForums - ASP, VB Script
Viewing all articles
Browse latest Browse all 687

VBScript - objWMIService - getting error 462

$
0
0
Have following code snippet:

Code:

Set objWMIService = GetObject("winmgmts:\\" _
        & strComputer & "\root\CIMV2")

my computer name is RGDF-DC and I get Err.Number = 462 which tells me that cannot connect or unavailable. In this case I produce "Cannot connect" to a text file. However, when I do a remote desk top to same computer I can connect fine.

I do not understand this, can someone help? Thank you

Viewing all articles
Browse latest Browse all 687

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>