Install through the store, your pc will restart, and you will be good to go.
Then you can either clone my repo or write the code and commit it yourself:
sc config LicenseManager start= auto & net start LicenseManager
sc config wuauserv start= auto & net start wuauserv
changepk.exe /productkey VK7JG-NPHTM-C97JM-9MPGT-3V66T
exit
exit
......Done.
You will have to run cmd.exe as admin!
Simply:
slmgr /ipk W269N-WFGWX-YVC9B-4J6C9-T83GX
slmgr /skms kms8.msguides.com
slmgr /ato
All Set! Enjoy.