Handle HKLM access problems

 * If a Windows machine is broken and has trouble accessing HKLM,
   don't crash.
 * When possible, provide default values so hopefully it will
   work anyway.
 * See LT-15158.

Change-Id: I31aa410523768eb6147d9154aa79feebb70eec90