Click here to Skip to main content
15,898,134 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all,
I want to run an (.exe) from my .net code,and the exe which i want to run has to be run as administrator . In this case i am not having the code for that (.exe) .I used the Process.Start(). but i can run the exe but not in administrator mode. I dont have administrator username and password. Please healp me how can i do this?
Posted

1 solution

You must need adminstrator credential to run an exe. Even if you want to create a new user with administyrator privelege, the also you need the administrator credential to create a user.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900