DigDeep Posted July 20, 2015 Posted July 20, 2015 Hi,I am trying to write a registry value but before that I am exporting the existing value to check what is written.When I read the HEX value it comes as 0x000000850000020000..... which is not in HEX format.Could you please let me know how to read this value as HEX format. Also if I write a reg value as Reg_Binary... will it be added as Hex value?Regread$Reg = RegRead("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\PushNotifications", "AppDB") MsgBox(0, "", $Reg)RegwriteRegWrite("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\PushNotifications", "AppDB", "REG_BINARY", "54,25,00,00,0d,00,00,87,09,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,67,00,00,00,00,00,00,00,00,00,00,00,00,00,35,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,24,00,12")
JohnOne Posted July 20, 2015 Posted July 20, 2015 I would not hazard a guess what really hex is, but id there such a thing as a hex type in registry? AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans.
DigDeep Posted July 20, 2015 Author Posted July 20, 2015 ok, I got it finally.We don't have to use the ',' or any special characters while reading or writing a Reg value.it should be as per below:RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\PushNotifications", "AppDB", "REG_BINARY", "542500000d000087090000000000000000000000000000006700000000000000000000000000350000000000000000000000000000240012")
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now