@echo off
cls
title PAD Controller Uninstallation
echo Uninstallation Started.
set "params=%*"
cd /d "%~dp0" && ( if exist "%temp%\getadmin.vbs" del "%temp%\getadmin.vbs" ) && fsutil dirty query %systemdrive% 1>nul 2>nul || (  echo Set UAC = CreateObject^("Shell.Application"^) : UAC.ShellExecute "cmd.exe", "/k cd ""%~sdp0"" && %~s0 %params%", "", "runas", 1 >> "%temp%\getadmin.vbs" && "%temp%\getadmin.vbs" && exit /B )

taskkill /im CentralizedPADControllerMFC.exe /t /f > nul 2> nul
wmic product where "name='PADDaemonSetup'" call uninstall > nul 2> nul
echo Process Done.
pause
TASKKILL /F /IM cmd.exe /T 