Discussion Locked

NT login scripts

0 helpful
7 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I've created some NT login scripts and have two questions to which I can't find answers. First, the scripts are disappearing from the repl\import\scripts folder on the PDC. If this is the replication service, fine. But isn't it supposed to copy, notmove, the scripts? I can't even find them on any BDC out there. They still run, by the way. Second, I have a one-liner that maps a drive letter and uses no variables. It works on several Win2000 machines, but it doesn't run on Win9x. I can type the exact same command from the run dialog box and it maps the drive w/no problem. Please help!

7 replies

by duwaned

Hi.

Your scripts are disappearing because another server is replicating an empty folder to your server. You need to set up the directory replication correctly. Set your server up to replicate TO the other servers, not FROM.

As far as the scripts not running on Win9x clients, first sort out your directory replication, and your script problems may be resolved at the same time. It may just be co-incidence that it is only win9x clients that are not running the script. It could be that they are authenticating on a server which has an empty scripts folder.

Hope this helps.
Regards.
Duwane

by magetower

Like the first answer said you need to check the replication settings on all of the domain controllers (also make sure member servers are not trying to replicate too).

When you set up replication make sure the server that will be the primary for replication has the scripts placed in the repl\export\scripts folder. This server needs to be configured to not only replicate to the other DCs but also to itself. The other DCs need to be configured to only import from the primary (no exporting).Once set up only make modifications to the primary's export directory.

You are correct that replication does a copy not a move, however it will delete files from import directories that are not found in the primary's export directory.

hope this helps...

by randylyman

That's what I wanted to hear, Magetower. Everything I've been reading just mentions the repl\import\scripts folder for login scripts, but it didn't sound right to me to export from that folder. Turns out that the win9x machines weren't running the script because it was gone, and the win2000 machine was just remapping the drive for me. Thanks guys!

by shmaltz

I dont know the answer to the script problem but for the 9x problem I'm almost sure I do.
On the 9x machines you have to make sure that "Logon to Windows NT Domain controler" is checked in the properties for client for microsoft networking in the network control panel, also make sure that the primary logon is set to client for microsoft networking.

This discussion is closed to new replies.