bz19936: handle registry permsissions errors for set_run_at_startup()