Machine identification is invalid

Hi, I’m new at Unity. It is a requirement in one of my classes at school, but it has an error that is killing me. I install it, use it for a few days and then when I try to open it appears an error indicating “the Machine identification is invalid for the license” I have tried everything. I searched on the internet and I found that the solution is to uninstall and reinstall unity again.
This is ridiculous because I have to do this at least 2 or 3 times a week to have my homework done. Nonsense to me, spend 2 hrs to do it…
If anybody knows what I can do to solve this problem once and for all, I’ll be very grateful.

Thanks

According to my searches the permanent solution is to delete the license folder. Below are the locations of the folders on their respective platforms. For Windows you may need to go into a command prompt as the folder is normally hidden.

Windows
“C:\ProgramData\Unity”

MacOS
“/Library/Application Support/Unity”

Removal of the folder rather than uninstalling Unity makes sense too because Unity’s uninstall process does not remove the folder. The idea behind leaving it is that it makes the process of installing other versions less painful, but as you found out it definitely has been known to break.