Solved

Groups and admin rights

Posted on 2002-05-08
7
147 Views
Last Modified: 2010-04-13
Topology:
Advanced server 2000 and 2000 clients.
We need to rollout various software.  My question is about User rights.  I dont want local admin rights to the client machine to install software.
What is the best way to assign temporary rights for program install.  For eg. In NT4.0 I would do the following:
1. Create a global group ie UserAdmins
2. Add this to the administrators group on each machine(client)
3. assign users to useradmins when required.
I dont really want to go around every machine doing this.
I have created a group UserAdmins on the 2000 domain and added users, also member of admin group global.
When the users logon they don't get any admin rights.  If i add them to the DomainAdmins group they get admin rights.
Cheers
0
Comment
Question by:bluez
  • 3
  • 2
  • 2
7 Comments
 
LVL 3

Expert Comment

by:Corvax021899
ID: 6996169
if all the machines are started you could run a script that would remotely add this global group to the local admin group.


Here is an example script in vbScript.

Dim oDomain 'For Domain Object
Dim oG_AdminGroup 'For Global Group
Dim oL_AdminGroup 'For Local Admin Group

Const DomainName = "Your Domain"
Const GlobalGroup = "Your GlobalGroup"

set oDomain = GetObject("WinNT://" & DomainName)
set oG_AdminGroup = GetObject("WinNT://" & DomainName & "/" & GlobalGroup)

oDomain.Filter = Array("Computer")

For Each Computer in oDomain
   set oL_AdminGroup = getobject("WinNT://" & Computer.Name & "/Administrators")
   oL_AdminGroup.Add oG_AdminGroup.AdsPath
Next

set oDomain = Nothing
set oG_AdminGroup = Nothing
set oL_AdminGroup = Nothing




0
 
LVL 1

Expert Comment

by:toshie
ID: 6997405
Why dont you assign or publish the software packages to the PCs at log on using an msi file.

The software can either be installed when the PC starts up or when the user first decides to use the program.

You can set up GPOs for each application. Or put themall together in a single GPO.

The other good thing about doing it this way is you can set up another GPO to uninstall the software when the user no longer requires it. (Good for license maintenance)

0
 

Author Comment

by:bluez
ID: 6998306
1.I have used icw for msi installs.
How do I do what you suggest ie publish package at startup, or when first run?
0
Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 
LVL 1

Expert Comment

by:toshie
ID: 6998341
There are lots of articles describing deploying software in Windows 2000. For a description of the process

http://www.win2000mag.com/Articles/Index.cfm?ArticleID=9625

For a description on how to do it

http://support.microsoft.com/default.aspx?scid=kb;en-us;Q302430

I've used it several times for small scale rollouts (playing really) its not too difficult
0
 

Author Comment

by:bluez
ID: 7005669
Note:
I can use the net command
net localgroup administrators AdminUsers /add
This only works for local logon administrator
Does anyone have any ideas how to get this to work via the logon script
I made the presumption if the users where in an admin group they could run the command at logon, but not so.
Of course the simple way is to add users to DomainAdmins, but this leaves too much of a security hole ( local machines have global account domainusers logged in>
0
 
LVL 3

Accepted Solution

by:
Corvax021899 earned 50 total points
ID: 7005696
u would need a utility like superior su, or run the script i gave sooner from any Win2k machine on the domain, as long as you are domain admin and administrator of all the PC in the domain...

0
 

Author Comment

by:bluez
ID: 7010574
Thanks for all your input into this question.
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
Find out what Office 365 Transport Rules are, how they work and their limitations managing Office 365 signatures.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now