Running an executible with different credentials.
Posted on 2012-03-26
I have an Windows Application that requires to be executed as an Administrator. I have a user that does not have admin rights to run this program. I am wanting to write either a Window Forms application, or Windows Console application that would kick off the program and pass it the administrative credentials that I would hard code into the software that would get in turn compiled so that the user will never know the admin username and password. If someone could give me some links or examples of how i can make this happen, i would appreciate it very much. I prefer vb over c#.