a guest Jan 24th, 2020 72 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. @echo off
  2. title Aktywacja Microsoft Office 2019 Wszystkie wersje!&cls&echo ============================================================================&echo Aktywacja Microsoft Office 2019 &echo ============================================================================&echo.&echo #Obslugiwane produkty:&echo - Microsoft Office Standard 2019&echo - Microsoft Office Professional Plus 2019&echo.&echo.&(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)&echo.&echo ============================================================================&echo Aktywacja Pakietu Office 2019...&cscript //nologo ospp.vbs /unpkey:6MWKP >nul&cscript //nologo ospp.vbs /inpkey:NMMKJ-6RK4F-KMJVX-8D9MJ-6MWKP >nul&set i=1
  3. :server
  4. if %i%==1 set
  5. if %i%==2 set
  6. if %i%==3 set
  7. if %i%==4 goto notsupported
  8. cscript //nologo ospp.vbs /sethst:%KMS_Sev% >nul&echo ============================================================================&echo.&echo.
  9. cscript //nologo ospp.vbs /act | find /i "successful" && (echo.&echo ============================================================================&choice /n /c YN /m "" & if errorlevel 2 exit) || (echo Polaczenie z KMS server nie powiodlo sie Sprobuje polaczyc z innym kanalem... & echo Poczekaj... & echo. & echo. & set /a i+=1 & goto server)
  10. explorer ""&goto halt
  11. :notsupported
  12. echo.&echo ============================================================================&echo Przepraszam! Twoja wersja nie jest obslugiwana.
  13. :halt
  14. pause >nul
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand