# 管理员 运行
# 设置服务
slmgr -skms skms.netnr.eu.org
# 安装秘钥,或者通过操作界面输入秘钥激活也可以的
slmgr -ipk 输入对应版本的秘钥
# 激活(已安装秘钥)
slmgr -ato
# 许可详情
slmgr -dlv
# 查看状态
slmgr -xpr
# 卸载秘钥
slmgr -upk
# 各版本密钥汇集
############### Windows 2019
# Windows Server 2019 Datacenter
slmgr -ipk WMDGN-G9PQG-XVVXX-R3X43-63DFG
# Windows Server 2019 Standard
slmgr -ipk N69G4-B89J2-4G8F4-WWYCC-J464C
# Windows Server 2019 Essentials
slmgr -ipk WVDHN-86M7X-466P6-VHXV7-YY726
############### Windows 2016
# Windows Server 2016 Datacenter 数据中心版
slmgr -ipk CB7KF-BWN84-R7R2Y-793K2-8XDDG
# Windows Server 2016 Standard 标准版
slmgr -ipk WC2BQ-8NRM3-FDDYY-2BFGV-KHKQY
# Windows Server 2016 嵌入式版
slmgr -ipk JCKRF-N37P4-C2D82-9YXRT-4M63B
############### Windows 2012 R2
# windows server2012 R2 Standard
slmgr -ipk D2N9P-3P6X9-2R39C-7RTCD-MDVJX
# windows server2012 R2 Datacenter
slmgr -ipk W3GGN-FT8W3-Y4M27-J84CP-Q3VJ9
############### Windows 2012
# Windows Server 2012 Standard
slmgr -ipk XC9B7-NBPP2-83J2H-RHMBY-92BT4
# Windows Server 2012 Datacenter
slmgr -ipk 48HP8-DN98B-MYWDG-T2DCC-8W83P
############### Windows 10
# Windows10 专业版
slmgr -ipk W269N-WFGWX-YVC9B-4J6C9-T83GX
# Windows10 企业版
slmgr -ipk NPPR9-FWDCX-D2C8J-H872K-2YT43
# Windows10 教育版
slmgr -ipk YNMGQ-8RYV3-4PGQ3-C8XTP-7CFBY
############### Windows 7
# Windows7 专业版
slmgr -ipk FJ82H-XT6CR-J8D7P-XQJJ2-GPDD4
# Windows7 企业版
slmgr -ipk 33PXH-7Y6KF-2VJC9-XBBR8-HVTHH
############### 更多激活密钥
# Windows
https://docs.microsoft.com/zh-cn/windows-server/get-started/kmsclientkeys
# Office 2019 & Office 2016
https://docs.microsoft.com/en-us/DeployOffice/vlactivation/gvlks
# Office 2013
https://technet.microsoft.com/zh-cn/library/dn385360.aspx
# Office 2010
https://technet.microsoft.com/zh-cn/library/ee624355(v=office.14).aspx