Repro OS: windows11-x64 and arm64
Repro steps:
1.Adm run: REG ADD HKLM\SOFTWARE\Microsoft\.NET\9.0 /t REG_SZ /v RemovePreviousVersion /d nextSession
2.Install 9.0.0-rc.1.24452.1 Hosting Bundle
3.Install 9.0.100-rc.2.24468.15 Hosting Bundle
4.Verify that the RunOnce key exist and that it is targeting the RC1 bundle
Adm run: reg query HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce /reg:32

5.Sign out of the machine and sign back in
6.Verify that RC1 is now removed
Expected Result:
The RC1 Hosting Bundle is now removed
Actual Result:
The net9RC1 Hosting Bundle cannot be removed


This is the captured log file.
vslogs.zip