加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > Windows > 正文

如何在Windows 7下找出应用程序需要的权限

发布时间:2020-12-14 04:36:54 所属栏目:Windows 来源:网络整理
导读:有没有办法找出我的应用程序需要什么特权才能在 Windows 7环境中运行? 我有一个Delphi应用程序,它使用BDE和ODBC进行数据库连接.此应用程序适用于在普通用户帐户上运行Windows 7的大多数计算机.但是,在某些计算机上,它仅适用于具有管理权限的帐户,并且在普通
有没有办法找出我的应用程序需要什么特权才能在 Windows 7环境中运行?

我有一个Delphi应用程序,它使用BDE和ODBC进行数据库连接.此应用程序适用于在普通用户帐户上运行Windows 7的大多数计算机.但是,在某些计算机上,它仅适用于具有管理权限的帐户,并且在普通用户帐户上无法正常工作.我怀疑这是一个许可问题.计算机也在Active Directory中运行.

我试图从SysInternals使用Process Monitor找到一些信息,但是我的输出太高级了.我的应用程序的两次运行的进程监视器日志(1.成功管理权限,2.正常权限不成功)有超过22k行,我在进程监视器日志(haystack)中找不到答案(针).

我该怎么做才能确定我的应用程序在Windows 7中需要的权限?

解决方法

使用 Microsoft Application Compatibility Toolkit中的 Standard User Analyzer.

The Standard User Analyzer (SUA) tool and the Standard User Analyzer
Wizard (SUA Wizard) both enable you to test your applications and to
monitor API calls in order to detect potential compatibility issues
due to the User Account Control (UAC) feature in the Windows? 7
operating system.

UAC,formerly known as Limited User Account (LUA),requires that all users (including members of the Administrator group) run as Standard Users,until the application is deliberately elevated,by using the security prompt dialog box. However,not all applications can run properly with the Standard User role,due to the application requiring access and privileges for locations that are unavailable to a Standard User.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读