Home Directories for Windows 95 clients

With the use of Login Scripts, Windows 95 clients can have the functionality of the NT home directory option. This section explains how to setup the login scripts to map a home directory on a windows 95 machine. It will involve some administrative work up front but will be very easy for the end user.

Because you are using 95, setting this up is not as straightforward in comparison to NT. Widows 95 does not use NT profiles and by default 95 does not allow variables in the login scripts, like the username. The cleanest way to deal with this is to use a utility called Kixtart32 that comes with the NT Server Resource kit.

First you need to create a home directory for every user.

Then set up each of these directories as a network share.

The third step would be to go into the profile of every user and set the logon script to "Logon.bat" or what ever you want to call the script.

(These first three steps could take a lot of time. You may just want to include them as part of the process for creating the user accounts.)

You need to copy the DLL files to the windows system directory C:\windows\system on the client computer. Place the kix32 executable in the Netlogon directory on the server. This is normally c:\winnt\system32\Repl\Import\Scripts.

You could call the kix32 directly from the profile but by having a seperate logon script you have a little more flexiablity. For example if you ever wanted to change to a different scripting tool you would not have to edit each profile just the logon script.

Now create your logon script and save it to the Netlogon directory. The simplist scipt would call kix32 with the kix script.

My logon.bat script looked like this

@ECHO OFF
\\scilnet\netlogon\kix32 kixtart.scr
@ECHO ON

Where scilnet is the server (PDC) name

If you have both NT and 95 clients you may want to have a more sophisticated logon script that skips this step for NT workstations. That script would look something like this

@ECHO OFF
IF "%OS%" == "Windows_NT" GOTO END
:WIN95
\\scilnet\netlogon\kix32 kixtart.scr
:END
@ECHO ON

Now create the kixtart script and save it to the Netlogon directory. The simplist script would just map a single drive.

My kixtart.scr looked like this:

use h: "\\scilnet\" + @userid

Where scilnet is the server name where the shares are.

Now when the person logs in they have the H drive mapped to there own directory.

If you have both a Primary Domain Controler and a Backup Domain controler the script needs to be saved to the netlogon directory of both machines.