Scripts Thread, add user as local admin in Coding and Web Development; Any one got a batch or script to add a domain user as a local admin I can add to ...
22nd September 2008, 12:19 PM #1
add user as local admin
Any one got a batch or script to add a domain user as a local admin I can add to the startup scripts? Don't usually like doing this but I have some softwrae that refuses to run unless they are local admins. I have tried localgroup Administrators /add DOMIAN_NAME\User_Name
which runs if I log on as an administrator but fails if I run it as a user due to lack of permissions, catch 22!
22nd September 2008, 12:35 PM #2
if you're running it through a group policy startup script, you can permission it for domain computers, rather than users. This will let it run regardless of who's logging on.
22nd September 2008, 12:54 PM #3
Thanks to RabbieBurns from:
TechSupp (22nd September 2008)
By CM786 in forum Windows
Last Post: 26th February 2010, 11:00 AM
By tosca925 in forum Scripts
Last Post: 14th June 2008, 01:18 AM
By FN-GM in forum Windows
Last Post: 22nd January 2008, 09:29 PM
By adamyoung in forum Windows
Last Post: 28th June 2007, 11:56 AM
By Halfmad in forum Windows
Last Post: 6th June 2007, 01:43 PM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)