General discussion

Locked

login scripts in NT 4.0

By tlotta ·
hello there
I have just installed NT 4.0 server (service pack 5) on the network. Since I am migrating from Novell 3.12; the users want say drive g: mapped to their personal excel directory etc. I have used the net use commands; however, it seems when a user on windows 95 client logs on ; the %USERNAME% command ( to specify the user name) does not work and the drive is not mapped .

Is there any way work around this? Please advise

This conversation is currently closed to new comments.

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

All Comments

Collapse -

login scripts in NT 4.0

by Nichomach In reply to login scripts in NT 4.0

NT does not support deep redirections i.e. mapping to points below the share point, hence there is no "map root" equivalent. I generally have to create a hidden share for each user's home directory and map to that (you create a hidden share by adding $ to the end of the name, hence \\server\myshare$). I then use KixTart to handle my drive mappings, available from http://netnet.net/~swilson/kix.html. This was originally distributed with the NT4 resource kit. The alternative is to create shares which will hold a number of users' home directories and get them to browse, but I'd guess you're trying to avoid that. %USERNAME% doesn't work on 95, but you can use user and group dependent mappings via KixTart, which is I reckon absolutely essential for NT Admin work.

Collapse -

login scripts in NT 4.0

by tlotta In reply to login scripts in NT 4.0

The question was auto-closed by TechRepublic

Collapse -

login scripts in NT 4.0

by moflic In reply to login scripts in NT 4.0

Check this out:
http://www.uniovi.es/~rivero/win95netbugs/faq-f.html#f4
Buggy windoze

Collapse -

login scripts in NT 4.0

by tlotta In reply to login scripts in NT 4.0

The question was auto-closed by TechRepublic

Collapse -

login scripts in NT 4.0

by agusta.s@concordiacompute In reply to login scripts in NT 4.0

There are 2 steps to adapt %USERNAME% command:

Suppose your Server spec are:
- Server name : svrname
- User drive : U:- User directory : \\svrname\users
- User name : Robert

Follow these steps:
1. On User Manager, double click the user.
2. Click Profile button.
3. In Home Directory, fill Connect with U: and To with \\svrname\users\robert
4. Fill Logon Script name with Default (it means \\WINNT\SYSTEM32\Repl\ImportDefault.bat)
5. Make Default.bat and fill it with "Net Use U: \\sksvr\users /HOME"

Collapse -

login scripts in NT 4.0

by tlotta In reply to login scripts in NT 4.0

The question was auto-closed by TechRepublic

Collapse -

login scripts in NT 4.0

by bf In reply to login scripts in NT 4.0

net use g: /home /y

Collapse -

login scripts in NT 4.0

by tlotta In reply to login scripts in NT 4.0

The question was auto-closed by TechRepublic

Collapse -

login scripts in NT 4.0

by dale In reply to login scripts in NT 4.0

NT clients can get the equivalent of a map root with the SUBST command, but this is not supported for Windows 9X clients, for them, you'll have to do the hidden share thing. This is no big deal, though... just share each directory as the same name only with a $ at the end.

Example:

directory name - Dave
hidden share name - Dave$

You control access to the directory with NTFS rights, you could give Authenticated Users Full Contol at the share level, though probably you will only give Dave Full Control and also the Domain Administrators group.

Once this is done, you can net use the hidden share:

net use h: \\server\Dave$

I hope this helps...

Dale Holmes

Collapse -

login scripts in NT 4.0

by tlotta In reply to login scripts in NT 4.0

The question was auto-closed by TechRepublic

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

Operating Systems Forums