How to change model details in virtualbox?

This is for discussing general topics about how to use VirtualBox.
Post Reply
Uday1kiran
Posts: 8
Joined: 10. Oct 2019, 13:18

How to change model details in virtualbox?

Post by Uday1kiran »

I am trying on windows 11 on virtualbox.

For product testing purpose, we need it to do in virtual machines.

But the product will do wmi queries and check whether it is VM or not.

How to update the details so that it would think it is a physical VM?

Present it is coming like this.

in powershell:

Code: Select all

Get-CimInstance -ClassName Win32_ComputerSystem
In command line:

Code: Select all

systeminfo

Adding entries in registry is changing in control panel system section but not here.
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\OEMInformation
oeminfo

windows
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: How to change model details in virtualbox?

Post by mpack »

WMI? Do you mean DMI? If yes then the various DMI strings you can control are described in the user manual (search for DMI).

Uday1kiran wrote: How to update the details so that it would think it is a physical VM?
Not possible. First, I very much doubt that serious software will be dumb enough to rely on DMI queries to detect a VM. A VM runs on the physical CPU and the app can trivially see that the CPU is running in a virtual mode. And that's only one out of dozens of possible ways of detecting a VM. Another equally easy one is to detect a modern CPU running on obsolete hardware.

A simulator might hide that it's a simulator. A hypervisor cannot hide.
Post Reply