Set _MicrosoftProduct =OfficeSoftwareProtectionProduct Set _MicrosoftService =SoftwareLicensingService Set _MicrosoftProduct =SoftwareLicensingProduct If %_WinBuild% LSS 9200 if not exist " %_OSPP% " (Įcho Could not detect Licensing tool OSPP.VBS. Set " _SLMGR = %SystemRoot%\System32\slmgr.vbs "įor /f "tokens=2* " %%G in (' "reg query HKLM\SOFTWARE\Microsoft\Office\ClickToRun /v InstallPath " 2 ^ > nul') do (Įcho Could not detect Office 2016 ClickToRun service.Įcho Could not detect Office 2016 Licenses files. Setlocal EnableExtensions EnableDelayedExpansionĮcho Set UAC = CreateObject ^( "Shell.Application " ^) > " %temp%\GetAdmin.vbs "Įcho UAC.ShellExecute " !_FileName! ", " ", " ", "runas ", 1 > " %temp%\GetAdmin.vbs "Ĭmd /u /c type " %temp%\GetAdmin.vbs " > " %temp%\GetAdminUnicode.vbs "Ĭscript //nologo " %temp%\GetAdminUnicode.vbs "ĭel /f /q " %temp%\GetAdmin.vbs " > nul 2 >
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |