How to activate windows

Open the following link and find a key for you version of windows:
https://goo.gl/BcrPjW

Open cmd as Administrator and run the following:

slmgr.vbs /ipk key_for_your_windows
slmgr.vbs /skms kms.viktorbarzin.me
slmgr /ato

If you have an evaluation windows, you need to change it to retail one. This is how:


From an elevated command prompt, determine the current edition name with the command
DISM /online /Get-CurrentEdition.
Make note of the edition ID, an abbreviated form of the edition name. Then run
DISM /online /Set-Edition: /ProductKey:XXXXX-XXXXX-XXXXX-XXXXX-XXXXX /AcceptEula
providing the edition ID and a retail product key. The server will restart


How to activate Microsoft Office


CD \Program Files\Microsoft Office\Office16 OR CD \Program Files (x86)\Microsoft Office\Office16
cscript ospp.vbs /sethst:kms.viktorbarzin.me
cscript ospp.vbs /inpkey:xxxxx-xxxxx-xxxxx-xxxxx-xxxxx
where 'xxxx' is a key for your office. Some examples for office 2016 - https://www.techdee.com/microsoft-office-2016-product-key/
cscript ospp.vbs /act

If you messed up activation settings reset them using
slmgr /upk
slmgr /cpky
and
slmgr /rearm

Buy me a beer :P