General discussion

Locked

LOGON SCRIPTS IN WIN2K

By lumbini ·
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

This conversation is currently closed to new comments.

8 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

LOGON SCRIPTS IN WIN2K

by MachineType In reply to LOGON SCRIPTS IN WIN2K

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

Collapse -

LOGON SCRIPTS IN WIN2K

by MachineType In reply to LOGON SCRIPTS IN WIN2K

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

Collapse -

LOGON SCRIPTS IN WIN2K

by lumbini In reply to LOGON SCRIPTS IN WIN2K

Sorry SLM,
That wasn't the problem..but thanks for the effort.

Collapse -

LOGON SCRIPTS IN WIN2K

by lumbini In reply to LOGON SCRIPTS IN WIN2K

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.

Collapse -

LOGON SCRIPTS IN WIN2K

by lumbini In reply to LOGON SCRIPTS IN WIN2K

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.

Collapse -

LOGON SCRIPTS IN WIN2K

by rdunn In reply to LOGON SCRIPTS IN WIN2K

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

Collapse -

LOGON SCRIPTS IN WIN2K

by lumbini In reply to LOGON SCRIPTS IN WIN2K

Bang on target Rob..!
Many thanks for the help.
Best Regards,
Nigel

Collapse -

LOGON SCRIPTS IN WIN2K

by lumbini In reply to LOGON SCRIPTS IN WIN2K

This question was closed by the author

Back to Windows Forum
8 total posts (Page 1 of 1)  

Related Discussions

Related Forums