How to solve the problem of escalating privileges no matter what you do in Win11

In Windows 11 system, even if you are under the professional version system and use the Administrator account, you still need to pop up a window to confirm the administrator permissions when performing certain operations, which makes it very inconvenient during program development because Not every IDE can maintain administrator rights at all times.

So open Run and enter:

gpedit.msc

In the interface that appears, select:
Computer Configuration -> Windows Settings -> Security Settings -> Local Policies -> Security Option -> User Account Control: Run all administrators in Admin Approval …

This option must be selected as Disabled, so that a dialog box does not pop up every time to confirm.
Insert image description here

Guess you like

Origin blog.csdn.net/weixin_42072754/article/details/133964904