Because both LocalService and NetworkService have minimal privileges on the local computer, while LocalSystem, admin, and guest have more extensive privileges.
From: python-win32 [mailto:python-win32-bounces+rdahlstrom=directedge....@python.org] On Behalf Of Tore Klars Sent: Thursday, October 31, 2013 12:00 PM To: python-win32@python.org Subject: [python-win32] LocalService, COM 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. ________________________________ DISCLAIMER: This e-mail, and any attachments thereto, is intended only for use by the addressee(s) named herein and may contain legally privileged and/or confidential information. If you are not the intended recipient of this e-mail, you are hereby notified that any dissemination, distribution or copying of this e-mail is prohibited. If you have received this in error, please immediately notify me and permanently delete the original and any copy of any e-mail and any printout thereof. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. Direct Edge may, at its discretion, monitor and review the content of all e-mail communications.
_______________________________________________ python-win32 mailing list python-win32@python.org https://mail.python.org/mailman/listinfo/python-win32