This basic script activates Windows by messing with the registry
All what you have to do is open up windows powershell, then run:
irm https://get.activated.win | iex
Just choose the option you want, and windows will be activated!