docs

Home Templates Classes Guides

Running Elevated vs Standard User

QuickBooks Desktop does not run elevated.

If your app runs elevated and tries to communicate with QuickBooks, Windows will start a new hidden QuickBooks instance under the elevated account. That profile does not have the expected company files and settings, so nothing works as intended. You may see connection failures, empty responses, or no visible sign that QuickBooks was accessed.


When this bites

For most developers and end users, apps run as a standard user. The main exception is Clarion 9.x development.

Clarion 9.x developers

Workaround for C9.x


Best practice

Always test for elevation at startup and warn the user to restart as a normal user if elevation is detected. The global template inserts this check for you automatically.

Manual check example

! Detect elevation and stop early if found
QBConnMgr.AppElevatedStatus = QBConnMgr.IsAppElevated()
IF QBConnMgr.AppElevatedStatus
  MESSAGE('This program is running as an elevated user and must be restarted as a standard user.', 'Elevation Warning', ICON:Exclamation)
  RETURN
END

Home Templates Classes Guides