Microsoft VLK liense (MAK 與 KMS)

最後更新: 2024-09-06

目錄


KMS vs MAK

 

Multiple Activation Keys (MAK)

# allow a predetermined number of activations.
# no further communication with Microsoft is required

Key Management Server (KMS)

# allows organizations to activate systems within their own network
# report back to that key server once every 180 days.

 


slmgr

 

Windows KMS info

slmgr /dlv

...
Partial Product Key: XXXXX
License Status: Licensed
Volume activeation expireation: XXXXX   <- Unit: minutes
...

Remove product key

# After a restart, the system will be in an Unlicensed state

slmgr /upk

換 Key

slmgr /ipk <KMS-Key from Microsoft>

轉 KMS server

slmgr /skms <host>:<port>

Activation

slmgr /ato

 


Office 2016

#使用 cscript ospp.vbs - Office 2016 Client Software License Management Tool

cmd.exe
cd \Program Files\Microsoft Office\Office16

# Check License

cscript ospp.vbs /dstatus

....
REMAINING GRACE: 179 days  (258898 minute(s) before expiring)
Last 5 characters of installed product key: XXXXX
Activation Type Configuration: KMS
...

cscript ospp.vbs /inpkey:<KMS-Key from Microsoft>
cscript ospp.vbs /sethst:x.x

# 'Activate Office on local computer
cscript ospp.vbs /act

Creative Commons license icon Creative Commons license icon