What seems to work for other users on this forum is to reinstall windows. In Windows 11 this is available via Settings > System > Recovery > Fix problems using windows update > Reinstall now.
As it states this reinstalls windows with all apps and settings preserved.