Page 1 of 1 1
Topic Options
#46247 - 2003-10-02 01:33 PM Adding multiple users from files
Anonymous
Unregistered


Hi all - newbie here

I am looking at adding loads of users to a Windows 2003 server (local accounts) from a spreadsheet we have. The following are the attributes I need to import

Username
Password
Description
Full Name
User cannot change password
Password never expires
Member of USERS group only
Dial-in - Allow Access

Any help would be great

thanks

Top
#46248 - 2003-10-02 01:36 PM Re: Adding multiple users from files
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
type on command prompt:
net help user
_________________________
!

download KiXnet

Top
#46249 - 2003-10-02 01:39 PM Re: Adding multiple users from files
Anonymous
Unregistered


Thanks,

I tried that this morning. It creates the account etc, but I have to go in manually and tick the "dial in access" box for the user

thanks for the quick reponse

Top
#46250 - 2003-10-02 01:47 PM Re: Adding multiple users from files
Kdyer Offline
KiX Supporter
*****

Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
Can you show us the code you have at this point?

Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's

Top
#46251 - 2003-10-02 02:02 PM Re: Adding multiple users from files
Howard Bullock Offline
KiX Supporter
*****

Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
Please review these article:

Cannot Grant Dial-in Access to a User from an ADSI Script
_________________________
Home page: http://www.kixhelp.com/hb/

Top
#46252 - 2003-10-02 02:16 PM Re: Adding multiple users from files
Kdyer Offline
KiX Supporter
*****

Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
Ben Delaney's Network Manager Script has this code within and should provide some insight on how to use it.

HTH,

Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's

Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 2175 anonymous users online.
Newest Members
fgarcia, Viginette, ManuvdWielNL, Sir_Barrington, batdk82
17889 Registered Users

Generated in 0.109 seconds in which 0.075 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org