@echo off title Aktivasi Microsoft Office Tanpa Software - BagiTekno&cls&(net session >nul 2>&1) if %errorLevel% GTR 0 (echo.&echo Aktivasi tidak bisa dilanjut, Anda harus Run CMD as administrator...&echo.&echo temp > temp.txt&goto halt) echo =====================================================================================&echo #Project: Aktivasi Microsoft Office Tanpa Software&echo =====================================================================================&echo.&echo #Supported products:&echo - Microsoft Office 2016&echo - Microsoft Office 2019&echo - Microsoft Office 2021&echo - Microsoft Office 365&echo.&echo.&echo Memulai proses aktivasi, silahkan tunggu...&echo.&(if exist "%ProgramFiles%\Microsoft Office\Office16\ospp.vbs" (cd /d "%ProgramFiles%\Microsoft Office\Office16") else if exist "%ProgramFiles(x86)%\Microsoft Office\Office16\ospp.vbs" (cd /d "%ProgramFiles(x86)%\Microsoft Office\Office16") else (goto notsupported))&tasklist /FI "IMAGENAME eq WINWORD.EXE" 2>NUL | find /I /N "WINWORD.EXE">NUL && taskkill /F /IM WINWORD.EXE >nul&tasklist /FI "IMAGENAME eq EXCEL.EXE" 2>NUL | find /I /N "EXCEL.EXE">NUL && taskkill /F /IM EXCEL.EXE >nul&tasklist /FI "IMAGENAME eq POWERPNT.EXE" 2>NUL | find /I /N "POWERPNT.EXE">NUL && taskkill /F /IM POWERPNT.EXE >nul&(REG DELETE "HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Common\Licensing" /f >nul 2>NUL) (cscript //nologo ospp.vbs /dstatus | find /i "license name" > temp.txt || (cscript //nologo ospp.vbs /dstatus | find /i "Windows Script Host access is disabled" > temp.txt && goto wshdisabled)) findstr /m "O365" temp.txt >nul || goto o21 set obrp=2021&goto bucpkey :o21 findstr /m "office 21" temp.txt >nul || goto o19 set obrp=2021&goto bucpkey :o19 findstr /m "office 19" temp.txt >nul || goto o16 set obrp=2019&goto bucpkey :o16 findstr /m "office 16" temp.txt >nul || goto olain set obrp=2016&goto bucpkey :olain set /P obrp=Ketik Office berapa yang anda pakai (2016/2019/2021) lalu Enter : &echo. :bucpkey if %obrp% EQU 2016 (set pko=XQNVK-8JYDB-WJ9W3-YJ8YR-WFG99) else if %obrp% EQU 2019 (set pko=NMMKJ-6RK4F-KMJVX-8D9MJ-6MWKP) else if %obrp% EQU 2021 (set pko=FXYTK-NJJ8C-GB6DW-3DYQT-6F7TH) else (echo =====================================================================================&echo.&echo Cara ini hanya akan berhasil pada Microsoft Office 2016, 2019, 2021, dan 365.&echo - Untuk Office 2013, lakukan aktivasi pakai cara berikut : bit.ly/acto2013&echo - Untuk Office 2010, lakukan aktivasi pakai cara berikut : bit.ly/acto2010&echo Copy atau ketik salah satu link di atas pada browser untuk membuka tutorialnya.&echo.&echo Jika anda menggunakan Microsoft Office 365, ketik 2021 pada isian di bawah&echo.&goto olain) cscript //nologo ospp.vbs /unpkey:WFG99 >nul&cscript //nologo ospp.vbs /unpkey:6MWKP >nul&cscript //nologo ospp.vbs /unpkey:6F7TH >nul :ucpkey cscript //nologo ospp.vbs /dstatus | find /i "Last 5 characters of installed product key" > temp.txt || goto skunpkey set /P bpkey= < temp.txt set pkeyt=%bpkey:~-5% echo.&cscript //nologo ospp.vbs /unpkey:%pkeyt% >nul&goto ucpkey :skunpkey echo =====================================================================================&echo Mengaktivasi Office %obrp% anda, silahkan tunggu...&echo =====================================================================================&(for /f %%x in ('dir /b ..\root\Licenses16\ProPlus*VL_KMS*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%%x" >nul)&echo.&cscript //nologo slmgr.vbs /ckms >nul&cscript //nologo ospp.vbs /setprt:1688 >nul&echo.&cscript //nologo ospp.vbs /inpkey:%pko% >nul||goto notsupported&set i=1 :skms if %i% GTR 5 (goto busy) else if %i% LEQ 5 (set KMS=s8.mshost.pro) cscript //nologo ospp.vbs /sethst:%KMS% >nul :ato echo.&echo =====================================================================================&cscript //nologo ospp.vbs /act >nul&timeout /t 5 >nul&echo.&cscript //nologo ospp.vbs /act | find /i "successful" && (echo.&echo =====================================================================================&echo.&echo.&echo Dukung kami dengan donasi via saweria.co/bagitechno agar cara ini bisa terus digunakan.&echo.& if errorlevel 2 exit) || (echo Sepertinya butuh waktu lebih, silahkan tunggu... & echo. & echo. & set /a i+=1 & timeout /t 10 >nul & goto skms)&timeout /t 7 >nul&explorer "https://saweria.co/bagitechno"&echo.&echo Jika sudah donasi dan Office masih bermasalah, chat via Instagram @bagitekno_net&echo.&goto halt :notsupported echo =====================================================================================&echo.&echo Maaf, Office anda tidak support.&echo.&echo - Untuk Office 2013, lakukan aktivasi pakai cara berikut : bit.ly/acto2013&echo.&echo - Untuk Office 2010, lakukan aktivasi pakai cara berikut : bit.ly/acto2010&echo.&echo Copy atau ketik salah satu link di atas pada browser untuk membuka tutorialnya.&echo.&goto halt :wshdisabled echo =====================================================================================&echo.&echo Maaf, aktivasi gagal karena Windows Script Host access is disabled.&echo.&echo Solusinya, ikuti panduan pada video tutorial yang terbuka untuk mengizinkan Windows Script.&echo.&timeout /t 7 >nul&explorer "https://youtu.be/vqGMSQnWMIY"&goto halt :busy echo =====================================================================================&echo.&echo.&echo Maaf, aktivasi gagal karena koneksi internet anda tidak stabil.&echo.&echo Silahkan sambungkan Laptop anda ke WiFi lain kemudian ulangi lagi cara ini.&echo.&goto halt :halt del temp.txt&cd %~dp0&del %0 >nul&pause >nul