Discussion Locked

Logon Script questions

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

I'm trying to have my users connect automatically to 2 directories on the same server. I'm attempting to do this through a logon script. Currently I'm attempting to use Kixtart, but I'm open to other options. My logon script looks like this:

SETCONSOLE("HIDE")
; This keeps the domain on the same time, based on system Silver1
settime "\\SILVER1"
; Make sure the S drive isn't mapped
use S: /delete
use H: /delete
; Now map it to PUBLIC share on SILVER1
use S: "\\SILVER1\Public"
USE Z: "\\SILVER1\%username%
endif

Currently the users are able to connect to the Public share, but not to their personal folders (the Z drive). Any suggestions?

6 replies

by msgaunce

It's likely that they cannot map to their personal drives because the netlogon share maps to Z in NT. As a result, when the script runs, that drive letter is already in use...try mapping to Y instead.

by aclopez5

msgaunce is partially right. 9x clients map Z: to netlogon during login to process scripts. NT/2000 clients do not, they use UNC pathing to get to netlogon. If your clients are 9x than you must use some other drive letter.

by dunphyk

I'm just curious regarding the Z: drive map choice... Is that a standard for your organization?

The reason I ask is simply because Z: is the default letter assignment for the Netlogon share. During the logon process, \\\NETLOGON is mapped to the Z: drive for access to the Logon Scripts (and any other client requested files).

Attempting to assign that letter to another share during that logon process may very well be your problem. Try assigning it to another letter (U: for example) and see how it goes. I suspect it will resolve your problem.

Just a thought...

by ads

If my memory of Novell login scripts is not too rusty I believe that proper syntax for a variable is %username, you should not have the % tagged onto the end.

by aclopez5

You're right, but this isn't Novell. It's Kixstart, a scripting language that ships with the NT resource kit.

This discussion is closed to new replies.