1
Vote

Binary value not working

description

I try to use Set-RegistryKey for adding a binary code but what ever I try I don't get it done.
They that I want to import is:
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\ibufile]
@="Youforce bestand"
"EditFlags"=hex:00,00,01,00

using the following context: Set-RegistryKey -Key 'HKEY_LOCAL_MACHINE\SOFTWARE\Classes\ibufile' -Name 'Editflags' -Value 00,00,01,00 -Type Binary

I also tried: Set-RegistryKey -Key 'HKEY_LOCAL_MACHINE\SOFTWARE\Classes\ibufile' -Name 'Editflags' -Value hex:00,00,01,00 -Type Binary and -Value 00000100 and '00 00 01 00'.. no matter what combination I try it is not entering the right value

What ever I try to get the Value correct it is not getting correct into the registry.
What Value I need to use to get it correct?
Please help...
Thank in advance

comments