cd /d %ProgramFiles%\Microsoft Office\Office16
cd /d %ProgramFiles(x86)%\Microsoft Office\Office16
MSO 2016
for /f %x in ('dir /b ..\root\Licenses16\proplusvl_kms*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%x"
cscript ospp.vbs /inpkey:XQNVK-8JYDB-WJ9W3-YJ8YR-WFG99
cscript ospp.vbs /unpkey:BTDRB >nul
cscript ospp.vbs /unpkey:KHGM9 >nul
cscript ospp.vbs /unpkey:CPQVG >nul
cscript ospp.vbs /sethst:s8.uk.to
cscript ospp.vbs /setprt:1688
cscript ospp.vbs /act
MSO 2021
for /f %x in ('dir /b ..\root\Licenses16\ProPlus2021VL_KMS*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%x"
cscript ospp.vbs /setprt:1688
cscript ospp.vbs /unpkey:6F7TH >nul
cscript ospp.vbs /inpkey:FXYTK-NJJ8C-GB6DW-3DYQT-6F7TH
cscript ospp.vbs /sethst:s8.uk.to
cscript ospp.vbs /act
WINDOWS 2011
Use the command “slmgr /ipk kmsclientkey” to install a license key (kmsclientkey is the activation key that corresponds to your Windows edition).
The following is the list of Windows 11 Volume license keys.
Home: TX9XD-98N7V-6WMQ6-BX7FG-H8Q99
Home N: 3KHY7-WNT83-DGQKR-F7HPR-844BM
Home Single Language: 7HNRX-D7KGG-3K4RQ-4WPJ4-YTDFH
Home Country Specific: PVMJN-6DFY6-9CCP6-7BKTT-D3WVR
Pro: W269N-WFGWX-YVC9B-4J6C9-T83GX
Pro N: MH37W-N47XK-V7XM9-C7227-GCQG9
Education: NW6C2-QMPVW-D7KKK-3GKT6-VCFB2
Education N: 2WH4N-8QGBV-H22JP-CT43Q-MDWWJ
Enterprise: NPPR9-FWDCX-D2C8J-H872K-2YT43
Enterprise N: DPH2V-TTNVB-4X9Q3-TJR4H-KHJW4
Use the command “slmgr /skms kms8.msguides.com” to connect to my KMS server.
The last step is to activate your Windows using the command “slmgr /ato”.
unistall licence
Copy and run these commands to remove the license. Note: replace “VMFTK” with the last 5 characters of your product key.
cscript “%ProgramFiles%\Microsoft Office\Office16\ospp.vbs” /dstatus or
cscript “%ProgramFiles(x86)%\Microsoft Office\Office16\ospp.vbs” /dstatus
cscript “%ProgramFiles%\Microsoft Office\Office16\ospp.vbs” /unpkey:VMFTK
WINDOWS
cscript slmgr.vbs /upk&cscript slmgr.vbs /cpky
RENEW
OFFICE
cscript “%ProgramFiles%\Microsoft Office\Office16\ospp.vbs” /act or
cscript “%ProgramFiles(x86)%\Microsoft Office\Office16\ospp.vbs” /act
WINDOWS
cscript slmgr.vbs /ato