@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 MindMaster* >NUL 2>NUL

rd/s/q "%LocalAppData%\Edraw" 2>NUL
del/q "%Public%\Desktop\MindMaster.lnk" >NUL 2>NUL
del/q "%UserProfile%\Desktop\MindMaster.lnk" >NUL 2>NUL

reg delete "HKCU\Software\EdrawSoft" /f >NUL 2>NUL
reg delete "HKCU\Software\MindMaster" /f >NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\.emmx" /f >NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\MindMaster.Document" /f >NUL 2>NUL
reg delete "HKLM\SOFTWARE\MindMaster" /f >NUL 2>NUL
reg delete "HKLM\SOFTWARE\WOW6432Node\MindMaster" /f >NUL 2>NUL

ECHO.&ECHO Íê³É &TIMEOUT /t 2 >NUL&EXIT