Reputation: 181
Is there a way to detect if a windows operating system is running on Hyper-V? I am going to implement it in Java (I found out that there is a way for C++ but not for java) so that my application will be able to recognize if it is running on native or virtual(explicitly Hyper-V) system.
Upvotes: 0
Views: 806
Reputation: 101
I think your problem should be in executing a WMI query from java. Libraries like jWMI could help you.
Also you could try to find an answer on the following post.
After that you could use your code written in C++ to easily execute your windows discovery.
Hope it helps.
Upvotes: 1