Page 1 of 1 1
Topic Options
#22370 - 2002-05-29 09:24 PM users
bluesteel Offline
Fresh Scripter

Registered: 2002-05-13
Posts: 32
Loc: Montreal, Quebec Canada
ok...heres what i want to do......

when we install a new user i want to ask if that user is supposed to be local admin...

(we have three areas; production, creation and technology)

users in technology(not a group) must be admins on their pcs....

thats why i want to create a script that will add the user to local admin if we answer yes, or not if we answer no

plz help
blue
ps. if anything is not clear do tell me .....thx

Top
#22371 - 2002-05-29 09:40 PM Re: users
BrianTX Offline
Korg Regular

Registered: 2002-04-01
Posts: 895
There are a couple questions I have:

1. What type of client/server OS?

2. When you say "install new user", do you mean configure an domain user account, setup a PC, or what?

3. How and when would this script run?

Brian

Top
#22372 - 2002-05-29 09:53 PM Re: users
bluesteel Offline
Fresh Scripter

Registered: 2002-05-13
Posts: 32
Loc: Montreal, Quebec Canada
windows 2000 server, and win2k pro client

heres how it works....when we setup a new pc.....we have a script that adds two groups to the computer; domain admins and domain users.

but now we would like to, in addition, ask if the user that is being setup will be administrator locally(on their pc)

and then it will add that user to the local administrator group
(i hope that clears it up)

and like i said , the script would be run when we're setting up a new pc

blue

Top
#22373 - 2002-05-29 10:22 PM Re: users
BrianTX Offline
Korg Regular

Registered: 2002-04-01
Posts: 895
I would think the easiest way was to use CUSRMGR.EXE from the Windows 2000 Resource kit. I would assume you know how to add user accounts already, however, so simply, all you need is a choice to do so. Review the @USERID, MESSAGEBOX, IF/ENDIF, and SHELL statements in the KiXtart manual. All you need to do this should be in there. (Or maybe someone will write you a sample script.. I would, but I'm leaving soon.)

Brian

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
1 registered (Allen) and 581 anonymous users online.
Newest Members
fgarcia, Viginette, ManuvdWielNL, Sir_Barrington, batdk82
17889 Registered Users

Generated in 0.051 seconds in which 0.023 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