假设程序在第一次运行时具有管理员权限。
一、暴力方法
1 UAC注册表位置
HKLM\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\System
ConsentPromptBehaviorAdmin 0
EnableLUA 0
PromptOnSecureDesktop 0
2 改完后安全中心会报警
HKLM\\SOFTWARE\\Microsoft\\Security Center
UacDisableNotify 1
3 关闭安全中心
HKLM\\SYSTEM\\CurrentControlSet\\Services\\wscsvc
Start 4
4 关闭安全中心通知方式
HKLM\\SOFTWARE\\Microsoft\\Security Center\\Svc\\"当前用户SID"
EnableNotifications 0
EnableNotificationsRef 20
二、绕路法
<!-- level can be "asInvoker", "highestAvailable", or "requireAdministrator" -->
<requestedExecutionLevel level="re