Discussion Locked

windowns nt login scripts

0 helpful
7 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
how do i create a group login script?

7 replies

by mark_lt

thats a big question, and depends on what you want from it, but the basics are.

create a script.bat file, place this in the netlogon share of all domain controllers, put the script name in the users profile for script in usrmanager.

by rsears

Create a batch file something like this EXAMPLE.BAT

net use g: \\server1\operat
REM [Mapping network shares]

net use i: \\server1\install$
REM [$ hidden administrative shares]

net use r: \\ server2\trackit_4.0
net use u: \\ server2\install$
net use v: \\ server3\install$
net use w: \\ server4\install$
call c:\login.bat REM [calls a batch file in the root of the local machine]

net use lpt1: /delete
net use lpt1: \\ server1\hpljlobby
REM[capturing printer port for non windows apps]

Then place this file in the NETLOGON share of your domain controllers
Then in user manager user environment profile, put the name of the login script (just the name and extension not the path to the file) EXAMPLE.BAT for each user in the group you want to use this login script in the field login script name.

by robertgallop

I don't believe you can do this with the native NT logon scripts. Check out the NT4 Resource kit, there is a program in their called KIX32. This expands the basic NT logon scripts to "Kix Scripts". After that you can do many more things (kinda like Netware). You will be able to drive mappings based on group membership, play music, greet based on time of day, etc... Give it a try, it won't dissapoint.

Robert

This discussion is closed to new replies.