General discussion

Locked

NT Logon Scripts not running

By nwboothe ·
I'm a Network Admin for a school division and we have created three different logon scripts that do a variety of things from mapping drives to installing software. We run all NT servers and 95/98 workstations. The problem we have is that the logonscripts don't run sometimes, but other times they do. I've verified that the script is on all domain controllers. Here's where it gets wierd...all scripts had read for the everyone group permission which is what it should have, but the scripts only ran about 10% of the time. After many hours of looking for a solution I decided to make the scripts permission full control. After this change, it began working 80% of the time. It makes no sense! I've asked our other netowrk admin and our network engineer and we are all stumped. I've got big points for someone who can help!

This conversation is currently closed to new comments.

22 total posts (Page 1 of 3)   01 | 02 | 03   Next
| Thread display: Collapse - | Expand +

All Comments

Collapse -

NT Logon Scripts not running

by ejsotillo In reply to NT Logon Scripts not runn ...

Hi all, you should know that by default login scripts recide in the:

c:\systemroot\system32\repl\export\scripts

folder on your PDC, if you were to make changes on your login scripts, this is the place that you should look into and also make changes to. On the BDC's and proper NT workstations side, you have to make sure that you will be "replicating" to the "imports" folder following the same UNC placed previously:

c:\systemroot\system32\repl\imports\scripts

you also have to make sure that you create an "account" name whatever you want that is set to:
part of everyone's group, password never expires, allow all logon hours and make sure is part of the domain backup operators group, this account will be known as the replication user account. On each computer that will be using replication you have to make sure that directory replicator "service" is running, this should be configured as start automatically on server manager. let me know if this helps.

Collapse -

NT Logon Scripts not running

by nwboothe In reply to NT Logon Scripts not runn ...

I've checked all the obvious things liek replication, permission, profiles, accounts, etc.

Collapse -

NT Logon Scripts not running

by nwboothe In reply to NT Logon Scripts not runn ...

I've checked all the obvious things like replication, permissions, accounts, profiles.

Collapse -

NT Logon Scripts not running

by nwboothe In reply to NT Logon Scripts not runn ...

The question was auto-closed by TechRepublic

Collapse -

NT Logon Scripts not running

by -Q-240248 In reply to NT Logon Scripts not runn ...

Questions:
Do you have the same logon scripts on EVERY DC?

On the same client, does it run sometimes and sometimes not?

Collapse -

NT Logon Scripts not running

by nwboothe In reply to NT Logon Scripts not runn ...

I have three scripts per site, 18 sites, all scripts are on all domain controllers. There are about 20 domain controllers.

Failure to run is not client specific. I sat a one workstation logged on and off 3 or 4 times and the script ran. I logged on a 5th time and it didn't. I continued to try and the script still would not run anymore. Wierd!

Collapse -

NT Logon Scripts not running

by anticnz In reply to NT Logon Scripts not runn ...

You have probably tried this .. and it is a non-technical fix :-)
Have you rebooted all the logon servers ??
Sometimes works.

Collapse -

NT Logon Scripts not running

by nwboothe In reply to NT Logon Scripts not runn ...

The question was auto-closed by TechRepublic

Collapse -

NT Logon Scripts not running

by alanb In reply to NT Logon Scripts not runn ...

If you are SURE that scripts are being replicated to all BDC's (esp closest to user)...

One method I have found helpful is to check to see if the user can run the script once logged in. Simply map to the NETLOGON share of the nearest DC (eg \\Domain Controller\NETLOGON)and try running (double-click)the appropriate script from there.

If you can see the script but cannot run it as the user, then there must be a permission problem.

If you cannot see the script you must have a replication problem.

If neither of these is true, and you can run the script as above, another IMPORTANT setting is to enable "Run Logon Scripts Synchronously" in the Default Computer property of Policy Editor.

This ensures the Logon Script runs in its entirety before launching the users shell, which otherwise can cause logon scripts to partly work.

Good Luck and keep us all informed of progress.

Alan

Collapse -

NT Logon Scripts not running

by nwboothe In reply to NT Logon Scripts not runn ...

The question was auto-closed by TechRepublic

Back to Windows Forum
22 total posts (Page 1 of 3)   01 | 02 | 03   Next

Related Discussions

Related Forums