如何防止UAC警告? [英] How to Prevent UAC warning?

查看:100
本文介绍了如何防止UAC警告?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我创建了一个应用程序,只需运行系统命令即可运行带有cscript.exe的MS脚本文件



例如,



Hi,

I created an application which simply runs system command for running MS script file with cscript.exe

For example,

cscript.exe c:\test.js /param1 /param2





我的应用程序所做的只是运行系统命令。如果我使用超级管理员帐户登录,该帐户在Windows 7帐户中具有最高的预存,则不会弹出UAC警告。但是,如果我使用任何其他帐户登录,则在运行我的应用程序时会显示UAC警告。



我没有改变我的Windows系统的UAC级别。 (现在是默认级别)。



我试图谷歌解决方案,但没有运气。有谁能帮我解决这个问题?



谢谢,

保罗。



What my application does is just running system commands. If I log in with Super Administrator account, which has highest previlleges in windows 7 accounts, UAC warning does not pop up. But if I log in with any other account, UAC warning shows up when I run my application.

I haven''t changed my UAC level of Windows system. (It is Default level now).

I tried to google solutions for these, but had no luck. Could anyone help me figure out this issue?

Thanks,
Paul.

推荐答案

要完全绕过此警告并仍以管理员身份运行程序,请执行以下操作: -



1)启动,运行,secpol.msc
2)点击本地政策,安全选项

3)向下滚动到此设置:用户帐户控制:管理员批准模式下管理员提升提示的行为。

4)将设置更改为提升而不提示



或者您可以尝试以下链接: -

< a href =http://www.howtogeek.com/howto/4820/how-to-really-completely-disable-uac-on-windows-7> http://www.howtogeek.com/howto/4820 /如何真正完全禁用-uac-on-windows-7 [ ^ ]
To completely bypass this warning and still run programs as an administrator, do the following:-

1) Start, Run, secpol.msc
2) Click on Local Policies, Security Options
3) Scroll down to this setting: "User Account Control: Behavior of the elevation prompt for administrators in Admin Approval Mode."
4) Change the setting to "Elevate Without Prompting"

Or You can try below Link :-
http://www.howtogeek.com/howto/4820/how-to-really-completely-disable-uac-on-windows-7[^]


这篇关于如何防止UAC警告?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆