WIndows 7用户访问控制 [英] WIndows 7 user access control

查看:159
本文介绍了WIndows 7用户访问控制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我在其中一台装有Windows 7操作系统的笔记本电脑上成功安装了Microsoft零售管理系统软件。

当我尝试运行应用程序(HeadQuarterManager),它提示输入管理员凭据。

应该采取什么措施来抑制凭证提示。我不想将用户访问控制设置为从不。它应该通知我但不应该提示凭证。



谢谢,

Uma

Hi,

I successfully installed Microsoft Retail Management System software in one of the laptops that has Windows 7 OS.
When I try to run the application(HeadQuarterManager) it is prompting for administrator credentials.
What should be done to suppress the credentials prompt. I don't want to set the User Access Control to Never. It should notify me but should not prompt for credentials.

Thanks,
Uma

推荐答案





u只需在项目中添加一个应用程序清单文件即可。并将凭据更改为管理员。喜欢这个



Hi ,

u just add one application manifest file in your project . and change the credential to the administrator . like this

<security>
      <requestedprivileges xmlns="urn:schemas-microsoft-com:asm.v3">
 <!-- UAC Manifest Options
            If you want to change the Windows User Account Control level replace the 
            requestedExecutionLevel node with one of the following.

        <requestedExecutionLevel  level="asInvoker" uiAccess="false" />
        <requestedExecutionLevel  level="requireAdministrator" uiAccess="false" />
        <requestedExecutionLevel  level="highestAvailable" uiAccess="false" />

            Specifying requestedExecutionLevel node will disable file and registry virtualization.
            If you want to utilize File and Registry Virtualization for backward 
            compatibility then delete the requestedExecutionLevel node.
        -->
       

   <requestedExecutionLevel  level="requireAdministrator" uiAccess="false" />
  
      </requestedprivileges>
    </security>





感谢你

Animesh



Thanking you
Animesh

我猜你无权访问应用程序的源代码。因此,您必须找到一种以管理员身份运行应用程序的方法,而用户实际上不是管理员。

我不知道详细信息,但是有一些关于计划任务的技巧。可以生成计划任务,并在那里提供其帐户将用于该任务的用户的凭证(例如,您的案例中的管理员)。然后,您可以允许任何用户手动运行该任务,Windows仍将以不同的用户身份运行它。

请注意,Windows安全机制可能会阻止拖放到该应用程序中,但是从应用程序拖放到桌面可能仍然有效。
I guess you do not have access to the source code of the application. Consequently, you have to find a way to run the application as an administrator without the user actually being an admin.
I do not know the details, but there is some trick with "scheduled tasks". It is possible to generate scheduled tasks and provide there the credentials of a user whose account is to be used for that task (e.g. an admin in your case). Then you can allow any user to run that task manually, and Windows will still run it as that different user.
Note that drag&drop into that application will likely be prevented by Windows security mechanisms, but drag&drop from the application to desktop might still work.


这篇关于WIndows 7用户访问控制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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