Simple utility for reading a value from the Windows registry