View Single Post
  #1  
Old 06-13-2005, 11:42 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 5,752
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