Reged damages Registry?

Hello!
trying to add some keys to registry
bootcamp_mounted=$(sudo ./winclone -m /dev/disk1s4)

reged -I "${bootcamp_mounted}/Windows/System32/config/SYSTEM" HKEY_LOCAL_MACHINE\\SYSTEM system.reg

seems to be OK but Windows does not boot with config error
what am I doing wrong?
Thanks

here is system.reg and it works OK from Windows
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation]
“RealTimeIsUniversal”=dword:00000001

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\storahci\Parameters\Device]
“TreatAsInternalPort”=hex(7):30,00,00,00,31,00,00,00,32,00,00,00,33,00,00,00,
34,00,00,00,35,00,00,00,36,00,00,00,37,00,00,00,38,00,00,00,00,00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Power]
“HiberbootEnabled”=dword:00000000

There is a flag to dump the contents in XML. I would do the change in Windows, dump the file in macOS, then do the same after you modified it on the macOS side and the compare them.

tim

1 Like