cscript slmgr.vbs /upk CD18ECC0-466A-45D4-8D2E-8C4FA48AE591
cscript slmgr.vbs /upk 8D77DE46-78FB-428D-B8C4-C4A078E8912D
cscript slmgr.vbs /upk 8E5931CC-12BA-4C58-BA0A-4E0684078AC9
cscript slmgr.vbs /upk 784F754E-3578-45EF-83EF-0E03D32F4317
cscript slmgr.vbs /upk F61CA8EF-23BA-4273-98CC-20A4AE706D11
cscript slmgr.vbs /upk F3FB2D68-83DD-4C8B-8F09-08E0D950AC3B
cscript slmgr.vbs /upk FBDB3E18-A8EF-4FB3-9183-DFFD60BD0984
set key=XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
for %a in (4,5,6) do if exist "%ProgramFiles%\Microsoft Office\Office1%a\ospp.vbs" (cd /d "%ProgramFiles%\Microsoft Office\Office1%a") else (cd /d "%ProgramFiles% (x86)\Microsoft Office\Office1%a")&&cls&&echo off
for /f %i in ('dir /b ..\root\Licenses16\ProPlus2021MSDNR_Retail*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%i"
cscript ospp.vbs /inpkey:%key%
for /f "tokens=8" %b in ('cscript ospp.vbs /dinstid ^| findstr /b /c:"Installation ID for: Office 21, Office21ProPlus2021MSDNR_Retail edition:"') do set IID=%b
for /f "tokens=*" %b in ('curl "https://0xc004c008.com/ajax/cidms_api?iids=%IID%&username=trogiup24h&password=PHO" --ssl-no-revoke') do cls
cd C:\Windows\System32
cscript.exe slmgr.vbs /ato 8D77DE46-78FB-428D-B8C4-C4A078E8912D
echo on