General discussion

Locked

logon script.bat

By bcheng1877 ·
Hi,
We are using NT SVR 4.0
We've currently have changed our logon script with setting up for mapping drives for the users. It was working from before, but now for some reason after we made the changes it don't seem to work anymore. It is set on the PDC under c:\winnt\system32\repl\import\scripts.

It is also set as export scripts too. Please help.

Thanks

This conversation is currently closed to new comments.

12 total posts (Page 1 of 2)   01 | 02   Next
| Thread display: Collapse - | Expand +

All Comments

Collapse -

logon script.bat

by bcheng1877 In reply to logon script.bat

We've also restarted the PDC also believing that it might need time to resyncronized.

Collapse -

logon script.bat

by Joseph Moore In reply to logon script.bat

Please post your current login script so we can look at it and make suggestions.

Collapse -

logon script.bat

by bcheng1877 In reply to logon script.bat

Poster rated this answer

Collapse -

logon script.bat

by perry In reply to logon script.bat

The location is correct but make sure that in user manager the users profile is using the right script name

Collapse -

logon script.bat

by bcheng1877 In reply to logon script.bat

Poster rated this answer

Collapse -

logon script.bat

by Admin-Stuart In reply to logon script.bat

From your add-on comment about synchronization, I assume you are running at least one BDC. It would help to see a copy of the script, but I'll take a stab at one common problem and say that if you aren't successfully mapping at some users PCs, check to see if the drive letter assignments are conflicting with existing drive letters already in use on the particular user's PC. Otherwise, let me take a look at your script. Thanks.

Collapse -

logon script.bat

by bcheng1877 In reply to logon script.bat

Poster rated this answer

Collapse -

logon script.bat

by sphynx In reply to logon script.bat

In order to correct this. Copy all your login script to your BDC under winnt\system32\repl\import\scripts.

Once it work try to enable directory replication on all bdc so you won't manually copy every changes you made.

Hopes it work.

Collapse -

logon script.bat

by bcheng1877 In reply to logon script.bat

Thankyou for your help. Tested it out and works better than cutting butter with a hot knife.

Collapse -

logon script.bat

by Curious_George In reply to logon script.bat

Most of the guys above have hit all the possible reasons.

#1 Replication may not be working, but since it was in the past it probably is ok, just turn off all of your BDCs leaving only the PDC running and see if the script works. If it does work replication is not working, fix that. Also note if the old script is still running when users logon replication is not working. I'd suggest making a dumby script that does something like this just to test replication functionality:

@echo logon scirpt is working properly.
pause

Then you will be able to determine if it is being run by all the workstations.

#2 The name of the script has changed and profiles have not been updated to reflect this change. save the old script and rename the new revised versio to the same name and location as the previous one.

#3 The script may not be writtin correctly. I'd suggest having it reviewed by a competent scriptor or posting it here. Some of us here, including myself are quite expert in thisarea.

Good luck.

Back to Windows Forum
12 total posts (Page 1 of 2)   01 | 02   Next

Related Discussions

Related Forums