Discussion Locked

LOGON SCRIPTS IN WIN2K

0 helpful
8 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hi Everyone,
I recently setup a Windows 2000 Server and conected some clients to it. I wanted to configure the older 98 systems to connect to the Domain and to get authenticated and in the process to run their individual logon scripts. However, Ifound that the 98 machine didn't run the logon script after loggin on to the domain.

This is what I did.
Client Side:
I setup the pc to connect and validate with the domain. This part works as the user gets authenticated by the Primary. (by the way, only one server in the domain)

Server Side:
I setup the User's User Profile by typing in \\servername\netlogon\user.bat under the logon script section. I also created a home folder with the path f:\corp\user where I shared the "corp" as well as the "user" folders and gave full control (both share and security permissions) to the user. I also ensured that higher level security permissions don't flow to these folders. Finally, I placed the logon batch file titled "user.bat" under %systemroot%\sysvol\sysvol\company.com\scripts folder.

The logon batch file was a simple one as follows:

net use * \\servername\user and the files was named user.bat

Thats it..

Now my question is, is the above correct for windows 2000 or what am I missing here. Your help would be deeply appreciated.
Best Regards,
Nigel

8 replies

by machinetype

In User Manager for Domains there is an option to specify a home directory for each user. When a NT Workstation logs on to the domain it obtains this information and maps the drive automatically. Windows 9x does not perform this
automatically. If you place the command

NET USE H: \\servername\sharename /HOME in the logon script, Windows 9x clients will map the homedirectory for you.

Hope this helps...

SLM

by machinetype

Sorry I did not put enough emphisis on what your script was missing. It is the /home at the end of the command. This specifies what it is. 9X gets confused.

SLM

by lumbini

p.s. I forgot to mention that eventhough the Windows 98 machine doesn't run the logon script off the server at logon, if i go to network neighborhood from the 98 machine and go to Domain, Servername, Netlogn folder and double click the batch.file, it executes and the drive is mapped to the 98 Machine.

by lumbini

p.s. I forgot to mention that eventhough the Windows 98 machine doesn't run the logon script off the server at logon, if i go to network neighborhood from the 98 machine and go to Domain, Servername, Netlogn folder and double click the batch.file, it executes and the drive is mapped to the 98 Machine.

by rdunn

You don't need to put the entire server name (UNC, or otherwise) path in the logon script field in User Manager. Just entering the full name of the batch file should be adequate.

I don't know if this would even have any affect on your problem, but at the very least, it would eliminate one potential issue.

Good luck!
Rob

This discussion is closed to new replies.