windows - 如何找出应用程序在 Windows 7 下需要什么权限

标签 windows delphi windows-7 privileges bde

有没有办法找出我的应用程序需要哪些权限才能在 Windows 7 环境中运行?

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

我尝试使用 SysInternals 的 Process Monitor 查找一些信息,但是对我来说输出太高级了。我的应用程序两次运行的进程监控日志(1. 成功获得管理权限,2. 不成功)超过 22k 行,我无法在进程监控日志(haystack)中找到答案(针)。

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

最佳答案

使用 Standard User Analyzer来自 Microsoft Application Compatibility Toolkit .

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.

关于windows - 如何找出应用程序在 Windows 7 下需要什么权限,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10710638/

相关文章:

windows-7 - InnoSetup - 编译符号工具失败,退出代码为 0x1

c++ - wxButton 在下一个按钮被选中后看起来仍然被选中

windows-7 - 32 位 Windows 和 IIS 7 中的 Server.CreateObject( ) 失败

windows - git log --grep 在 Windows 中不起作用

java - Windows 。如何添加PermGen空间?

windows - Haxe、Stencyl、Windows 'Save As' 对话

javascript - 按 Win + D 导致不允许最小化的 Electron 窗口在 Windows 10 上最小化

Delphi,从第 3 方数据字段读取数据

delphi - 如何为 Delphi 组件创建上下文菜单?

delphi - IdHTTP + socks + socks 5