Command to rolls back from a bad upgrade You need to run it in a CMD as admin you can go back up to 10 days
DISM /Online /Initiate-OSUninstall /Quiet
Office 365 loses licensing every time
You need to run this file: