Windows 10 machines almost universally run on UEFI (Unified Extensible Firmware Interface) with Secure Boot enabled. This creates a hurdle for the DOS-based method. To run a legacy DOS version of the DMI tool on a modern Windows 10 laptop, you must:
IT pros often use the command line to automate this: hp dmi tool windows 10
Without the DMI tool, a motherboard replacement effectively turns your HP computer into a “white box” machine with no HP identity. Windows 10 machines almost universally run on UEFI