Attivazione di prodotti Microsoft con KMS: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
|||
| Line 152: | Line 152: | ||
* Turn off KMS Client Online AVS Valdation | * Turn off KMS Client Online AVS Valdation | ||
Windows Registry Editor Version 5.00 | |||
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\CurrentVersion\Software Protection Platform] | [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\CurrentVersion\Software Protection Platform] | ||
"NoGenTicket"=dword:00000001 | "NoGenTicket"=dword:00000001 | ||
* Activate<pre> | |||
cd "\Program Files\Microsoft Office\Office16" | |||
cd "\Program Files (x86)\Microsoft Office\Office16" | |||
cscript ospp.vbs /inpkey:NMMKJ-6RK4F-KMJVX-8D9MJ-6MWKP | |||
cscript ospp.vbs /sethst:kms.example.com | |||
cscript ospp.vbs /act | |||
cscript ospp.vbs /dstatusall | |||
</pre> | |||
= Office 2021 ProPlus Retail = | = Office 2021 ProPlus Retail = | ||
Revision as of 10:33, 26 January 2024
Installazione server KMS con docker
cat > docker-compose.yml <<EOFile
version: '3'
services:
app:
container_name: vlmcsd
image: mikolatero/vlmcsd
restart: unless-stopped
ports:
- '1688:1688'
EOFile
docker compose up
Attivazione WIN 10/11 PRO, WIN2K8R2 STD, WIN7 PRO
- Comandi comuni
cd %SYSTEMROOT%\System32
cscript.exe //NoLogo slmgr.vbs -upk
- Windows 10-11
cscript.exe //NoLogo slmgr.vbs -ipk W269N-WFGWX-YVC9B-4J6C9-T83GX
- Windows 2008R2 Standard
cscript.exe //NoLogo slmgr.vbs -ipk YC6KT-GKW9T-YTKYR-T4X34-R7VHC
- Windows Seven Pro
cscript.exe //NoLogo slmgr.vbs -ipk FJ82H-XT6CR-J8D7P-XQJJ2-GPDD4
- Proseguire
cscript.exe //NoLogo slmgr.vbs -skms kms.example.com
cscript.exe //NoLogo slmgr.vbs -ato
cscript.exe //NoLogo slmgr.vbs -dlv
Riferimenti
- https://github.com/MicrosoftDocs/windowsserverdocs/blob/main/WindowsServerDocs/get-started/kms-client-activation-keys.md
- Key Management Services (KMS) client activation and product keys for Windows Server and Windows | Microsoft Learn
Attivazione Windows Server
In my example, an error occurred while activating Windows Server:
Error: 0xC004F069 On a computer running Microsoft Windows non-core edition, run 'slui.exe 0x2a 0xC004F069' to display the error text.
The reason is that I have an evaluation version of Windows Server 2022 installed. First, you need to convert it to a Standard version according to this article:
dism /online /set-edition:serverstandard /productkey:VDYBN-27WPP-V4HQT-9VMD4-VMK7H /accepteula
Then I can activate my Windows instance on the KMS host.
Attivazione Office 2019 Pro Plus
I have one that works for office 2019. But I do NOT know why it works.
cscript "%ProgramFiles(x86)%\Microsoft Office\Office16\ospp.vbs" /dstatus
with the following output
LICENSE NAME: Office 19, Office19ProPlus2019VL_KMS_Client_AE edition LICENSE DESCRIPTION: Office 19, VOLUME_KMSCLIENT channel BETA EXPIRATION: 1601-01-01 LICENSE STATUS: ---LICENSED--- ERROR CODE: 0x4004F040 (for information purposes only as the status is licensed) ERROR DESCRIPTION: The Software Licensing Service reported that the product was activated but the owner should verify the Product Use Rights. REMAINING GRACE: 179 days (259199 minute(s) before expiring)
- install volume licensing SKUs for office 2019
@echo off
:ADMIN
openfiles >nul 2>nul ||(
echo CreateObject^("Shell.Application"^).ShellExecute "%~s0", "", "", "runas", 1 >> "%temp%\getadmin.vbs"
"%temp%\getadmin.vbs" >nul 2>&1
goto:eof
)
del /f /q "%temp%\getadmin.vbs" >nul 2>nul
for /f "tokens=6 delims=[]. " %%G in ('ver') do set win=%%G
setlocal
pushd "%~dp0"
Title Office 2019 Retail to Volume License Converter
rem SET OfficePath=%ProgramFiles%\Microsoft Office
SET OfficePath=%ProgramFiles(x86)%\Microsoft Office
if not exist "%OfficePath%\root\Licenses16" SET OfficePath=%ProgramFiles(x86)%\Microsoft Office
if not exist "%OfficePath%\root\Licenses16" (
echo Could not find the license files for Office 2019!
pause
goto :eof
)
echo Press Enter to start VL-Conversion...
echo.
pause
echo.
cd /D "%SystemRoot%\System32"
if %win% GEQ 9200 (
cscript slmgr.vbs /ilc "%OfficePath%\root\Licenses16\ProPlus2019VL_KMS_Client_AE-ppd.xrm-ms"
cscript slmgr.vbs /ilc "%OfficePath%\root\Licenses16\ProPlus2019VL_KMS_Client_AE-ul.xrm-ms"
cscript slmgr.vbs /ilc "%OfficePath%\root\Licenses16\ProPlus2019VL_KMS_Client_AE-ul-oob.xrm-ms"
cscript slmgr.vbs /ilc "%OfficePath%\root\Licenses16\client-issuance-bridge-office.xrm-ms
cscript slmgr.vbs /ilc "%OfficePath%\root\Licenses16\client-issuance-root.xrm-ms
cscript slmgr.vbs /ilc "%OfficePath%\root\Licenses16\client-issuance-root-bridge-test.xrm-ms
cscript slmgr.vbs /ilc "%OfficePath%\root\Licenses16\client-issuance-stil.xrm-ms
cscript slmgr.vbs /ilc "%OfficePath%\root\Licenses16\client-issuance-ul.xrm-ms
cscript slmgr.vbs /ilc "%OfficePath%\root\Licenses16\client-issuance-ul-oob.xrm-ms
cscript slmgr.vbs /ilc "%OfficePath%\root\Licenses16\pkeyconfig-office.xrm-ms
)
if %win% LSS 9200 (
cscript "%OfficePath%\Office16\ospp.vbs" /inslic:"%OfficePath%\root\Licenses16\ProPlus2019VL_KMS_Client_AE-ppd.xrm-ms"
cscript "%OfficePath%\Office16\ospp.vbs" /inslic:"%OfficePath%\root\Licenses16\ProPlus2019VL_KMS_Client_AE-ul.xrm-ms"
cscript "%OfficePath%\Office16\ospp.vbs" /inslic:"%OfficePath%\root\Licenses16\ProPlus2019VL_KMS_Client_AE-ul-oob.xrm-ms"
cscript "%OfficePath%\Office16\ospp.vbs" /inslic:"%OfficePath%\root\Licenses16\client-issuance-bridge-office.xrm-ms
cscript "%OfficePath%\Office16\ospp.vbs" /inslic:"%OfficePath%\root\Licenses16\client-issuance-root.xrm-ms
cscript "%OfficePath%\Office16\ospp.vbs" /inslic:"%OfficePath%\root\Licenses16\client-issuance-root-bridge-test.xrm-ms
cscript "%OfficePath%\Office16\ospp.vbs" /inslic:"%OfficePath%\root\Licenses16\client-issuance-stil.xrm-ms
cscript "%OfficePath%\Office16\ospp.vbs" /inslic:"%OfficePath%\root\Licenses16\client-issuance-ul.xrm-ms
cscript "%OfficePath%\Office16\ospp.vbs" /inslic:"%OfficePath%\root\Licenses16\client-issuance-ul-oob.xrm-ms
cscript "%OfficePath%\Office16\ospp.vbs" /inslic:"%OfficePath%\root\Licenses16\pkeyconfig-office.xrm-ms
)
cscript "%OfficePath%\Office16\ospp.vbs" /inpkey:NMMKJ-6RK4F-KMJVX-8D9MJ-6MWKP
cscript "%OfficePath%\Office16\ospp.vbs" /act
echo.
echo Retail to Volume License conversion finished.
echo.
pause
- Turn off KMS Client Online AVS Valdation
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\CurrentVersion\Software Protection Platform] "NoGenTicket"=dword:00000001
- Activate
cd "\Program Files\Microsoft Office\Office16" cd "\Program Files (x86)\Microsoft Office\Office16" cscript ospp.vbs /inpkey:NMMKJ-6RK4F-KMJVX-8D9MJ-6MWKP cscript ospp.vbs /sethst:kms.example.com cscript ospp.vbs /act cscript ospp.vbs /dstatusall
Office 2021 ProPlus Retail
- Assicurarsi di aver installato la 2021 ProPlus (non professional) Retail
- Usare lo script
@echo off echo Change kms.example.com to KMS Server IP or Host pause REM Change ProgramFiles to ProgramFiles(x86) If install x86 version . Default are x64 Title Converter Office 2021 Retail to Volume And Activate Through KMS Server set LICPATH=%ProgramFiles%\Microsoft Office\root\Licenses16 set LICPATH1=%ProgramFiles%\Microsoft Office\Office16 cd C:\Windows\System32 cscript slmgr.vbs /ilc "%LICPATH%\ProPlusVL_KMS_Client-ppd.xrm-ms" cscript slmgr.vbs /ilc "%LICPATH%\ProPlusVL_KMS_Client-ul.xrm-ms" cscript slmgr.vbs /ilc "%LICPATH%\ProPlusVL_KMS_Client-ul-oob.xrm-ms" cscript slmgr.vbs /ilc "%LICPATH%\client-issuance-bridge-office.xrm-ms" cscript slmgr.vbs /ilc "%LICPATH%\client-issuance-root.xrm-ms" cscript slmgr.vbs /ilc "%LICPATH%\client-issuance-root-bridge-test.xrm-ms" cscript slmgr.vbs /ilc "%LICPATH%\client-issuance-stil.xrm-ms" cscript slmgr.vbs /ilc "%LICPATH%\client-issuance-ul.xrm-ms" cscript slmgr.vbs /ilc "%LICPATH%\client-issuance-ul-oob.xrm-ms" cscript slmgr.vbs /ilc "%LICPATH%\pkeyconfig-office.xrm-ms" cscript slmgr.vbs /ipk FXYTK-NJJ8C-GB6DW-3DYQT-6F7TH cscript "%LICPATH1%\ospp.vbs" /sethst:kms.example.com cscript "%LICPATH1%\ospp.vbs" /act echo. echo Finished. echo. pause
Riferimenti
- KMS, cos'è e come funziona l'attivazione di Windows in rete locale - IlSoftware.it
- Py-KMS-Organization/py-kms: KMS Server Emulator written in Python
- FuryGreenwood/FuryKMS: Microsoft Windows and Office KMS Activator
- massgravel/Microsoft-Activation-Scripts: A collection of scripts for activating Microsoft products using HWID / KMS38 / Online KMS activation methods with a focus on open-source code, fewer antivirus detection and user-friendliness.
- index
- How to Activate Windows with your KMS Server - KMS License Key List
- Activate Windows/Office (Run KMS Docker / Install KMS) - Cybersecurity Memo