- @echo off
- >nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system"
- if '%errorlevel%' NEQ '0' (
- goto UACPrompt
- ) else ( goto gotAdmin )
- :UACPrompt
- echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs"
- echo UAC.ShellExecute "%~s0", "", "", "runas", 1 >> "%temp%\getadmin.vbs"
- "%temp%\getadmin.vbs"
- exit /B
- :gotAdmin
- if exist "%temp%\getadmin.vbs" ( del "%temp%\getadmin.vbs" )
-
- del /f /s /q /a "C:\ProgramData\Microsoft\Windows\Start Menu\驱动下载.lnk"
- del /f /s /q /a "C:\Windows\Help\dcold.exe"
- del /f /s /q /a "C:\ProgramData\「开始」菜单\驱动下载.lnk"
- rd /s /q "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\驱动总裁2.0"
- rd /s /q "C:\ProgramData\「开始」菜单\Programs\驱动总裁2.0"
- rd /s /q "C:\Program Files\SysCeo"
- rd /s /q "C:\Windows\Temp\~DrvCeoLog"
- rd /s /q "C:\Windows\Temp\~ScLog"
- rd /s /q "C:\Users\Administrator\AppData\Local\Microsoft\Edge"
- rd /s /q "C:\Users\Administrator\AppData\Local\360Chrome"
- rd /s /q "C:\Users\Administrator\AppData\Local\360ChromeX"
- rd /s /q "C:\Users\Administrator\AppData\Local\google"
- rd /s /q "C:\Users\Administrator\AppData\Local\liebao"
- rd /s /q "C:\Users\Administrator\AppData\Local\Maxthon"
- rd /s /q "C:\Users\Administrator\AppData\Local\Tencent"
- rd /s /q "C:\Users\Administrator\AppData\Local\TheWorld6"
- rd /s /q "C:\Users\Administrator\AppData\Roaming\360Quarant"
- rd /s /q "C:\Users\Administrator\AppData\Roaming\360se6"
- rd /s /q "C:\Users\Administrator\AppData\Roaming\IQIYI Video"
- rd /s /q "C:\Users\Administrator\AppData\Roaming\Opera Software"
- rd /s /q "C:\Users\Administrator\AppData\Roaming\SogouExplorer"
- rd /s /q "C:\Program Files\UNP"
- rd /s /q "C:\DrvPath"
复制代码
|