Solved

Adding users to the local admins group with bat script

Posted on 2006-10-25
2
2,360 Views
Last Modified: 2008-01-09
Just wonderin if this will do the above, and if you think its advisable.

net localgroup Administrators %username% /ADD >NUL
0
Comment
Question by:Dinga84
2 Comments
 
LVL 74

Accepted Solution

by:
Jeffrey Kane - TechSoEasy earned 50 total points
ID: 17808525
Well, it won't unless you run it from the machine you want to add them to... but you can actually just add a user by using the Server Management Console > Computers > Manage Computer

Also, when you join a workstation to the network with the correct method (http://<servername>/connectcomputer) it will ask you what user to assign to that computer and will automatically make that user a member of the local administrators group.

I personally don't have a problem with this, and it makes for easier management.  However, you do need to enforce software restrictions in order to keep users from installing stuff that you don't want them to.

Jeff
TechSoEasy
0
 
LVL 3

Author Comment

by:Dinga84
ID: 17808593
Jeff,

Was planning on running it from a bat file, however didnt realise that the connectcomputer wizard assigned them as a member of local admin, that takes care of that for me anyway.

Thanks again.
0

Featured Post

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Question has a verified solution.

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

The SBS 2011 release date (RTM) is supposed to be around Christmas, 2011.  This article is a compilation of my notes -- things I have learned first hand.  The items are in a rather random order, but I think this list covers most of what is new and d…
I work for a company that primarily works with small businesses as their outsourced IT vendor. As such the majority of these customers utilize some version of Small Business Server. Due to the economics of running a small business, many of these cus…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

895 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

21 Experts available now in Live!

Get 1:1 Help Now