Kinook Software Forum

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

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 06-13-2005, 11:42 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
How can I prevent errors calling Virtual Server from script code?

The Microsoft Virtual Server [1] COM interfaces [2] can be invoked from Visual Build Pro via a Run Script action. However, these components require the COM security level be set to Impersonation or higher [3]. By default, COM uses the Identification security level (VBP and scripts executed within it will run at the system-wide setting since it doesn't explicitly set a security level).

To change this setting, run dcomcnfg from the Run dialog (Win+R), navigate to Component Services -> Computers -> My Computer, right-click on My Computer, select Properties, switch to the Default Properties tab, and set the Default Impersonation Level to Impersonate, OK the dialogs, and restart Windows.

[1] http://www.microsoft.com/windowsserv...r/default.mspx
[2] http://msdn.microsoft.com/library/de...com_object.asp
[3] http://blogs.msdn.com/virtual_pc_guy...05/415135.aspx
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 05:35 AM.


Copyright © 1999-2023 Kinook Software, Inc.