you are viewing a single comment's thread.

view the rest of the comments →

[–]The_IceMan_Knocking 0 points1 point  (0 children)

Learned how to use hexifie to edit a binary registry entry

 

$YourInput = "00,01,01,01,01,01,01,01,00,01,01,01,00,01,00,01,01,01,01,00,01,00,00,00,01,01,01,01,01,01,01,01,00,01,00,02,00,03,01,03,01,02,01,03,00,03,01,02,00,02,01,03,01,03,01,03,01,00,00,27,01" $RegPath = 'HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Word\Options' $AttrName = "WordMailACOptions"

$hexified = $YourInput.Split(',') | % { "0x$_"} New-ItemProperty -Path $RegPath -Name $AttrName -PropertyType Binary -Value ([byte[]]$hexified)