Click here to Skip to main content
15,881,248 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
How to bypass the UAC on c# ???
Posted
Comments
Sergey Alexandrovich Kryukov 3-Nov-11 0:53am    
Why?!
--SA

1 solution

Ensure that your application does not need administrator priviledges. If properly written, most application can works without those priviledges except typically when the application want to update itself.

The whole point of UAC is that is should not be easy to bypass as otherwise the security would be compromise. Essentially the system prevents some global changes without the consent of the user.

By the way, why would you want to bypass it. Do you want to do do some harm on a computer? The UAC is there to prevent you to do that without the user being warned that something suspicious is occuring.
 
Share this answer
 
v2
Comments
Sergey Alexandrovich Kryukov 3-Nov-11 0:53am    
Good points. OP says this is no harm, but this is not true. He says "I want copy files from disk d: to c:/program files/..." -- quite a harm, come to thing about...

Got my 5.
--SA

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