@ECHO OFF
SET APPNAME=QQPlayer
Title %APPNAME% 卸载清理 & Color 2F
CD "%SystemRoot%\system32"
CALL :CHECKADMIN
CD /D "%~dp0"
ECHO.
ECHO 正在卸载的软件是「%APPNAME%」
ECHO.
ECHO 脚本作者: 黯然过客
ECHO 发布地址: https://www.portablesoft.org/qqplayer/
ECHO.
ECHO * 终止脚本运行请按下 Alt+F4 或点击右上角叉号/关闭按钮 *
ECHO.
PAUSE
ECHO.
TASKKILL /IM QQPlayer.exe /T /F
PING -n 3 127.0.0.1 >nul
RD /S /Q "%AppData%\Tencent\QQPlayer"
DEL /Q "%AppData%\Tencent\Logs\TxBugReport.tlg"
RD /Q "%AppData%\Tencent\Logs"
RD /Q "%AppData%\Tencent"
REG DELETE "HKLM\SOFTWARE\Tencent\QQPlayer" /F
REG DELETE "HKLM\SOFTWARE\WOW6432Node\Tencent\QQPlayer" /F
REG DELETE "HKCU\Software\Tencent\qqplayer" /F
REG DELETE "HKCU\Software\Classes\QQPlayer.3gp2" /F
REG DELETE "HKCU\Software\Classes\QQPlayer.3gpp" /F
REG DELETE "HKCU\Software\Classes\QQPlayer.amv" /F
REG DELETE "HKCU\Software\Classes\QQPlayer.bik" /F
REG DELETE "HKCU\Software\Classes\QQPlayer.cda" /F
REG DELETE "HKCU\Software\Classes\QQPlayer.csf" /F
REG DELETE "HKCU\Software\Classes\QQPlayer.dts" /F
REG DELETE "HKCU\Software\Classes\QQPlayer.evo" /F
REG DELETE "HKCU\Software\Classes\QQPlayer.hlv" /F
REG DELETE "HKCU\Software\Classes\QQPlayer.idx" /F
REG DELETE "HKCU\Software\Classes\QQPlayer.ifo" /F
REG DELETE "HKCU\Software\Classes\QQPlayer.ivm" /F
REG DELETE "HKCU\Software\Classes\QQPlayer.m1a" /F
REG DELETE "HKCU\Software\Classes\QQPlayer.m1v" /F
REG DELETE "HKCU\Software\Classes\QQPlayer.m2a" /F
REG DELETE "HKCU\Software\Classes\QQPlayer.m2p" /F
REG DELETE "HKCU\Software\Classes\QQPlayer.m2ts" /F
REG DELETE "HKCU\Software\Classes\QQPlayer.m2v" /F
REG DELETE "HKCU\Software\Classes\QQPlayer.m4b" /F
REG DELETE "HKCU\Software\Classes\QQPlayer.m4p" /F
REG DELETE "HKCU\Software\Classes\QQPlayer.mka" /F
REG DELETE "HKCU\Software\Classes\QQPlayer.mod" /F
REG DELETE "HKCU\Software\Classes\QQPlayer.mp2" /F
REG DELETE "HKCU\Software\Classes\QQPlayer.mp2v" /F
REG DELETE "HKCU\Software\Classes\QQPlayer.mpa" /F
REG DELETE "HKCU\Software\Classes\QQPlayer.mpeg4" /F
REG DELETE "HKCU\Software\Classes\QQPlayer.mpv2" /F
REG DELETE "HKCU\Software\Classes\QQPlayer.ogm" /F
REG DELETE "HKCU\Software\Classes\QQPlayer.pmp" /F
REG DELETE "HKCU\Software\Classes\QQPlayer.pss" /F
REG DELETE "HKCU\Software\Classes\QQPlayer.pva" /F
REG DELETE "HKCU\Software\Classes\QQPlayer.qt" /F
REG DELETE "HKCU\Software\Classes\QQPlayer.ra" /F
REG DELETE "HKCU\Software\Classes\QQPlayer.rp" /F
REG DELETE "HKCU\Software\Classes\QQPlayer.rpm" /F
REG DELETE "HKCU\Software\Classes\QQPlayer.rt" /F
REG DELETE "HKCU\Software\Classes\QQPlayer.scm" /F
REG DELETE "HKCU\Software\Classes\QQPlayer.smi" /F
REG DELETE "HKCU\Software\Classes\QQPlayer.smil" /F
REG DELETE "HKCU\Software\Classes\QQPlayer.tak" /F
REG DELETE "HKCU\Software\Classes\QQPlayer.tod" /F
REG DELETE "HKCU\Software\Classes\QQPlayer.tp" /F
REG DELETE "HKCU\Software\Classes\QQPlayer.tpr" /F
REG DELETE "HKCU\Software\Classes\QQPlayer.tta" /F
REG DELETE "HKCU\Software\Classes\QQPlayer.vp6" /F
REG DELETE "HKCU\Software\Classes\QQPlayer.wm" /F
REG DELETE "HKCU\Software\Classes\QQPlayer.wmp" /F
REG DELETE "HKCU\Software\Classes\QQPlayer.wmv" /F
REG DELETE "HKCU\Software\Classes\QQPlayer.xlmv" /F
REG DELETE "HKCU\Software\Classes\QQPlayer.3g2" /F
REG DELETE "HKCU\Software\Classes\QQPlayer.3gp" /F
REG DELETE "HKCU\Software\Classes\QQPlayer.aac" /F
REG DELETE "HKCU\Software\Classes\QQPlayer.ac3" /F
REG DELETE "HKCU\Software\Classes\QQPlayer.acc" /F
REG DELETE "HKCU\Software\Classes\QQPlayer.amr" /F
REG DELETE "HKCU\Software\Classes\QQPlayer.asf" /F
REG DELETE "HKCU\Software\Classes\QQPlayer.ass" /F
REG DELETE "HKCU\Software\Classes\QQPlayer.avi" /F
REG DELETE "HKCU\Software\Classes\QQPlayer.dat" /F
REG DELETE "HKCU\Software\Classes\QQPlayer.divx" /F
REG DELETE "HKCU\Software\Classes\QQPlayer.f4v" /F
REG DELETE "HKCU\Software\Classes\QQPlayer.flac" /F
REG DELETE "HKCU\Software\Classes\QQPlayer.flv" /F
REG DELETE "HKCU\Software\Classes\QQPlayer.m2t" /F
REG DELETE "HKCU\Software\Classes\QQPlayer.m4a" /F
REG DELETE "HKCU\Software\Classes\QQPlayer.m4v" /F
REG DELETE "HKCU\Software\Classes\QQPlayer.mid" /F
REG DELETE "HKCU\Software\Classes\QQPlayer.midi" /F
REG DELETE "HKCU\Software\Classes\QQPlayer.mkv" /F
REG DELETE "HKCU\Software\Classes\QQPlayer.mov" /F
REG DELETE "HKCU\Software\Classes\QQPlayer.mp3" /F
REG DELETE "HKCU\Software\Classes\QQPlayer.mp4" /F
REG DELETE "HKCU\Software\Classes\QQPlayer.mpe" /F
REG DELETE "HKCU\Software\Classes\QQPlayer.mpeg" /F
REG DELETE "HKCU\Software\Classes\QQPlayer.mpg" /F
REG DELETE "HKCU\Software\Classes\QQPlayer.mts" /F
REG DELETE "HKCU\Software\Classes\QQPlayer.ogg" /F
REG DELETE "HKCU\Software\Classes\QQPlayer.ram" /F
REG DELETE "HKCU\Software\Classes\QQPlayer.rm" /F
REG DELETE "HKCU\Software\Classes\QQPlayer.rmvb" /F
REG DELETE "HKCU\Software\Classes\QQPlayer.srt" /F
REG DELETE "HKCU\Software\Classes\QQPlayer.ssa" /F
REG DELETE "HKCU\Software\Classes\QQPlayer.sub" /F
REG DELETE "HKCU\Software\Classes\QQPlayer.sup" /F
REG DELETE "HKCU\Software\Classes\QQPlayer.ts" /F
REG DELETE "HKCU\Software\Classes\QQPlayer.vob" /F
REG DELETE "HKCU\Software\Classes\QQPlayer.wav" /F
REG DELETE "HKCU\Software\Classes\QQPlayer.webm" /F
REG DELETE "HKCU\Software\Classes\QQPlayer.wma" /F
REG DELETE "HKCU\Software\Classes\QQPlayer.wv" /F
REG DELETE "HKLM\SOFTWARE\Classes\QQPlayer.3g2" /F
REG DELETE "HKLM\SOFTWARE\Classes\QQPlayer.3gp" /F
REG DELETE "HKLM\SOFTWARE\Classes\QQPlayer.aac" /F
REG DELETE "HKLM\SOFTWARE\Classes\QQPlayer.ac3" /F
REG DELETE "HKLM\SOFTWARE\Classes\QQPlayer.acc" /F
REG DELETE "HKLM\SOFTWARE\Classes\QQPlayer.amr" /F
REG DELETE "HKLM\SOFTWARE\Classes\QQPlayer.asf" /F
REG DELETE "HKLM\SOFTWARE\Classes\QQPlayer.ass" /F
REG DELETE "HKLM\SOFTWARE\Classes\QQPlayer.avi" /F
REG DELETE "HKLM\SOFTWARE\Classes\QQPlayer.dat" /F
REG DELETE "HKLM\SOFTWARE\Classes\QQPlayer.divx" /F
REG DELETE "HKLM\SOFTWARE\Classes\QQPlayer.f4v" /F
REG DELETE "HKLM\SOFTWARE\Classes\QQPlayer.flac" /F
REG DELETE "HKLM\SOFTWARE\Classes\QQPlayer.flv" /F
REG DELETE "HKLM\SOFTWARE\Classes\QQPlayer.m2t" /F
REG DELETE "HKLM\SOFTWARE\Classes\QQPlayer.m4a" /F
REG DELETE "HKLM\SOFTWARE\Classes\QQPlayer.m4v" /F
REG DELETE "HKLM\SOFTWARE\Classes\QQPlayer.mid" /F
REG DELETE "HKLM\SOFTWARE\Classes\QQPlayer.midi" /F
REG DELETE "HKLM\SOFTWARE\Classes\QQPlayer.mkv" /F
REG DELETE "HKLM\SOFTWARE\Classes\QQPlayer.mov" /F
REG DELETE "HKLM\SOFTWARE\Classes\QQPlayer.mp3" /F
REG DELETE "HKLM\SOFTWARE\Classes\QQPlayer.mp4" /F
REG DELETE "HKLM\SOFTWARE\Classes\QQPlayer.mpe" /F
REG DELETE "HKLM\SOFTWARE\Classes\QQPlayer.mpeg" /F
REG DELETE "HKLM\SOFTWARE\Classes\QQPlayer.mpg" /F
REG DELETE "HKLM\SOFTWARE\Classes\QQPlayer.mts" /F
REG DELETE "HKLM\SOFTWARE\Classes\QQPlayer.ogg" /F
REG DELETE "HKLM\SOFTWARE\Classes\QQPlayer.ram" /F
REG DELETE "HKLM\SOFTWARE\Classes\QQPlayer.rm" /F
REG DELETE "HKLM\SOFTWARE\Classes\QQPlayer.rmvb" /F
REG DELETE "HKLM\SOFTWARE\Classes\QQPlayer.srt" /F
REG DELETE "HKLM\SOFTWARE\Classes\QQPlayer.ssa" /F
REG DELETE "HKLM\SOFTWARE\Classes\QQPlayer.sub" /F
REG DELETE "HKLM\SOFTWARE\Classes\QQPlayer.sup" /F
REG DELETE "HKLM\SOFTWARE\Classes\QQPlayer.ts" /F
REG DELETE "HKLM\SOFTWARE\Classes\QQPlayer.vob" /F
REG DELETE "HKLM\SOFTWARE\Classes\QQPlayer.wav" /F
REG DELETE "HKLM\SOFTWARE\Classes\QQPlayer.webm" /F
REG DELETE "HKLM\SOFTWARE\Classes\QQPlayer.wma" /F
REG DELETE "HKLM\SOFTWARE\Classes\QQPlayer.wv" /F
REG DELETE "HKCU\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Compatibility Assistant\Store" /V "%~dp0FileTypeAsso.exe" /F
REG DELETE "HKCU\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Compatibility Assistant\Store" /V "%~dp0QPDZ.exe" /F
REG DELETE "HKCU\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Compatibility Assistant\Store" /V "%~dp0QQPlayerShareFile.exe" /F
REG DELETE "HKCU\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Compatibility Assistant\Store" /V "%~dp0QQPlayerUnistHelper.exe" /F
REG DELETE "HKCU\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Compatibility Assistant\Store" /V "%~dp0QQPlayerUp.exe" /F
REG DELETE "HKCU\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Compatibility Assistant\Store" /V "%~dp0Statistics.exe" /F
REG DELETE "HKCU\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Compatibility Assistant\Store" /V "%~dp0TxBugReport.exe" /F
REG DELETE "HKCU\Software\Microsoft\Windows\CurrentVersion\Search\JumplistData" /V "%~dp0QQPlayer.exe" /F
REG DELETE "HKCU\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Compatibility Assistant\Store" /V "%~dp0QQPlayer.exe" /F
REG DELETE "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FeatureUsage\AppSwitched" /V "%~dp0QQPlayer.exe" /F
:: End Uninstall
CLS
ECHO.
ECHO 彻底清理完毕 by 黯然过客@www.PortableSoft.org
ECHO.
PAUSE
EXIT
:CHECKADMIN
REG QUERY "HKU\S-1-5-19\Environment"
IF NOT %ERRORLEVEL% EQU 0 (
	CLS
	ECHO.
	ECHO 需要管理员权限才能执行 ...
	ECHO.
	ECHO 请右键单击本脚本文件选择「以管理员身份运行」
	ECHO.
	PAUSE & EXIT
)
CLS
GOTO:EOF