Discussion Locked

Logon Scripts

0 helpful
13 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I have about 20 Win2k machines (which i did not build)that will not run logon scripts. The NETLOGON folder opens, but the scripts are not running. Permissions is not an issue on the NETLOGON share (Auth and Domain Users have permission to read/execute). Basically, when the user logs in, the Netlogon share opens (can see the scripts and run them by double-clicking), but they will not execute?? Help please!!

13 replies

by a.jongsma

Forgot to ask. If you have a kix-script you need to have kix installed on the system (mostly %systemroot%\system32\kix32 file.kix)

If you have a vb or javascript you need to launch it with the interpretor like wscript/cscript (wscript file.vbs)

by legj1

Of course! I use different scripts for different sites and they are all setup on the user accounts.

by azizhakim

Out of the box,windows has built in dll's for vb,wsh,jscript.If you are using login scripts why do users have to initiate the script.All your scripts to correctly replicate to all dc's have to be placed in %systemroot%/sysvol/domainname/scripts folder.Assign the script to users and should initialize without user intervention which is what you want in logon scripts.
Hope it helps

by legj1

This is what I am saying, I do not want the users to have to execute their scripts. The scripts are in the correct share: winnt\sysvol\domain\scripts. Only the NETLOGON box opens...the scripts do not execute.

by aaron_wurthmann

Like number 1 says, Did you modify the users accounts to run these scripts? Here do this as a test. Make a .bat that does this..
echo %time% > %temp%\time.log

Save this bat as time.bat. Put time.bat in the folder you think it should be in. Assigned time.bat to your account. Log in. Open a command prompt, type: " type %temp%\time.log ". Did you get anything? No? Then type: " echo %logonserver% ". This well tell you what DC you logged into. Is this the same system that you put the scripts on?If no, then you are not replicating netlogn info, easy fix but tell me first. If yes, then you may be putting these scripts in the wrong location or if this is a Windows 2000 Domain then a group policy may be preventing the load of these scripts.
Please advise.

by aaron_wurthmann

From your answer to number it sounds like you are under the impression that you can just drop scripts in the NETLOGON dir and expect them to run. That is not the way things work exactly. You have two basic options to run logon scripts. Assign them to the users in User Manager or create a group policy and assign the group policy to an OU or the domain. The latter is a bit trickier or rather requires me to type a few lines of instructions let me know if you would preffer this method or individualusers.

by beermonster

Hi,
If you are saying that the netlogon folder actually opens on the desktop when your users log in, then that means that the login process can't find the script itself. Double check the name of the script as it appears in your gpo \ user accounts.

by curlergirl

Not sure if this is significant or just a typo on your part, but the standard path for the NETLOGON share is: \WINNT\SYSVOL\SYSVOL\[domainname]\scripts, not \winnt\sysvol\domain\scripts. Hope this helps!

This discussion is closed to new replies.