[python-win32] LocalService, COM

Tore Klars toreklars at gmail.com
Thu Oct 31 16:59:46 CET 2013


I'm debugging a COM issue with pythoncom: a Python program is unable
communicate
with VirtualBox over COM when run under the LocalService or NetworkService
Windows accounts. The same program can communicate with VirtualBox without
issue
under the LocalSystem, administrator, and Guest accounts.

Under LocalService and NetworkService, this line

  win32com.client.Dispatch('VirtualBox.VirtualBox')

raises

  com_error(-2147024891, 'Access is denied.', None, None)

Why are the LocalService and NetworkService accounts unable to communicate
with
VirtualBox over COM?

Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-win32/attachments/20131031/7c43516f/attachment.html>


More information about the python-win32 mailing list