Hello Registered MS-Administrator,
You should not normally need to “reset” the licenses just because you reinstall Windows.
For the Windows 11 Pro upgrade, reinstall Windows first. If Windows installs as Home, go to Settings > System > Activation and use Troubleshoot, or sign in with the same Microsoft account that was used for the Microsoft Store Pro upgrade.
For Office Home & Business 2024, treat that separately from Windows. Reinstall Office by signing in with the Microsoft account associated with that Office 2024 license, then install it from the Office apps page.
Let me know if you have any other questions.