
Running WSH logon Scripts from NT4 Domain controllers
Hi,
I have built a VB logon script for use for NT domain logon it seems to have
trouble when running at client logon and woulsd appreciate any assistance.
A test NT domain account has been specified to run the logon script during
the domain logon process by calling it through a batch file..
cscript \\PrimaryDomainController\netlogon\logon.vbs
this finds the script however the script does not run correctly, the error
response says that the script failed because it is not currently logged in
to the network (catch 22), presumably at the call to create the
WScript.Network object.
Also should the client be able to get the script from whichever domain
conroller it authenticates to as the netlogon directory is replicated to all
domain controllers ?.
I would appreciate any suggestions as to how to use WSH
"CreateObject("WScript.Network")"
and ADSI
GetObject("WinNT://" & "mydomain" & "/" & WshNetwork.UserName)
in place of a traditional NT dos batch logon script
Regards,
Steve Gale