![]() ![]() If %Online% = 0 (call : Get_KMS_IP KMS_IP 0) else (call : Get_KMS_IP KMS_IP 1) If %Online% = 0 if not exist " %SystemRoot%\system32\SppExtComObjPatcher.* " goto : E_Patcher Enter Your Choice : "Įcho =Įcho Note: Make sure you are connected to Internet For Successful Activation.Ĭhoice /C:GC /N /M " Continue To Activation Go Back : " ^| Check Windows ^& Office Activation Status ^|Įcho. ![]() ^| Activate Windows ^& Office With 'Online-KMS' ^|Įcho. ::=įor /f "tokens=2 delims= " %%a IN (' "wmic Path Win32_OperatingSystem Get Caption /format:LIST "') do (set NameOS= %%a) > nul 2 >&1įor /f "tokens=2 delims= " %%a IN (' "wmic Path Win32_OperatingSystem Get CSDVersion /format:LIST "') do (set SP= %%a) > nul 2 >&1įor /f "tokens=2 delims= " %%a in ('wmic path Win32_OperatingSystem get BuildNumber /value') do (set WinBuild= %%a) > nul 2 >&1Įcho. &pause > nul 2 >&1 &exit)Ĭmd /u /c echo Set UAC = CreateObject ^( "Shell.Application " ^) : UAC.ShellExecute " %~0 ", " %params% ", " ", "runas ", 1 > " %temp%\getadmin.vbs " &cscript //nologo " %temp%\getadmin.vbs " &exit If " %1 " = " %params% " (echo Elevating UAC for Administrator Privileges failed &echo Right click on the script and select 'Run as administrator' &echo Press any key to exit. :: The following test is to avoid infinite looping if elevating UAC for Administrator Privileges failed On the last line, you can type n to exit from the terminal, or type y to see my projects on YouTube.Set " params =Problem_with_elevating_UAC_for_Administrator_Privileges " &if exist " %temp%\getadmin.vbs " del " %temp%\getadmin.vbs "įsutil dirty query %systemdrive% > nul 2 >&1 & goto : GotPrivileges If everything goes well, now your Microsoft Office 2016 is activated. Automatically it will access KMS server to activate your Microsoft Office 2016. Make sure your internet connection is good enough, then open the file: right click & choose Open as Administrator. ![]() Wanna see my project on YouTube ? " & if errorlevel 2 exit) || (echo The connection to my KMS server failed! Trying to connect to another one. &echo #Facebook: &echo #Twitter: &echo #GitHub: &echo #Youtube: &echo #Contact me at lintangwisesa &echo. \root\Licenses16\proplusvl_kms*.xrm-ms') do cscript ospp.vbs /inslic:".\root\Licenses16\%%x" >nul)&(for /f %%x in ('dir /b. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |