
Windows 95/NT clients & ADSI
Your syntax is fine. Generally this error is encountered when ADSI is not installed or some files are missing or corrupt. You probably want to reinstall
Clarence
Check it out..
Http://cwashington.netreach.net
On this site you will find resources for all of your scripting needs. Everything you need to get up and running. Over 100 Sample Scripts, ActiveX controls, reference materials, and technical support via an online discussion lounge.
[ Win32Scripting... automate!! ]
I'm having problems trying to get '95 clients to access the NT information
in the following script:
Set UserObj = GetObject("WinNT://" & WshNetwork.UserDomain & "/" &
WshNetwork.UserName)
Theoretically, this should return the user name of the person currently
logged into an NT server. It works great on an NT workstation, but I get a
"syntax error" on a '95 machine. Is it possible, that it only works on an
NT machine because it's reading the local registry information instead of
picking it up off the login server? Has anyone got these types of ADSI
functions working on a '95 machine?
Thanks.