You activate, get an "Activation Complete" message, but upon launching MATLAB, you're prompted to activate again. This is very common and usually due to file permission issues.

Best practices would include using virtual machines or containers to run MATLAB 2012 on newer systems. Security is a concern with old software, so advising on secure environments or minimizing network connections.