0

I have an application running inside an Ubuntu VM and I need to validate that it's running on only a specific computer (Windows host). Can I somehow get info from it (such as a Mac Address or a unique identifier for Windows) by configuring VirtualBox a certain way or running a script?

2
  • Not sure I understand clearly. Do you want your Ubuntu application find out if it is running on a specific virtual machine hosted under Windows?
    – fpiette
    Commented May 31, 2023 at 6:44
  • No, I want to check if the Windows installation is the one that the key was activated on. So the application that's running inside the Ubuntu VM needs access to wmic so it can get a UUID or something like that Commented May 31, 2023 at 8:41

1 Answer 1

1

If you have Guest Additions installed (link), you might be able to use Guest properties - I guess you'd set a property from the host, and verify it in the guest.

2
  • Can I set these from the commandline? Commented May 31, 2023 at 8:43
  • yes, the linked doc has samples
    – Jonathan
    Commented May 31, 2023 at 10:21

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .