0
Answer

How to run my application as an administrator automatically in vista?

Photo of kishan gajjar

kishan gajjar

16y
3.7k
1
Hi...

My application is for repairing the bad registry.so i have write code to change those values.

But when i am trying to run my application in vista at that time vista throws UnAuthorizedException...it shows that access is denied..

So i have to run my application as an administrator.

But i want that automatically my application start as an administrator then what should i do?

Is there any way available to do this????

Please help me....i am waiting...


Thanks in advance....