running dos command under admin account

From: carl (manofsteele_at_311.com)
Date: 08/21/03

  • Next message: Bill Nguyen: "Lost SSL certificate!"
    Date: Thu, 21 Aug 2003 14:05:29 -0700
    
    

    Hello, I am trying to execute a batch file from my asp.net
    app. To execute the command in this file, it will need
    domain admin rights.

    I know I could set that up in machine.config, but that
    would make every .net app run high priviledged.

    How do I make just this single execution tied to an admin
    account?


  • Next message: Bill Nguyen: "Lost SSL certificate!"

    Relevant Pages

    • Re: Problem when executing application from batch file
      ... >buffer and execute one by one ... >that the comands (multi-commands from batch file) are sent. ... >multi-commands, then the first command will invoke the application and the ... If you write a tiny stripped down loader for your App and use: ...
      (microsoft.public.vb.general.discussion)
    • Re: Batch file and MFC
      ... ShellExecute will look up the .bat file name and launch a process that will execute the ... Overall, I find the batch file approach to be rather primitive, a real throwback ... able to cause a restart of the system. ... nearly all the historical reasons for requiring a restart have gone away. ...
      (microsoft.public.vc.mfc)
    • Requested Registry Access is Not Allowed
      ... We have several applications that will be executing on multiple machines. ... will execute the apps. ... There are Permission Sets within the framework configuration tool, ... The app fails on the WriteEntry and the exception that is thrown is ...
      (microsoft.public.dotnet.framework)
    • RE: Requested Registry Access is Not Allowed
      ... > We have several applications that will be executing on multiple machines. ... > will execute the apps. ... > There are Permission Sets within the framework configuration tool, ... > machine that the app will run. ...
      (microsoft.public.dotnet.framework)
    • Re: disable double clicking attachments
      ... Double click a file and the app opens. ... There's no prompt to save it before the default action takes place. ... It does once you flag their attachment directory as deny execute. ...
      (microsoft.public.outlook.general)