If you need to activate your windows Client or Server you could use below commands.
slmgr.vbs /upk
slmgr.vbs /cpky
slmgr.vbs /ipk *********** (you must indicate Key)
slmgr.vbs /ato
[other articles]
Slmgr.vbs options for obtaining volume activation information
How to Use Slmgr to Change, Remove, or Extend Your Windows License