View Single Post
Old 06-13-2005, 12:42 PM
kinook kinook is online now
Join Date: 03-06-2001
Location: Colorado
Posts: 5,851
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.

Reply With Quote