Kinook Software Forums

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

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 01-29-2007, 11:55 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 5,612
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 VBP icon and choose Run as Administrator (if not available, hold down Shift while right-clicking).

2) Right-click the VBP 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 VBP from a Command Prompt that was run as administrator.

5) Disable UAC on the build box:
http://www.petri.co.il/disable_uac_in_windows_vista.htm


Note: To detect whether the build is running as an elevated admin user, the isadmin.exe utility (https://westmesatech.com/?page_id=23) 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
Reply

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 08:00 AM.


Copyright 1999-2019 Kinook Software, Inc.