Monitoring user's VM via API as LOCAL SYSTEM

Discussion about using the VirtualBox API, Tutorials, Samples.
Post Reply
DmitryAkaLBVF
Posts: 3
Joined: 1. Nov 2017, 13:59

Monitoring user's VM via API as LOCAL SYSTEM

Post by DmitryAkaLBVF »

Hello!

I need to monitor and interact with virtual machines (running under a user account) from my own Windows service running from the LOCAL SYSTEM account.
Now my service will see all the virtual machines in the MachineState_PoweredOff state when they are actually running.
Can someone help me solve this problem? Can I solve this problem by fixing the DCOM configuration?

My service communicates with VMs via VirtualBox COM library.

Regards, Dmitry.
noteirak
Site Moderator
Posts: 5229
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7
Contact:

Re: Monitoring user's VM via API as LOCAL SYSTEM

Post by noteirak »

It cannot be done at the VirtualBox level. You'll need to write some kind of 3rd party tool for it.
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
Post Reply