如何运行具有管理员权限的任何exe文件? [英] How to run any exe with administrator privileges?

查看:889
本文介绍了如何运行具有管理员权限的任何exe文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用的 makecert 创建证书,我需要做的,虽然C#程序的命令亘古不执行,因为它需要管理员权限。

I am using makecert to create certificate i need to do it though c# program the command doesnot execute as it requires administrator privileges.

请建议我如何运行的使用任何exe文件管理员在Windows 7中的特权? 如果可能的话不只是建议我的样品code。

Please suggest me how to run any exe using administrator privileges in windows 7? If possible than just suggest me the sample code.

请问日O.S.于我而言真的很重要?

Does th o.s. really matters in my case?

推荐答案

再从code。使用UAC(用户帐户控制),另一个提示。非常interestimg源恕我直言,是这个 http://victorhurdugaci.com/using-uac -with-C部分-1 /

Another hint again is using UAC( User Account Control) from the code. Very interestimg source IMHO is this one http://victorhurdugaci.com/using-uac-with-c-part-1/

这篇关于如何运行具有管理员权限的任何exe文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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