I don't know why you want randomize what is not used. Also note that VBox check values and probably won't allow any garbage to be set.
vboxmanage setextradata mx VBoxInternal/CPUM/HostCPUID/80000003/ebx 0x50202952
Processor serial number is unused feature nobody cares about it. Itself is 96 bit value combined from three registers: eax = processor signature (most significant 32-bits of PSN), edx = middle 32-bits of PSN and ecx = least significant 32-bits, so PSN = EAX+EDX+ECX. On Pentium4+ Intel CPU ecx/edx (after cpuid eax=3) pair will be zero and eax is processor signature nobody can use to "detect" anything as it will be the same on at least all CPU in the same batch. So practically the whole randomization thing makes completely no sense here.
Finally get result with processor name randomization. Adding the following strings to hidevm_ahci.bat allows to change processor name. For more models, can google, have info.
Code: Select all
%vboxman% setextradata "%1" VBoxInternal/CPUM/HostCPUID/80000002/eax 0x65746e49
%vboxman% setextradata "%1" VBoxInternal/CPUM/HostCPUID/80000002/ebx 0x2952286c
%vboxman% setextradata "%1" VBoxInternal/CPUM/HostCPUID/80000002/ecx 0x726f4320
%vboxman% setextradata "%1" VBoxInternal/CPUM/HostCPUID/80000002/edx 0x4d542865
%vboxman% setextradata "%1" VBoxInternal/CPUM/HostCPUID/80000003/eax 0x43203229
%vboxman% setextradata "%1" VBoxInternal/CPUM/HostCPUID/80000003/ebx 0x20205550
%vboxman% setextradata "%1" VBoxInternal/CPUM/HostCPUID/80000003/ecx 0x20202020
%vboxman% setextradata "%1" VBoxInternal/CPUM/HostCPUID/80000003/edx 0x20202020
%vboxman% setextradata "%1" VBoxInternal/CPUM/HostCPUID/80000004/eax 0x30303636
%vboxman% setextradata "%1" VBoxInternal/CPUM/HostCPUID/80000004/ebx 0x20402020
%vboxman% setextradata "%1" VBoxInternal/CPUM/HostCPUID/80000004/ecx 0x30342e32
%vboxman% setextradata "%1" VBoxInternal/CPUM/HostCPUID/80000004/edx 0x007a4847
At guest VB is running Windows 7 (several machines with different Win7 versions), try to execute WMIC command, but get blank output.
In host machine this commands work fine as well as in Vmware.
Is it ok in VB ?
Code: Select all
wmic cpu get ProcessorId - normally this one returns Processor serial number.
wmic bios get serialnumber - this one bios serial
wmic csproduct get name, vendor, identifyingnumber - need to return name of computer (Dell,Acer or Vmware) and identiryingnumber(same as bios serial)
If checking Msinfo (system information) System Manufacture and System model returns - QROX_ and QROXBIOS. Normaly this fields contains, for example - Dell.inc and Dell inspiron N5894. Additionally SMBIOS version field is missing in system information, but at host system it is presented.
But even command wmic cpu get ProcessorId get nothing, AIDA64 get this Processorid at section Motherboard-CPUID-CPUID Revision.
Is anyway to set this parameters and change them - System Manufacture and System model, Processorid.
Also about adding new screen resolutions to virtual machine use this string. Will add 1280x720 in Windows resolution menu.
Code: Select all
%vboxman% setextradata "%1" "CustomVideoMode1" "1280x720x32"
The open question is how to set this resolution by default when VB is loading. Can't find anything about this in manuals, if someone know - welcome to help.