|
|
Thread Tools | Rate Thread | Display Modes |
#1
|
|||
|
|||
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 |
|
|