Click here to Skip to main content
15,892,537 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
hi,

Tell me how to set user account setting to never notice me using c# windows form codes.

it should not ask for any alert while doing the process
Posted

The only way to do that is to always run as an admin: and that requires an admin login or UAC when your application starts.

It's a security mechanism. If you could get round it that easily, so could the bad guys!
 
Share this answer
 
Go through this video[^] - it will help you turn UAC on or off.
You can change these settings only if you are an admin of course.
 
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