Kinook Software Forums

Kinook Software Forums (
-   Security / Permissions (
-   -   User Access Control (UAC) and automated builds (

kinook 01-29-2007 12:55 PM

User Access Control (UAC) and automated builds
On Windows Vista and later with UAC (User Account Control) enabled, applications started by an admin user do not have admin rights. Visual Build itself does not require admin rights to run or perform builds, but this limitation can cause problems with common build activities such as COM registration, COM+ administration, copying files to protected folders, editing HKEY_LOCAL_MACHINE registry entries, etc. To perform these tasks, you may need to explicitly run VBP in an elevated mode (with administrative privileges). Here are some ways to do this:

1) Right-click the Visual Build icon and choose Run as Administrator (if not available, hold down Shift while right-clicking).

2) Right-click the Visual Build icon and choose Properties, switch to the Compatibility tab and check Run this program as administrator.

3) Task Scheduler: Configure the task to run under an administrator account, and on the General tab of the Task properties dialog, check the Run with highest privileges checkbox.

4) Run Visual Build from a Command Prompt that was run as administrator.

5) Disable UAC on the build box:

Windows 10:

Windows 8:

Windows 7:

Windows Vista:

Note: To detect whether the build is running as an elevated admin user, the isadmin.exe utility ( can be called from a Run Program action. Use a Success exit codes field value of 1 to succeed for elevated admins and fail for non-admins/unelevated admins.

All times are GMT -5. The time now is 05:52 AM.

Copyright 1999-2019 Kinook Software, Inc.