locked
Any sample code to run as administrator RRS feed

  • Question

  • Dear Sir,

    If a user has administrator rights and wants his application to run another installer application
    as administrator. Is there amy sample code to "impersonate" as an administrator, like click the
    "run as administrator" in the Windows Explorer?

    thanks,

    Jay
    Monday, January 8, 2007 12:28 AM

Answers

  • Using your favorite scripting languages such as VBScript or PowerShell (not yet RTM on Vista)?

     

    Monday, January 22, 2007 11:24 AM