Logon Script NT/W9X

In a mixed environment of NT Server (later W2K)and on the client side Win9X/NT/W2K How can I make sure of compatibility? At the moment users have to each morning map up drives manually with domain/userid & pass to get connected as the system do...




Topic Options
#72346 - 08/09/01 10:16 AM Logon Script NT/W9X
Coreace Offline
newbie

Registered: 08/09/01
Posts: 6
In a mixed environment of NT Server (later W2K)and on the client side Win9X/NT/W2K How can I make sure of compatibility? At the moment users have to each morning map up drives manually with domain/userid & pass to get connected as the system doesn't seem to remember them (sometimes I have to reset the pass). I guess the profile is wrongly setup?

How can I make this to work I want them to logon onto "domain" but with the drives coming up as in a logon script without having to browse to the share/resource and then map it up.

Anyone with a step to step guide how to setup the profiles correctly with users on a mixed platform of W2K, NT and Win9X, will I need a 3rd party software?

Thanks,
C.

Top
Advertisement
#72377 - 08/09/01 07:30 PM Re: Logon Script NT/W9X
HarU Offline
member

Registered: 12/30/99
Posts: 189
Okay...here goes:

1.) Make sure that they are set to logon to a domain. Go to your network properties, click on "client for microsoft network" and hit properties. There will be a check box there asking if you want this machine to logon to a domain. Check the box and enter in the name of the domain in the place provided. Reboot.

2.) When the logon screen comes up, it will have an extra field called domain. So now, you are using NT domain accounts to logon just as if you were using win2k or nt for clients.

3.) The next thing you want to do is create a batch file that is set to run everytime a user logs in. A batch file is basically just DOS commands that are executed in order when the batch file is run. For instance, if you want every user to login and get a mapped drive to your file server's D:\ drive, then the command would look somethign like this: "net use x: \\servername\D:" Put that command in a file and name it "something.bat"

4.) After you have your batch file, you need to make the domain controller know to run it everytime a user logs in. In an NT server, there is a default share called NETLOGON that points to a path on the server. I believe the path is c:\winnt\system32\Rep\Imports\Scripts. If you put this batch file in that directory on the domain controller, the client machines will automatically look there for a file to run at startup.

5.) The next and final step is to have all user accounts specify the name of the file you wish to run at login. These accounts already know to look at the share NETLOGON (which is actually mapped on the server to c:\winnt\system32\Rep\Imports\Scripts). So, if the account is going to look there automatically, you have to tell it what file to look for in that directory. To do this, go to your domain controller, pull up the "user manager for domains," and go to the properties for all your users one at a time. In the properties there will be a section called "profile." Go to that section and you will see a field called login script. That is where you want to put the name of the batch file you created. So, everytime that user logs in, his machine automatically looks to the NETLOGON share and looks for a file that you specified in there profile options. If it finds the file, then it will run it and you will have mapped drives.

Hope this helps...good luck

Top
#72407 - 08/09/01 10:01 PM Re: Logon Script NT/W9X
Coreace Offline
newbie

Registered: 08/09/01
Posts: 6
Thanks for your reply & and time writing this. I have done all the above but I suspect the profiles are not right on the PDC. All Win9X's seem to be fine but W2K clients not. Uh... I'll have to look around.

Top
#72523 - 08/11/01 03:09 AM Re: Logon Script NT/W9X
ryoko Offline
member

Registered: 07/30/00
Posts: 163
Unfortunately I do not remember the commands I used, but basically in a login script that I wrote, I checked for an environment variable to determine if the pc was nt or 2000. I think it was if %os% , but I may have checked another variable.

If it is not nt or 2000, then the script assumes the client is win9x, it then jumps to code specifically for the win9x clients.

Hope this helps you some.

Top


Forums
Windows Support Forums
Everything New Technology
Legacy OS
Hardware
Software
Games
Networking
Customization & Tweaking
Security

Linux Support Forums
Everything Linux
Linux Hardware
Linux Software
Linux Games
Linux Networking
Linux Customization & Tweaking
Linux Security

Apple Support Forums
Everything Apple
Recent Topics
Generic USB Key Not Recognized
by njclay2004
11/21/08 08:44 AM
Parallel Port Driver
by Dan78
11/21/08 12:02 AM
advanced bios help
by ezritches
11/20/08 03:37 AM
Changing from FAT32 to NTFS
by csimp10
11/19/08 05:18 PM
Explorer.exe crashes on Win XP PRO SP3 suddenly
by migisukhoi
11/18/08 10:55 PM
Who's Online
0 Registered (), 191 Guests and 6 Spiders online.
Key: Admin, Global Mod, Mod
Forum Stats
89434 Members
24 Forums
42648 Topics
172415 Posts

Max Online: 1079 @ 03/12/08 01:36 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22