Translate Windows Registry binary export to text ..
Mar 17, 2012 in Microsoft, Windows
>> Need to translate this :
W i n d o w s R e g i s t r y E d i t o r V e r s i o n 5 . 0 0
[ H K E Y _ L O C A L _ M A C H I N E ]
[ H K E Y _ L O C A L _ M A C H I N E \ B C D 0 0 0 0 0 0 0 0 ]
[ H K E Y _ L O C A L _ M A C H I N E \ B C D 0 0 0 0 0 0 0 0 \ D e s c r i p t i o n ]
” K e y N a m e ” = ” B C D 0 0 0 0 0 0 0 0 ”
” S y s t e m ” = d w o r d : 0 0 0 0 0 0 0 1
” T r e a t A s S y s t e m ” = d w o r d : 0 0 0 0 0 0 0 1
……
>> To this:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE]
[HKEY_LOCAL_MACHINE\BCD00000000]
[HKEY_LOCAL_MACHINE\BCD00000000\Description]
“KeyName”=”BCD00000000”
“System”=dword:00000001
“TreatAsSystem”=dword:00000001
…..
>> To translate use this :
cat RegHLM1.reg | sed ‘s/\o0//g’ > RegHLM1.txt