General discussion


Hex pairs and reg_binary in windows registry

By davoud ·
Hi all,

I understand hexadecimal, binary and decimal and how to convert them to eachother.

When using regedit in windows xp, you can see two different hex numbers in two different formats. For example you can see a 0x###### as a value for a DWORD and you can see hex pairs like ## ## ## ,which the pairs are seperated by a space, as a value for a reg_bianry .

Now I would like to know what is the difference between two different formats of those hex numbers and why they are seperated by a space in the second one and how you convert them to eachother.

and basically how you interpret the one with pairs of numbers.

Any comments would be apprecaited.

This conversation is currently closed to new comments.

4 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

As far as I know

by Tony Hopkinson In reply to Hex pairs and reg_binary ...

reg binary is a variable length sequence of bytes, whereas a dword in hex is always the four that make it up in this format.

Collapse -

by davoud In reply to As far as I know

thanks alot for your message Tony. Actually I got seome idea about my questions. however I now have another question. here it is the question:

If a reg_binary value is 9e 3e 07 80 , tweakui makes the changes by altering either of the two most left bytes, 9e or 3e. You will notice this, if you are in General section of tweakui and working with HKCU/control panel/Desktop/UserPreferencesMask.
I would like to know what do the two most right bytes (07 and 80 for example) in UserpreferencesMask mean and why tweakui doesnot change them?

Also I believe, to apply a reg_binary data which is for example "Bit 0x0008" I need to reverse it and apply it to the two most left bytes of the hex pairs. Am I right? if yes could you explain why?

Collapse -


by Tony Hopkinson In reply to

is not something I'm familiar nor am I a registry guru.
You know more about that than I do. Binary and boolean algebra I understand, the registry has always made as much sense as the combined ravings of several lunatics to me.

Collapse -

by davoud In reply to TweakUI

Thanks alot for replying anyway.

Back to Windows Forum
4 total posts (Page 1 of 1)  

Related Discussions

Related Forums