如何在win 7中绕过UAC? [英] How to bypass UAC in win 7?

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

问题描述

是否有任何方法可以绕过UAc使用vb脚本或批处理命令..如果有任何方法,请善解释。

Is there any method to bypass the UAc Using vb script or batch command..If there is any way then kindly explain it.

推荐答案

绝对没有绕过UAC的方法。无论如何,我没有意识到任何事情。试想一下:如果某些编码技巧可以绕过UAC,那么UAC就会变成完全无用的烦恼。是不是很明显?



不同的是:你可以允许UAC请求发生(你无论如何都没有选择:-))但是放松了它的用途。例如,一种广泛使用的方法是:您知道在几乎所有情况下,您的应用程序最终都需要提升权限。如果以非提升方式执行它,则需要处理权限异常。但是,即使你正确地完成所有操作,以非升高的方式运行也没有任何实际意义。然后解决方案就是:创建并嵌入应用程序清单,这将立即强制操作系统向用户提出UAC对话请求,从而无需以管理员身份运行选项。方法如下:

http://msdn.microsoft.com/en- us / library / bb756929.aspx [ ^ ]。



无论如何,它将让用户处理UAC确认,只是没有不必要的步骤。



-SA
There is absolutely no way to bypass UAC. Not anything I am aware of, anyway. Just think about it: if some coding tricks would allow to bypass UAC, it would turn UAC to a completely useless annoyance. Isn't it obvious?

The different thing is: you could allow UAC request to happen (you don't have a choice anyway :-)) but ease up its use. For example, one widely used approach is this: you know that your application will eventually require elevated privileges, in nearly all cases. If you execute it as non-elevated, you would need to deal with permission exception. But even you do it all correctly, running it as non-elevated makes no practical sense. Then the solution is this: created and embed the application manifest which would force the OS the request the user with UAC dialog immediately, thus eliminating a need for "Run As Administrator" option. Here is how:
http://msdn.microsoft.com/en-us/library/bb756929.aspx[^].

It will let the user to deal with UAC confirmation anyway, only without unwanted step.

—SA


否。

如果您的应用程序需要管理员权限,那么UAC将确保除非用户提供了正确的权限,否则它不会运行。
No.
If your application does something that needs admin permissions, then the UAC will ensure it does not run unless the user has given the correct permissions.


这篇关于如何在win 7中绕过UAC?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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