kinook
06-13-2005, 11:42 AM
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/windowsserversystem/virtualserver/default.mspx
[2] http://msdn.microsoft.com/library/default.asp?url=/library/en-us/msvs/msvs/connecting_to_the_virtual_server_com_object.asp
[3] http://blogs.msdn.com/virtual_pc_guy/archive/2005/05/05/415135.aspx
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/windowsserversystem/virtualserver/default.mspx
[2] http://msdn.microsoft.com/library/default.asp?url=/library/en-us/msvs/msvs/connecting_to_the_virtual_server_com_object.asp
[3] http://blogs.msdn.com/virtual_pc_guy/archive/2005/05/05/415135.aspx