Misc information.

You cannot specify credentials in a WMI Moniker. Monikers are used with VBScript GetObject function. To specify credentials, you must use VBScript's CreateObject function in combination with the WMI Scripting Library's "WbemScripting.SWbemLocator" object. SWbemLocator provides a single method named ConnectServer that accepts alternate credentials

There are two ways to connect to WMI - GetObject("winmgmts:") and CreateObject("WbemScripting.SWbemLocator"). You must use the latter if you want to supply alternate credentials

ALSO - Other method
'----Binding to a domain with alternate credentials
Set dso = GetObject("WinNT:")
Set dom = dso.OpenDSObject("WinNT://" & domainName, userName, password, ADS_SECURE_AUTHENTICATION)

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/netdir/adsi/ads_authentication_enum.asp

[ 14. July 2003, 09:23: Message edited by: NTDOC ]