@ECHO OFF&(PUSHD "%~DP0")&(REG QUERY "HKU\S-1-5-19">NUL 2>&1)||(
powershell -Command "Start-Process '%~sdpnx0' -Verb RunAs"&&EXIT)

taskkill /f /im  IUService.exe >NUL 2>NUL
taskkill /f /im  AutoUpdate.exe >NUL 2>NUL
taskkill /f /im  PPUninstaller.exe >NUL 2>NUL
taskkill /f /im  UninstallPromote.exe >NUL 2>NUL
taskkill /f /im  UninstallMonitor.exe >NUL 2>NUL

net stop IObitUnSvr >NUL 2>NUL
sc delete IObitUnSvr >NUL 2>NUL
net stop IUFileFilter >NUL 2>NUL
sc delete IUFileFilter >NUL 2>NUL 
net stop IUProcessFilter >NUL 2>NUL
sc delete IUProcessFilter >NUL 2>NUL
net stop IURegistryFilter >NUL 2>NUL
sc delete IURegistryFilter >NUL 2>NUL

del/f/q "%TEMP%\*.dbd"2>NUL
rd /s/q "%AppData%\IObit"2>NUL
del/f/q "%WinDir%\tasks\Uninstaller_SkipUac_*.job" >NUL 2>NUL
del/f/q "%WinDir%\system32\tasks\Uninstaller_SkipUac_*" >NUL 2>NUL

ver|findstr "5\.[0-9]\.[0-9][0-9]*" > NUL && (
rd/s/q "%CommonProgramFiles%\IObit"2>NUL
rd/s/q "%UserProfile%\LocalLow\IObit"2>NUL
rd/s/q "%AllUsersProfile%\Application Data\IObit"2>NUL
rd/s/q "%AllUsersProfile%\Application Data\ProductData"2>NUL
rd/s/q "%AllUsersProfile%\Application Data\IObit Uninstaller"2>NUL
)

ver|findstr "\<6\.[0-9]\.[0-9][0-9]*\> \<10\.[0-9]\.[0-9][0-9]*\>" > NUL && (
rd/s/q "%CommonProgramFiles%\IObit"2>NUL
rd/s/q "%CommonProgramW6432%\IObit"2>NUL
rd/s/q "%CommonProgramFiles(x86)%\IObit"2>NUL
rd/s/q "%UserProfile%\AppData\LocalLow\IObit"2>NUL
rd/s/q "%ProgramData%\IObit"2>NUL
rd/s/q "%ProgramData%\ProductData"2>NUL
rd/s/q "%ProgramData%\IObit Uninstaller"2>NUL
)

reg delete "HKLM\SOFTWARE\IObit" /f >NUL 2>NUL
reg delete "HKLM\SOFTWARE\Wow6432Node\IObit" /f >NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\AppID\PfShellExtension.DLL" /f >NUL 2>NUL
reg delete "HKCR\Wow6432Node\AppID\PfShellExtension.DLL" /f >NUL 2>NUL
reg delete "HKCR\Wow6432Node\AppID\{59A55EF0-525F-4276-AB62-8F7E5F230399}" /f >NUL 2>NUL
reg delete "HKCR\Wow6432Node\TypeLib\{DAF0374A-11AB-4E4E-B141-663E77D63E4C}" /f >NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\*\shellex\ContextMenuHandlers\IObitUnstaler" /f >NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\AppID\{59A55EF0-525F-4276-AB62-8F7E5F230399}" /f >NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\CLSID\{10921475-03CE-4E04-90CE-E2E7EF20C814}" /f >NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\CLSID\{836AB26C-2DE4-41D3-AC24-4C6C2699B960}" /f >NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\CLSID\{8DE189EC-C9C8-4D31-9F18-E0B7407019A9}" /f >NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\Directory\shellex\ContextMenuHandlers\IObitUnstaler" /f >NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\Folder\shellex\ContextMenuHandlers\IObitUnstaler" /f >NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\lnkfile\shellex\ContextMenuHandlers\IObitUnstaler" /f >NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\TypeLib\{DAF0374A-11AB-4E4E-B141-663E77D63E4C}" /f >NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\UninstallExplorer.ExplorerBtn" /f >NUL 2>NUL
reg delete "HKLM\SOFTWARE\Microsoft\Internet Explorer\Toolbar" /f /v "{10921475-03CE-4E04-90CE-E2E7EF20C814}" >NUL 2>NUL
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Browser Helper Objects\{10921475-03CE-4E04-90CE-E2E7EF20C814}" /f >NUL 2>NUL
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel\NameSpace\{8DE189EC-C9C8-4D31-9F18-E0B7407019A9}" /f >NUL 2>NUL
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved" /f /v "{836AB26C-2DE4-41D3-AC24-4C6C2699B960}" >NUL 2>NUL

EXIT