(imported topic written by russwm91)
I ran this on my local WinXP PC through Relevance Debugger and it displayed the value correctly. When I run this on the BES console through an Analysis it gives me “error”.
if (exists key “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Print\Printers\Tickets” whose (exists value “Default DevMode” of it) of registry) then ((value “Default DevMode” of key “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Print\Printers\Tickets” of registry as string)) else “None”
The below is the value which is large my first though is this is a limitation on the size field and that’s why it doesn’t work in the BES console.
5400690063006b00650074007300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001040006dc00040343ef810501000100ea0a6f08640001000f00f00001000100d800020001004c00650074007400650072000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000010000000200000001000000ffffffff0000000000000000000000000000000044494e552200c800040300004ec20a0a00000000000000000000000000000000000000000000000000000000060000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000c8000000534d544a000000001000b8004f006b006900640061007400610020004d004c0020003300320030002d00490042004d000000496e70757442696e00464f524d534f5552434500524553444c4c00556e69726573444c4c004f7269656e746174696f6e00504f525452414954005265736f6c7574696f6e004f7074696f6e3300506170657253697a65004c45545445520048616c66746f6e650048545f50415453495a455f4155544f00000000000000000000000000000000000000000000000000000000
This was a weird request we need to change 2 binary digits in here and management wanted a way to review afterward to see if the change took place. I noticed that the lines above were truncated after first post. The above is suppose to be about 22 line of binary code
Thanks Russ