问题描述
近日发现,即使在登录到我的个人笔记本电脑的管理员时,Visual Studio不会在管理员模式下运行,你需要明确使用运行方式管理
Recently discovered that even while logged into my personal laptop as Admin, Visual Studio does not run in admin mode and you need to explicitly use Run As Admin
有没有一种方法,使之作为默认为admin不是创建一个快捷方式等其他运行?
Is there a way to Make it run as Admin by default other than creating a shortcut etc. ?
推荐答案
复制和这里粘贴,则使用高级属性部分。这将允许你总是有程序运行的,当你打开它的管理员。
- 右键单击该程序的快捷方式,然后单击属性。
- 单击一个程序快捷方式的快捷方式选项卡,然后单击高级按钮。
- 勾选以管理员身份运行,然后点击确定。
- 单击OK(确定)。
- 打开的程序。
- 如果通过UAC提示,然后单击Yes(是)申请许可允许程序具有完全权限以管理员身份运行。
请注意:如果你是做这个的同时登录为标准用户而不是管理员,那么你将需要提供管理员的密码,然后程序会以管理员身份运行
在Windows 8中,你必须用鼠标右键单击devenv.exe的并选择疑难解答兼容性。
In Windows 8, you have to right-click devenv.exe and select "Troubleshoot compatibility".
check "The program requires additional permissions"click "Next", click "Test the program..."
select "Yes, save these settings for this program"
Update Refrence orginal Link
这篇关于如何运行Visual Studio作为管理员默认的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!