Historical LeGameOS 0.3.1 fix notes. For the current retry use FIX-0.3.2.txt.
LeGameOS 0.3.1 - installation registry-permission fix

Observed in the supplied 0.3.0 logs:
- AME Wizard 0.8.4, Windows 11 Pro 26H2 build 26300.9711, x64.
- Initialize completed and accepted the Windows build.
- Machine logged the Game DVR policy, then RegistryKey.SetValue failed with
  an unauthorized-operation exception. AME correctly halted on exit code 1.
- The next setting in Profile.json is the Widgets AllowNewsAndInterests policy
  under HKLM\SOFTWARE\Policies\Microsoft\Dsh. This is an inference from the
  script order; the old output did not print the failing key explicitly.
- The restore-point frequency warning did not cause this halt.

What changed:
- Registry writes explicitly request a ReadWriteSubTree handle.
- Denied reads/writes on the four explicitly optional machine policies are
  logged with hive, key and value name and skipped; later settings proceed.
- Optional HAGS requests receive the same scoped denial handling.
- Backup errors, unrelated registry errors and required-setting failures still
  halt. Denial handling does not take ownership, modify ACLs or disable security.
- Values already matching the requested setting are not rewritten.
- Recovery does not rewrite a value that already matches its original backup.
  Failed-write originals and existing journals are retained.

Retry:
1. Close AME Wizard after the failed attempt, then reopen it.
2. Import LeGameOS-0.3.1.apbx and apply from the SAME gaming administrator
   account used for the failed 0.3.0 attempt.
3. Keep the existing C:\ProgramData\LeGameOS and local user recovery journals.
   Do not delete backups or manually import the registry files before retrying.
4. Review any WARN lines identifying skipped optional policies. Their setting
   has not been forcibly applied if Windows refuses access.
5. Restart after successful application. The idle process count remains an
   unverified target; measure it through Control Center 19.

No fresh Windows installation is needed to retry this failure. Initialize
updates the installed scripts while keeping the journals outside the payload
folder. Full Windows/game acceptance of 0.3.1 has not been verified.
