General discussion

Locked

Mapping drive to user directory

By kclouie ·
Does anybody know the proper way to write a login script so that the user's home directory is maped to a drive letter. I only know how to map to the user directory. With hundreds of user directory folders to scroll through, the user becomes frustrated and I don't want the users to access the user directory, just their specific home directory.

This conversation is currently closed to new comments.

17 total posts (Page 1 of 2)   01 | 02   Next
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Mapping drive to user directory

by Gary Sharp In reply to Mapping drive to user dir ...

The way to do this is to set up each user directory as a share, you can do this with a script. Then assign rights to these shares to the users, again, doable with a script. The login script will use the %username% variable to map to the appropriate share.

g

Collapse -

Mapping drive to user directory

by kclouie In reply to Mapping drive to user dir ...

The question was auto-closed by TechRepublic

Collapse -

Mapping drive to user directory

by mwpowell In reply to Mapping drive to user dir ...

Use User manger to do this, I found this to be the easiest way. Open the properties of the user in user manager. Then click on the profile button. In the "Home directory" box you can specify the drive letter and the path to the users directory. If you want to use logon scripts you can use the following line "net use <drive letter><path>\%username%".

Collapse -

Mapping drive to user directory

by kclouie In reply to Mapping drive to user dir ...

The question was auto-closed by TechRepublic

Collapse -

Mapping drive to user directory

by paultalb In reply to Mapping drive to user dir ...

This is a problem with NT 4.0, Win 2000 fixes this issue. One solution is to change the security for each directory so only the users directory is visible, or make each users directory a share, then map the home directory to the each users share using "net use x: \\servername\userdirshare\"

Collapse -

Mapping drive to user directory

by kclouie In reply to Mapping drive to user dir ...

The question was auto-closed by TechRepublic

Collapse -

Mapping drive to user directory

by guy In reply to Mapping drive to user dir ...

If you are using logon scripts you can try the SUBST command to substitute a drive letter for the home directory. More info in www.winntmag.com
e.g.
if exist P:\*.* Net use P: /delete
net use P: /home
subst K: P:\%username%
Net use P: /deleteif exist P:\*.* Net use P: /delete

Collapse -

Mapping drive to user directory

by kclouie In reply to Mapping drive to user dir ...

The question was auto-closed by TechRepublic

Collapse -

Mapping drive to user directory

by wayne.maples In reply to Mapping drive to user dir ...

In their logon script, you should be able to use the SUBST command to map the drive:\homedirectory combination to a drive letter

subst h: x:\users\wmaples

-Wayne

Collapse -

Mapping drive to user directory

by kclouie In reply to Mapping drive to user dir ...

The question was auto-closed by TechRepublic

Back to Windows Forum
17 total posts (Page 1 of 2)   01 | 02   Next

Related Discussions

Related Forums