MSDN:
ed2k://%7Cfile%7Ccn_office_professional_plus_2019_x86_x64_dvd_5e5be643.iso%7C3775004672%7C1E4FFA5240F21F60DC027F73F1C62FF4%7C/
使用:
新建一个BAT文件,内容如下:
@echo off (cd /d "%~dp0")&&(NET FILE||(powershell start-process -FilePath '%0' -verb runas)&&(exit /B)) >NUL 2>&1 title Office 2019 Activator r/Piracy echo Converting... & mode 40,25 (if exist "%ProgramFiles%\Microsoft Office\Office16\ospp.vbs" cd /d "%ProgramFiles%\Microsoft Office\Office16")&(if exist "%ProgramFiles(x86)%\Microsoft Office\Office16\ospp.vbs" cd /d "%ProgramFiles(x86)%\Microsoft Office\Office16")&(for /f %%x in ('dir /b ..\root\Licenses16\ProPlus2019VL*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%%x" >nul)&(for /f %%x in ('dir /b ..\root\Licenses16\ProPlus2019VL*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%%x" >nul) cscript //nologo ospp.vbs /unpkey:6MWKP >nul&cscript //nologo ospp.vbs /inpkey:NMMKJ-6RK4F-KMJVX-8D9MJ-6MWKP >nul&set i=1 :server if %i%==1 set KMS_Sev=kms.chinancce.com if %i%==2 set KMS_Sev=kms.03k.org if %i%==3 set KMS_Sev=zh.us.to cscript //nologo ospp.vbs /sethst:%KMS_Sev% >nul echo %KMS_Sev% & echo Activating... cscript //nologo ospp.vbs /act | find /i "successful" && (echo Complete) || (echo Trying another KMS Server & set /a i+=1 & goto server) pause >nul exit