Do Not Require Power User Privileges

Level

Requirement

Applies to

ObjectARX and ObjectDBX modules

AutoCAD does not require power user or system administrator privileges to run, nor should any custom applications.

Windows NT introduced user privileges and allowed system administrators to set privilege levels for users within their network. Locations in which files are installed and registry entries are written in a way to allow non-power users to run AutoCAD. When a system administrator advertises an AutoCAD image, a non-power user will be allowed to install it.

HKLM is read-only for non-power users (in other words, all users except power users and administrators). Non-power users can install a product that writes to HKLM if the product is installed with elevated privileges. Therefore, to support non-power users running AutoCAD, your application must be installed with elevated privileges and all data that needs to be written to HKLM must be written at install time. Any data written to the registry at runtime must be written to HKCU.

Data files that your applications might require write access to, should be placed outside of the program and system files directories.