1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Granting logon privileges to domain user

Discussion in 'Win32' started by RustyKnight, May 21, 2008.

  1. RustyKnight

    RustyKnight New Member

    Joined:
    May 17, 2008
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    Greetings all!

    I've been looking for away to grant logon privileges (and assign to the local administrator group) to an existing domain user.

    I've seen code using LSA to provide security privileges to a domain user via it's SID but would like some clarification.

    The user in question does not exist on the local machine.

    I would like to know if I need to first create an user account for the user or does the act of setting the privilege do this for me!? Also how would I go about adding this user to the administrator group?

    Cheers
    Shane
     
  2. D.Smabe

    D.Smabe New Member

    Joined:
    Aug 16, 2009
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    Occupation:
    United States
    Location:
    United States
    Home Page:
    You have to have someone with Domain Admin status log in and make your domain account a local admin in user accounts. That doesnt give you 100 admin access but its about 99 and will allow you do add remove programs.
     

Share This Page