Computing.Net > Forums > Windows NT > Adding login script to multiple users

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Adding login script to multiple users

Reply to Message Icon

Name: Dorothy Fisher
Date: July 9, 2002 at 21:08:59 Pacific
Comment:

Please could you help me, I need to know how I can add a login script to selected users only. That is this procedure is only needed for a department students only not for every users account.

Could you help me write a batch file that will add this login script call (student.bat) to a group of students only (selected). It doesn't apply to every student.

Thank you



Sponsored Link
Ads by Google

Response Number 1
Name: Slavi
Date: July 10, 2002 at 00:30:05 Pacific
Reply:

Hi,
You Don't need to write any spetial scripts ,
it's much easier .
If you work with NT4 :
open User Manager for Domains ( usrmgr.exe ),
select users holding ctrl key ,press properties and write the name of your login script batch file under Profile .
Of course you need to put the file to \WINNT\system32\Repl\Import\Scripts on your Domain controller first .
If you work with Active Directory ( windows2000 domain ):
Create Organization unit called for exsample "Students " .Move selected users to this OU . Right click on OU you created ,Properties , Group Policy ,New ,
Under user Configuration go to windows settings \scripts \logon add your script ,wait for 5 min to be sure that information between your domains was replicated ,tell users to logout and login again .
That's all folks .


0

Response Number 2
Name: Spiney69
Date: July 15, 2002 at 05:13:18 Pacific
Reply:

If you have the usernames in a list you can paste them into the 2nd column of a spreadsheet, add NET USER all the way down the column before and /scriptpath:student.bat down the column after. Save as a comma delimited text file and then open it in notepad. do a find replace , with a space and then save as a batch file. Run the batch file on one of you DC's. It's usually worth running your batch file so it outputs to a log so you can easily check it all went OK.

NET USER username /scriptpath:student.bat


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows NT Forum Home


Sponsored links

Ads by Google


Results for: Adding login script to multiple users

NETSEND to multiple users www.computing.net/answers/windows-nt/netsend-to-multiple-users/16374.html

Login script to update virus definitions www.computing.net/answers/windows-nt/login-script-to-update-virus-definitions/6812.html

NET SEND to MULTIPLE USERS www.computing.net/answers/windows-nt/net-send-to-multiple-users/16201.html