https://www.web-workers.ch/index.php/2016/08/02/how-to-fix-windows-78-110-login-script-issues-in-activedirectory-environments/
How to fix Windows 7/8.1/10 login script issues in ActiveDirectory environments