Running WSH logon Scripts from NT4 Domain controllers 
Author Message
 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



Mon, 04 Feb 2002 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Nt Domain Logon Script using VBScript/WSH

2. How to List Domain Controllers in domain

3. VBS Script error on domain controller

4. script for win2000 domain controller

5. Running replicated WSH logon scripts

6. WSH logon script does not run...

7. Run WSH logon script before NT shell starts?

8. HOWTO: Enumerate servers in a NT4 domain from WSH

9. HOWTO: Enumerate servers in a NT4 domain from WSH

10. Auto NT4 server logon with Logon to Novell server(4.11)

11. How can I get logon server name and IP address from logon script using wsh

12. Specify Login Script In User Manager in NT4 Domain

 

 
Powered by phpBB® Forum Software