+ Post New Thread
Results 1 to 3 of 3
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 ...
  1. #1
    TechSupp's Avatar
    Join Date
    Mar 2007
    Location
    South Yorkshire
    Posts
    1,828
    Thank Post
    288
    Thanked 112 Times in 93 Posts
    Rep Power
    39

    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!

  2. #2

    Domino's Avatar
    Join Date
    Oct 2006
    Location
    Bromley
    Posts
    4,020
    Thank Post
    212
    Thanked 1,163 Times in 758 Posts
    Blog Entries
    4
    Rep Power
    480
    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.

  3. #3

    RabbieBurns's Avatar
    Join Date
    Apr 2008
    Location
    Sydney
    Posts
    5,476
    Thank Post
    1,305
    Thanked 469 Times in 306 Posts
    Blog Entries
    6
    Rep Power
    198

  4. Thanks to RabbieBurns from:

    TechSupp (22nd September 2008)

SHARE:
+ Post New Thread

Similar Threads

  1. Replies: 7
    Last Post: 26th February 2010, 10:00 AM
  2. Replies: 5
    Last Post: 14th June 2008, 12:18 AM
  3. Add an IP address to local host
    By FN-GM in forum Windows
    Replies: 12
    Last Post: 22nd January 2008, 08:29 PM
  4. Add local users to xp home remotely
    By adamyoung in forum Windows
    Replies: 4
    Last Post: 28th June 2007, 10:56 AM
  5. Replies: 4
    Last Post: 6th June 2007, 12:43 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •