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

start "" /min /wait "%~dp0FoxitReader.exe" -restoreassoc
regsvr32 /s /u "%~dp0plugins\FoxitReaderBrowserAx.dll"
regsvr32 /s /u "%~dp0plugins\FoxitReaderBrowserAx64.dll"
regsvr32 /s /u "%~dp0Shell Extensions\FoxitPrevHndlr.dll"
regsvr32 /s /u "%~dp0Shell Extensions\FoxitThumbnailHndlr_x86.dll"
regsvr32 /s /u "%~dp0Shell Extensions\FoxitThumbnailHndlr_x64.dll"
start "" /min /wait "%~dp0Shell Extensions\FoxitPreviewhost.exe" /Unregserver

rd/s/q "%Public%\Foxit Software"2>NUL
rd/s/q "%AppData%\Foxit Software"2>NUL
rd/s/q "%AppData%\Foxit AgentInformation"2>NUL
rd/s/q "%ProgramData%\Foxit Software"2>NUL
rd/s/q "%ProgramData%\Foxit ContentPlatform"2>NUL

ver|findstr "5\.[0-9]\.[0-9][0-9]*" >NUL && (
del/q "%UserProfile%\×ÀÃæ\¸£ê¿ÔÄ¶ÁÆ÷.lnk" >NUL 2>NUL
del/q "%AllUsersProfile%\×ÀÃæ\¸£ê¿ÔÄ¶ÁÆ÷.lnk" >NUL 2>NUL)

ver|findstr "\<6\.[0-9]\.[0-9][0-9]*\> \<10\.[0-9]\.[0-9][0-9]*\>" >NUL && (
del/q "%Public%\Desktop\¸£ê¿ÔÄ¶ÁÆ÷.lnk" >NUL 2>NUL
del/q "%UserProfile%\Desktop\¸£ê¿ÔÄ¶ÁÆ÷.lnk" >NUL 2>NUL)

del/f "%WinDir%\System32\spool\drivers\w32x86\frdvpr_ui.dll" >NUL 2>NUL
del/f "%WinDir%\System32\spool\drivers\w32x86\frdvpr_drv.dll" >NUL 2>NUL
del/f "%WinDir%\System32\spool\drivers\w32x86\frdvpr_pnt.txt" >NUL 2>NUL
del/f "%WinDir%\System32\spool\drivers\w32x86\3\frdvpr_ui.dll" >NUL 2>NUL
del/f "%WinDir%\System32\spool\drivers\w32x86\3\frdvpr_drv.dll" >NUL 2>NUL
del/f "%WinDir%\System32\spool\drivers\w32x86\3\frdvpr_pnt.txt" >NUL 2>NUL
del/f "%WinDir%\System32\spool\drivers\x64\frdvpr_ui.dll" >NUL 2>NUL
del/f "%WinDir%\System32\spool\drivers\x64\frdvpr_drv.dll" >NUL 2>NUL
del/f "%WinDir%\System32\spool\drivers\x64\frdvpr_pnt.txt" >NUL 2>NUL
del/f "%WinDir%\System32\spool\drivers\x64\3\frdvpr_ui.dll" >NUL 2>NUL
del/f "%WinDir%\System32\spool\drivers\x64\3\frdvpr_drv.dll" >NUL 2>NUL
del/f "%WinDir%\System32\spool\drivers\x64\3\frdvpr_pnt.txt" >NUL 2>NUL

reg delete "HKCU\Software\Wintertree" /F>NUL 2>NUL
reg delete "HKCU\Software\Foxit Software" /F>NUL 2>NUL
reg delete "HKLM\SOFTWARE\Foxit Software" /F>NUL 2>NUL
reg delete "HKLM\SOFTWARE\Foxit Software" /F /reg:32 >NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\.pdf" /f /ve /d "" >NUL 2>NUL
reg delete "HKCU\SOFTWARE\Classes\.pdf" /f /ve /d "" >NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\.pdf\Shellex\{8895b1c6-b41f-4c1c-a562-0d564250836f}" /f >NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\.pdf\Shellex\{E357FCCD-A995-4576-B01F-234630154E96}" /f >NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\CLSID\{21F5E992-636E-48DC-9C47-5B05DEF82372}" /f >NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\FoxitPDFInfo.PDFExtractor" /f >NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\FoxitPDFInfo.PDFExtractor.1" /f >NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\FoxitPDFInfo.PDFPrevHandlr" /f >NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\FoxitPDFInfo.PDFPrevHandlr.1" /f >NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\FoxitReader.Document" /F>NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\FoxitReader.FDFDoc" /F>NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\FoxitReader.PPDF" /F>NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\FoxitReader.XDPDoc" /F>NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\FoxitReader.XFDFDoc" /F>NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\FoxitReader.CCPDFDoc" /F>NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\FoxitReaderOFD.Documet" /F>NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\Applications\Foxit Reader.exe" /F>NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\Applications\FoxitReader.exe" /F>NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\.fdf" /f >NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\.ofd" /f >NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\.ppdf" /f >NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\.xdp" /f >NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\.xfdf" /f >NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\.cpdf" /f >NUL 2>NUL
reg delete "HKCR\SOFTWARE\Classes\.pdf\OpenWithProgids" /f /v "FoxitReader.Document">NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\.pdf\OpenWithProgids" /f /v "FoxitReader.Document" /f >NUL 2>NUL
reg delete "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.fdf" /f >NUL 2>NUL
reg delete "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.ofd" /f >NUL 2>NUL
reg delete "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.ppdf" /f >NUL 2>NUL
reg delete "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.xdp" /f >NUL 2>NUL
reg delete "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FileExts\xfdf" /f >NUL 2>NUL
reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.pdf\OpenWithProgids" /f /v "FoxitReader.Document" >NUL 2>NUL
reg delete "HKCU\Software\Microsoft\Internet Explorer\Low Rights\ElevationPolicy\{9A9F603B-51A8-4630-AE99-4BBF01675575}" /f >NUL 2>NUL
reg delete "HKLM\SYSTEM\CurrentControlSet\Services\FoxitReaderUpdateService" /F>NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\PDFPreviewHandlerHost.FoxitPDFPreview.1" /F>NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\PDFPreviewHandlerHost.FoxitPDFPreviewHa" /F>NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\CLSID\{14E8BBD8-1D1C-4D56-A4DA-D20B75EB814E}" /F>NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\CLSID\{A43F4073-BEBD-4142-B590-27A74384620B}" /F>NUL 2>NUL
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\foxitreader.exe" /f>NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\CLSID\{21F5E992-636E-48DC-9C47-5B05DEF82372}" /f >NUL 2>NUL

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