Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] Frequently Asked Questions > Security / Permissions

Thread Tools Rate Thread Display Modes
Old 01-29-2007, 11:55 AM
kinook kinook is online now
Join Date: 03-06-2001
Location: Colorado
Posts: 6,011
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 11:

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.
Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

All times are GMT -5. The time now is 10:17 PM.

Copyright 1999-2023 Kinook Software, Inc.