yaol1
Advanced Member | Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору SETLOCAL cls @echo off &chcp 1251 >nul :: Сценарий вывода запроса UAC на получение админских прав. REG QUERY "HKU\S-1-5-19\Environment"& cls if "%errorlevel%" NEQ "0" ( echo: Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs" echo: UAC.ShellExecute "%~s0", "", "", "runas", 1 >> "%temp%\getadmin.vbs" "%temp%\getadmin.vbs" & exit ) if exist "%temp%\getadmin.vbs" ( del "%temp%\getadmin.vbs" ) & cls :: Удаление SET pt=%~dp0 SET pt1=%~dp0..\ :: Удаление папок rd /s /q "%pt%360BDoctorExt" rd /s /q "%pt%adfilter" rd /s /q "%pt%installer" rd /s /q "%pt%swiftshader" rd /s /q "%pt%protocol" rd /s /q "%pt1%components" :: Удаление файлов del /f /q "%pt%Locales\en-us.pak" del /f /q "%pt%Locales\zh-cn.pak" del /f /q "%pt%plugins\itrusenroll.dll" del /f /q "%pt%plugins\npaliedit.dll" del /f /q "%pt%plugins\npAliSecCtrl.dll" del /f /q "%pt%plugins\npalissologin.dll" del /f /q "%pt%plugins\npcombrg.dll" del /f /q "%pt%plugins\pta.dll" del /f /q "%pt%safe505.dll" del /f /q "%pt%sepro.dll" del /f /q "%pt%sesafe.dll" del /f /q "%pt%urlproc.dll" del /f /q "%pt%360base.dll" del /f /q "%pt%3mobileadapter.dll" del /f /q "%pt%presetui.dll" del /f /q "%pt%switcher" del /f /q "%pt%cloudurls.dat" del /f /q "%pt%config" del /f /q "%pt%gpubl.dat" del /f /q "%pt%gpuwl.dat" del /f /q "%pt%khtn.dat" del /f /q "%pt%mobileadapter.dll" del /f /q "%pt%setdefbrowser.dll" del /f /q "%pt%urllibauth.dat" del /f /q "%pt%wdcnf.dat" del /f /q "%pt%eacl.dat" del /f /q "%pt%smart_preheat.dll" del /f /q "%pt%smartpreheat64.dll" del /f /q "%pt%360bdoctor.exe" del /f /q "%pt%updatecfg.ini" del /f /q "%pt%delegate_execute.exe" del /f /q "%pt%navhome.htm" del /f /q "%pt%smartpreheat.dat" del /f /q "%pt%nacl_irt_x86_32.nexe" del /f /q "%pt%nacl_irt_x86_64.nexe" del /f /q "%pt%nacl64.exe" :: Удаление патча и себя del /f /q "%pt%360.extreme.explorer.11.0.1000.0+-patch.exe" del /f /q "%pt%360chrome_del.bat" ENDLOCAL EXIT |