Process launched with other credentials

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi

Do someone knows how to start a process from my application, but with another account privileges

For example, if i want to change the Ip configuration of the machine via command line (netsh interface ip ...), how can i start "netsh" with predefined privileges, or at least with my application's privileges

I searched in the process class, but i can't find anything... Well... It's driving me crazy..
 
hi
once you done with implementing and installing your service , try this
1. Go to control Panel ' Administrative tools ' Services
2. Right click your service and select properties (this will open the
service property window)
3. Click on the log on tab
4. click on this account radio button then enter user Name and password of
the account that you want your service to run under . ( the one that has
enough privileges to do the task that you want to do )
hope that Helps

Mohamed Mahfouz
MEA Developer Support Center
ITworx on behalf of Microsoft EMEA GTSC
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top