Processes in Microsoft 365 for setting up Office apps, redeeming product keys, and activating licenses.
Hi
For Error 2-4, I recommend completely removing any remaining Office components using Microsoft’s uninstall troubleshooter, restarting the PC, and then reinstalling Office:
https://support.microsoft.com/en-us/office/uninstall-microsoft-365-or-office-from-a-pc
After restarting, sign in with the Microsoft account linked to your Office Home & Student license and reinstall it from:
https://account.microsoft.com/services
I hope this helps.