在Windows11系统中,即使你是专业版系统下,并且使用了Administrator账户,在进行某些操作时还是需要弹出一个窗口来确定管理员权限,这就导致在程序开发的过程中很不方便,因为不是每个IDE都能时刻保持管理员权限。
所以打开运行,输入:
gpedit.msc
出现的界面中依次选择:
Computer Configuration -> Windows Settings -> Security Settings -> Local Policies -> Security Option -> User Account Control: Run all administrators in Admin Approval …
这个选项一定要选择Disabled,这样就不用每次都弹出一个对话框来确定了。

本文介绍如何在Windows11的专业版系统中,避免使用管理员账户时频繁弹出权限确认窗口,通过修改gpedit.msc中的UserAccountControl设置,将其设为Disabled,提高程序开发效率。
4633

被折叠的 条评论
为什么被折叠?



