需要管理员访问权限 [英] administrator access rights are required

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

问题描述

大家好,

我已经在Windows XP上完成了我的项目,现在有Windows7.当我尝试在Win-7上运行该项目时,则需要管理员访问权限.

hi all,

i had completed my project on windows xp, now have windows 7. when i try to run the project on win-7 then administrator access rights are required.

how can i run that project.

推荐答案

您的应用程序所做的默认情况下受到限制,例如尝试写入Program Files下的文件.您必须弄清楚应用程序不应该执行的操作,或者将其更改为更合适的名称,或者添加应用程序清单文件并更改选项以要求管理特权.当然,这将限制您的应用程序只能在管理员帐户下运行.
Your application is doing something that is restricted by default, such as trying to write to a file under Program Files. You''ll have to figure out what it is your app shouldn''t be doing and either change it to something more appropriate or add an application manifest file and change the options to require administrative privileges. This will, of course, limit your app to being runnable only under an admin account.


在Windows7环境中,右键单击通过快捷方式启动VisualStudio,然后选择RunasAdministrator选项.它将顺利运行您的项目.如果您有问题,请告诉我们.
In Windows7 environment, right click on launching VisualStudio through shortcut and then select RunasAdministrator option. It will smoothly run your project. Letz know, if you have problem then.


这篇关于需要管理员访问权限的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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