Open Task Manager, then end any task related to Riot Games. Right-click on the Riot Games client, select Properties (Compatibility), and then Run this program as an administrator. Click OK. Then open the Riot Games client, go to your name icon, and disable Automatic Update/Repair. Then try to log in.