Solved

Windows 2003 domain - local admin rights

Posted on 2006-11-13
5
297 Views
Last Modified: 2008-03-10
I've created a domain user that runs a batch file which install some software upon login. Is there a way to get this user to have local admin rights on every computer on the domain? I don't want to add him to the DomainAdmins group..
0
Comment
Question by:MMHDU
  • 2
  • 2
5 Comments
 
LVL 14

Expert Comment

by:inbarasan
ID: 17930503
Dear MMHDU,
net localgroup administrators username /add

The above command will add the user into Local admin group. You can put this command in login script or remotly execute from your machine using PSexec remote tool. You can download this from www.sysintenals.com

Hope this helps

Cheers!
0
 

Author Comment

by:MMHDU
ID: 17930700
That command won't work as you have to be a local admin to add other users as local admin. I get an access denied error when I put that into a login script of the user.
0
 
LVL 4

Expert Comment

by:fuzzyfreak
ID: 17938224
Alternatively, use Group Policy - need some help with this?
0
 

Author Comment

by:MMHDU
ID: 17938234
If you could point me in the right direction I would appreciate it.
0
 
LVL 4

Accepted Solution

by:
fuzzyfreak earned 125 total points
ID: 17938595
Hi MMHDU, I thought you could do it with Group Policy but it appears I am wrong, on investigation though, it seems it has to be a script and I have found one which should work for you, it is the one named ADDAdmin.vbs on this page -

http://windows.stanford.edu/Public/Infrastructure/localgroup.html

Let me know how you get on.

thanks.
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
MS Office subscription 11 51
how to open abcd.txt.orig file? 10 45
Compile Error 7 51
Activation for Microsoft Office for Mac 2016 3 30
Some time ago I was asked to create a VBA function that would calculate a check digit for an input number, using the following procedure: First, sum up all the individual digits in the number If that sum value has more than one digit, then sum up …
PaperPort has a feature called the "Send To Bar". It provides a convenient, drag-and-drop interface for using other installed software, such as Microsoft Office. However, this article shows that the latest Office 2016 apps (installed with an Office …
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
The viewer will learn how to  create a slide that will launch other presentations in Microsoft PowerPoint. In the finished slide, each item launches a new PowerPoint presentation and when each is finished it automatically comes back to this slide: …

813 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

19 Experts available now in Live!

Get 1:1 Help Now