visual-studio 在没有管理员权限的情况下运行 Visual Studio

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/3810834/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-10-22 12:30:48  来源:igfitidea点击:

Running Visual Studio without admin rights

visual-studioadmin-rights

提问by Sean Kearon

We work on XP Pro workstations and use Visual Studio 2008 & 2010 to develop winforms, web and web services against local IIS and SQL Express instances.

我们在 XP Pro 工作站上工作,并使用 Visual Studio 2008 和 2010 开发针对本地 IIS 和 SQL Express 实例的 winform、Web 和 Web 服务。

We currently have local admin rights on our main machine account. The proposal is to move to a low rights account for our amin login but to have another local account with local admin rights that we then use to elevate where needed.

我们目前在我们的主计算机帐户上拥有本地管理员权限。建议是将我们的 amin 登录转移到一个低权限帐户,但拥有另一个具有本地管理员权限的本地帐户,然后我们可以使用它来在需要的地方提升权限。

Are there any issues developing and debugging under this setup that would affect developer productivity?

在此设置下开发和调试是否存在任何会影响开发人员生产力的问题?

回答by Paul Hadfield

From experience you can't install things like NUnit in your reduced priviledge account - that shouldn't be a problem for you as you can just type in the details of your higher priviledged account (it was a problem for us as we didn't have that). Also you'll need to do a similar thing if you're firing up services / IIS, etc. Again as you have it to hand it shouldn't be a problem.

根据经验,您无法在降低权限的帐户中安装 NUnit 之类的东西 - 这对您来说应该不是问题,因为您只需输入更高权限帐户的详细信息(这对我们来说是个问题,因为我们没有有那个)。此外,如果您正在启动服务/IIS 等,您还需要做类似的事情。同样,因为您拥有它,所以它应该不是问题。

My conclusion was that you could develop as a non-admin as long as you know the admin password - but if you don't know the admin password, you are going to be in for a very frustrating time!

我的结论是,只要您知道管理员密码,您就可以以非管理员身份进行开发 - 但如果您不知道管理员密码,您将陷入非常沮丧的境地!