CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 1999
    Location
    Western Australia
    Posts
    4

    Administrative Rights

    I am looking for an alogrithm that will allow me to execute a program or installation using a different NT Domain account. The purpose behind this is to write an application that can execute anything under a different account regardless of who is logged on. This is SMS'ish in its behaviour. If anyone can shed some light on how this can be done it would be very much appreciated.


  2. #2
    Join Date
    May 1999
    Posts
    3,332

    Re: Administrative Rights

    sounds like you are trying to write a service, i.e. a program that can run without a user being logged in.
    Be aware, that MS does NOT recommend to write services in NT.
    If you are not intimidated by that :-)
    read MSDN article Q175948.
    It has all the details, including source code...


Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured