Thread: Gain Administrator Right on NT4

  1. #1

    Gain Administrator Right on NT4


    Could someone tell me the name of a function I can use to gain administrator rights on a workstation for my application (MFC EXE)?

    I will be supplying the password in the application..
    Cannot find this inform on msdn.,


  2. #2
    the hat of redundancy hat nvoigt's Avatar
    Join Date
    Aug 2001
    Hannover, Germany
    Try to search for Access Control. The Object you might need is named CAccessToken. Read on from there, it's probably to much stuff to paste it here.

    She was so Blonde, she spent 20 minutes looking at the orange juice can because it said "Concentrate."

    When in doubt, read the FAQ.
    Then ask a smart question.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Help Me A Gain
    By AHMED KHALAF in forum C Programming
    Replies: 1
    Last Post: 12-09-2004, 08:11 AM
  2. What USA lost and gain from the WAR against Iraq?
    By zahid in forum A Brief History of
    Replies: 139
    Last Post: 05-20-2003, 09:51 PM
  3. Multithreading, time gain?
    By Magos in forum Windows Programming
    Replies: 7
    Last Post: 05-08-2003, 05:35 PM
  4. how to gain privilege
    By Jaguar in forum Linux Programming
    Replies: 9
    Last Post: 04-06-2003, 02:30 PM