@ECHO OFF&PUSHD %~DP0 &TITLE 卸载
Rd "%WinDir%\system32\test_permissions" >NUL 2>NUL
Md "%WinDir%\System32\test_permissions" 2>NUL||(Echo 请使用右键管理员身份运行！&&Pause >nul&&Exit)
Rd "%WinDir%\System32\test_permissions" 2>NUL
taskkill /f /im QQDown*>NUL 2>NUL
regsvr32 /s /u xmain.dll
regsvr32 /s /u xdownload.dll
regsvr32 /s /u QQDownload.dll
regsvr32 /s /u MediaFilter.dll
regsvr32 /s /u QQIEHelper64.dll
regsvr32 /s /u QQIEHelper01.dll
regsvr32 /s /u BT\BTDownload.dll
regsvr32 /s /u eMule\eMuleDownload.dll
regsvr32 /s /u TXSSO\Bin\SSOCommon.dll
regsvr32 /s /u TXSSO\Bin\SSOLUIControl.dll
regsvr32 /s /u TXSSO\Bin\npSSOAxCtrlForPTLogin.dll
rd/s/q "%AppData%\Tencent\QQDownload" 2>NUL
rd/s/q "%AppData%\Tencent\QQPCMgr\Download"2>NUL
rd/s/q "%ProgramData%\Tencent\QQDownload"  2>NUL
regsvr32 /s /u TXSSO\Bin\npSSOAxCtrlForPTLogin.dll
reg delete HKLM\Software\Tencent\QQDownload /F>NUL 2>NUL
reg delete HKCU\Software\Tencent\QQDownload /F>NUL 2>NUL
rd/s/q "%AllUsersProfile%\Application Data\Tencent\QQDownload"2>NUL
start /wait /B "" "%~dp0win7_setting_32.exe" set_ie=0 SW_HIDE
start /wait /B "" "%~dp0win7_setting_32.exe" set_chrome=0 SW_HIDE
start /wait /B "" "%~dp0win7_setting_32.exe" set_360chrome=0 SW_HIDE
start /wait /B "" "%~dp0win7_setting_32.exe" set_360se=0 SW_HIDE
start /wait /B "" "%~dp0win7_setting_32.exe" set_sogo=0 SW_HIDE
start /wait /B "" "%~dp0win7_setting_32.exe" set_world=0 SW_HIDE
start /wait /B "" "%~dp0win7_setting_32.exe" set_TT=0 SW_HIDE
reg delete "HKLM\Software\Wow6432Node\Tencent\QQDownload" /F>NUL 2>NUL
reg delete "HKLM\SOFTWARE\MozillaPlugins\@qq.com/QQDownloadPlugin" /F>NUL 2>NUL
reg delete "HKLM\SOFTWARE\Wow6432Node\MozillaPlugins\@qq.com/QQDownloadPlugin" /F>NUL 2>NUL
reg delete "HKCU\Software\Microsoft\Internet Explorer\MenuExt\使用旋风下载" /F>NUL 2>NUL
reg delete "HKCU\Software\Microsoft\Internet Explorer\MenuExt\使用旋风极速下载" /F>NUL 2>NUL
reg delete "HKCU\Software\Microsoft\Internet Explorer\MenuExt\使用旋风下载全部链接" /F>NUL 2>NUL
reg delete "HKCU\Software\Microsoft\Internet Explorer\MenuExt\保存到旋风空间(会员特权)" /F>NUL 2>NUL
reg delete "HKCU\Software\Microsoft\Internet	Explorer\MenuExt\使用旋风下载" /F>NUL 2>NUL
reg delete "HKCU\Software\Microsoft\Internet	Explorer\MenuExt\使用旋风极速下载" /F>NUL 2>NUL
reg delete "HKCU\Software\Microsoft\Internet	Explorer\MenuExt\使用旋风下载全部链接" /F>NUL 2>NUL
reg delete "HKCU\Software\Microsoft\Internet	Explorer\MenuExt\保存到旋风空间(会员特权)" /F>NUL 2>NUL
reg delete "HKLM\Software\Google\Chrome\NativeMessagingHosts\com.qq.xf.download" /F>NUL 2>NUL
reg delete "HKLM\Software\Google\Chrome\NativeMessagingHosts\nobfdmmammchijbkljbjkalkjjbhcgdp" /F>NUL 2>NUL
reg delete "HKLM\Software\Google\Chrome\NativeMessagingHosts\aedefonfidgpnhkjnnehccifaachpcjp" /F>NUL 2>NUL
reg delete "HKLM\Software\Wow6432Node\Google\Chrome\NativeMessagingHosts\com.qq.xf.download" /F>NUL 2>NUL
reg delete "HKLM\Software\Wow6432Node\Google\Chrome\NativeMessagingHosts\nobfdmmammchijbkljbjkalkjjbhcgdp" /F>NUL 2>NUL
reg delete "HKLM\Software\Wow6432Node\Google\Chrome\NativeMessagingHosts\aedefonfidgpnhkjnnehccifaachpcjp" /F>NUL 2>NUL
reg delete "HKLM\Software\Microsoft\Internet Explorer\Low Rights\ElevationPolicy\{FA2377CE-8D53-4690-A293-E3E46C853AE8}" /F>NUL 2>NUL
ECHO.&ECHO.完成! &PAUSE >NUL 2>NUL