赢得11用PowerShell切换UAC
I had disabled UAC with the command Set-ItemProperty -Path REGISTRY::HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System -Name ConsentPromptBehaviorAdmin -Value 0
and reenabled UAC with Set- ItemProperty -Path Registry :: HKEY_LOCAL_MACHINE \ SOFTWORD \ MICROSOFT \ WINDOWS \ CurrentVersion \ Policies \ Policies \ System -Name ConsentPromptPromptBehaviorAdmin -Value -Value 1
。
我的问题现在是UAC窗口看起来与切换UAC之前的外观不同。现在,它显示了用于输入管理员密码的字段。
知道如何将UAC设置为“正常”出现窗口?我无法提供UAC的屏幕截图,它总是显示一个空图像。
谢谢您的帮助!
I had disabled UAC with the command Set-ItemProperty -Path REGISTRY::HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System -Name ConsentPromptBehaviorAdmin -Value 0
and reenabled UAC with Set-ItemProperty -Path REGISTRY::HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System -Name ConsentPromptBehaviorAdmin -Value 1
.
My Problem is now that the UAC Windows looks different than it did before toggling UAC. It now shows a field for entering the administrator password.
Any idea how I can set UAC to the "normal" appearing window? I cannot provide a screenshot of the UAC it always shows an empty image.
Thank you for any help!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
一种方式:
另一种方式:
基本相同。这可以使用原始UAC窗口启用UAC,这意味着没有提示密码的提示。如果您想要该密码提示,将值从5更改为1。
谢谢@nico nekoru的链接
One way:
another way:
Basically the same. This enables UAC with the original UAC window, which means without a prompt for the password. If you want that password prompt change the value from 5 to 1.
Thanks @Nico Nekoru for the links