I have a request from a customer that they need to modify the serial number of the VM guest. They use the serial number to add the guest to active directory so. I used Win32BaseBoard SerialNumber property to obtain the motherboard serial number and it work most of the time, but sometimes in some computers I get SerialNumber = 'Base Board Serial Number' as a result. Is there a programmatic way to obtain this serial number in a more efficient way or it is simply a manufacturer problem?
See for the only way I could find of modifying the manufacturer.According to it, if your computer is known to VMware, then by adding to the virtual machine's configuration file (vmx) the option: SMBIOS.reflectHost = TRUEthen the Manufacturer and Product Name strings in the virtual machine become the same as the Manufacturer and Product Name of the host system. This requires the destination host to have the same hardware as the guest.This is as far as I will go, as modding the VMware BIOS is somewhat on the edge of legality. If you wish to go this way, is a start.
Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
February 2023
Categories |