Velvet's answer is correct. I gave this to a tame developer who turned it into a command-line app which places the Registry data into a predefined location and it does indeed break the Registry.
I could post the application ici, but J'ai découvert après experimenting that J'étais able to export the broken information as a .REG fichier and re-import it to break the Registry successfully, making this unnecessary.
Ici is the REG fichier's contents:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Test123]
"DisplayName"="Invalid Software"
"Version"=hex(4):bf,02,00,00,01,00,00,00
The reason I said in OP that this ne pouvait pas be done was parce que J'étais making a broken REG fichier improperly. C'est un proper improper, unbroken broken REG fichier which will fail the task successfully.