Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Make domain user as power users

Status
Not open for further replies.

Bickyz

Technical User
Feb 7, 2003
239
0
0
GB
I hav windows 2000 advanced server as the server of the LAN and i want to assign some of my users as power users, how can i do it? I dun want to assign them as administrator. Can anybdy help me please.
 
Here is how I accomplished the task:

I created a global group (let's call it "globgroupx")and put all of the users that I wanted to be power users into that group. Then I created a script (actually, I found it on a website ;) ) that places the members of that global group into the power users local group on all of the machines. The script was placed into the startup script for the group policy. Here is the script, where my global group=globgroupx and my domain=domain.com:

poweruser.vbs
***************************************************
On Error Resume Next
set WshShell = CreateObject("WScript.Shell")
set netobj = CreateObject("WScript.Network")
CompName = netobj.ComputerName
UsrDomainString = "domain.com"
LocalGrp1 = "Power Users"
GroupString1 = "globgroupx"
' add a global group to local group
Set GroupObj = GetObject("WinNT://" & CompName & "/" & LocalGrp1)
GroupObj.Add ("WinNT://" & UsrDomainString & "/" & GroupString1)
Set GroupObj = Nothing
*******************************************************

I hope this helps.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top