remove ultraedit.bat

@ECHO OFF
IF EXIST "%PUBLIC%" >NUL 2>&1 REG QUERY "HKU\S-1-5-19"
IF NOT %ERRORLEVEL% EQU 0 (
IF EXIST "%PUBLIC%" powershell.exe -windowstyle hidden -noprofile "Start-Process '%~dpnx0' -Verb RunAs"
EXIT
)

taskkill /f /im uedit* >NUL 2>NUL
taskkill /f /im ucl.exe >NUL 2>NUL
rmdir/s/q "%AppData%\IDMComp"2>NUL
rmdir/s/q "%ProgramData%\IDMComp"2>NUL

for /f "skip=2 tokens=3 delims= " %%i in ('reg query "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" /v personal') do (
for /f "delims=*" %%j in ('echo %%i') do rd/s/q "%%j\IDM Computer Solutions" 2>NUL)

(
echo "DFoX_Licensing_IDM"
echo "DFoX_SwUpdate_IDM"
echo "UltraEdit"
echo "UltraEdit"
)>%temp%\list.txt
FOR /F "usebackq tokens=1,2 delims=," %%i in ( %temp%\list.txt ) do (
netsh advfirewall firewall del rule name="%%i">nul 2>nul
)
del %temp%\list.txt


reg delete "HKCU\Software\IDM Computer Solutions" /f >NUL 2>NUL
reg delete "HKLM\SOFTWARE\IDM Computer Solutions" /f >NUL 2>NUL

reg delete "HKCR\Applications\uedit64.exe" /f >NUL 2>NUL
reg delete "HKCR\*\OpenWithList\uedit64.exe" /f >NUL 2>NUL
reg delete "HKCR\*\shellex\ContextMenuHandlers\UltraEdit" /f >NUL 2>NUL
reg delete "HKCR\CLSID\{b5eedee0-c06e-11cf-8c56-444553540000}" /f >NUL 2>NUL
reg delete "HKCR\Folder\shellex\ContextMenuHandlers\UltraEdit" /f >NUL 2>NUL
reg delete "HKCR\Wow6432Node\*\shellex\ContextMenuHandlers\UltraEdit" /f >NUL 2>NUL
reg delete "HKCR\Wow6432Node\Folder\shellex\ContextMenuHandlers\UltraEdit" /f >NUL 2>NUL
reg delete "HKCR\Wow6432Node\CLSID\{9b4c79e8-d476-48e1-ad17-2253d0531ebb}" /f >NUL 2>NUL
reg delete "HKCR\Wow6432Node\CLSID\{b5eedee0-c06e-11cf-8c56-444553540000}" /f >NUL 2>NUL
reg delete "HKCR\Wow6432Node\CLSID\{bf2611c5-cf99-4e19-be15-83e593688709}" /f >NUL 2>NUL
reg delete "HKCR\Wow6432Node\CLSID\{c0bf323d-faa8-4b16-bdc9-92c6acb76dc1}" /f >NUL 2>NUL

reg delete "HKCU\Software\Classes\Applications\uedit64.exe" /f >NUL 2>NUL
reg delete "HKCU\Software\Classes\*\OpenWithList\uedit64.exe" /f >NUL 2>NUL
reg delete "HKCU\Software\Classes\*\shellex\ContextMenuHandlers\UltraEdit" /f >NUL 2>NUL
reg delete "HKCU\Software\Classes\Folder\shellex\ContextMenuHandlers\UltraEdit" /f >NUL 2>NUL
reg delete "HKCU\Software\Classes\CLSID\{b5eedee0-c06e-11cf-8c56-444553540000}" /f >NUL 2>NUL
reg delete "HKCU\Software\Classes\Wow6432Node\*\shellex\ContextMenuHandlers\UltraEdit" /f >NUL 2>NUL
reg delete "HKCU\Software\Classes\Wow6432Node\Folder\shellex\ContextMenuHandlers\UltraEdit" /f >NUL 2>NUL
reg delete "HKCU\Software\Classes\Wow6432Node\CLSID\{9b4c79e8-d476-48e1-ad17-2253d0531ebb}" /f >NUL 2>NUL
reg delete "HKCU\Software\Classes\Wow6432Node\CLSID\{b5eedee0-c06e-11cf-8c56-444553540000}" /f >NUL 2>NUL
reg delete "HKCU\Software\Classes\Wow6432Node\CLSID\{bf2611c5-cf99-4e19-be15-83e593688709}" /f >NUL 2>NUL
reg delete "HKCU\Software\Classes\Wow6432Node\CLSID\{c0bf323d-faa8-4b16-bdc9-92c6acb76dc1}" /f >NUL 2>NUL

reg delete "HKCR\CertMng.Certificates" /f >NUL 2>NUL
reg delete "HKCR\CertMng.Certificates.1" /f >NUL 2>NUL
reg delete "HKCR\CertMng.CertLocation" /f >NUL 2>NUL
reg delete "HKCR\CertMng.CertLocation.1" /f >NUL 2>NUL
reg delete "HKCR\CertMng.CertStores" /f >NUL 2>NUL
reg delete "HKCR\CertMng.CertStores.1" /f >NUL 2>NUL
reg delete "HKCR\CLSID\{020993C2-5B29-41AB-B25D-28230DC2956A}" /f >NUL 2>NUL
reg delete "HKCR\CLSID\{0585BE8A-37E1-4132-B627-E647A8B8A4C3}" /f >NUL 2>NUL
reg delete "HKCR\CLSID\{2D0A5AF2-A15F-4A88-8093-61CA9A7B54F5}" /f >NUL 2>NUL
reg delete "HKCR\CLSID\{4D9AE59C-8651-4F93-8D07-74E3A4B412F8}" /f >NUL 2>NUL
reg delete "HKCR\CLSID\{86F65A80-59CA-44D3-A6BC-CF7E230D4EB6}" /f >NUL 2>NUL
reg delete "HKCR\CLSID\{90454B05-70C6-49C8-A225-BFC9DBC33F13}" /f >NUL 2>NUL
reg delete "HKCR\CLSID\{B7039D87-D648-4431-BA87-C3A04E6111DA}" /f >NUL 2>NUL
reg delete "HKCR\CLSID\{CDBE00F4-7AD4-4E6B-9825-58F5E1B5E265}" /f >NUL 2>NUL
reg delete "HKCR\CLSID\{E20C85D8-4AF9-43AA-99F5-A742D91E00DF}" /f >NUL 2>NUL
reg delete "HKCR\CLSID\{EC0628A7-7670-43C0-BCD0-717C54BF878B}" /f >NUL 2>NUL
reg delete "HKCR\CLSID\{FE5B9A96-B1A7-4E8B-9713-115F51088981}" /f >NUL 2>NUL
reg delete "HKCR\Interface\{2A4D62C3-1902-4702-8759-00107A596E67}" /f >NUL 2>NUL
reg delete "HKCR\Interface\{48605BBA-5267-482A-AFFB-DD218B0AD110}" /f >NUL 2>NUL
reg delete "HKCR\Interface\{5890091F-6364-46D1-B3AF-16B750142BD1}" /f >NUL 2>NUL
reg delete "HKCR\Interface\{89E6BC68-FB75-4144-A710-F2E158D2CE04}" /f >NUL 2>NUL
reg delete "HKCR\Interface\{98D91670-2BF1-441C-8997-650087E9F3AA}" /f >NUL 2>NUL
reg delete "HKCR\Interface\{9BB21FE3-65D5-4E00-8FB1-E08309151117}" /f >NUL 2>NUL
reg delete "HKCR\Interface\{9E038FDF-0B49-4491-9962-020ABAFAE39B}" /f >NUL 2>NUL
reg delete "HKCR\Interface\{A0368E43-0825-440C-BBBB-FC7189FD6626}" /f >NUL 2>NUL
reg delete "HKCR\Interface\{BDF42A38-F9C0-43D7-B5CF-EEC306EC3B88}" /f >NUL 2>NUL
reg delete "HKCR\Interface\{D5D1B6F1-EA5C-4854-93EB-340D3E0DF39B}" /f >NUL 2>NUL
reg delete "HKCR\Interface\{F1D62E9B-74B2-4278-8AD4-F2BBDBAB7E22}" /f >NUL 2>NUL
reg delete "HKCR\TypeLib\{37D86C16-D598-4810-8192-74E019F65D34}" /f >NUL 2>NUL
reg delete "HKCR\TypeLib\{76250C3E-F846-4991-B2C9-8AA5718B3526}" /f >NUL 2>NUL
reg delete "HKCR\TypeLib\{8DC3BA14-5321-48E7-A798-CAA6EC694A71}" /f >NUL 2>NUL
reg delete "HKCR\WeOnlyDo.Certificate" /f >NUL 2>NUL
reg delete "HKCR\WeOnlyDo.Certificate.1" /f >NUL 2>NUL
reg delete "HKCR\WeOnlyDo.DirItem" /f >NUL 2>NUL
reg delete "HKCR\WeOnlyDo.DirItem.1" /f >NUL 2>NUL
reg delete "HKCR\WeOnlyDo.DirItems" /f >NUL 2>NUL
reg delete "HKCR\WeOnlyDo.DirItems.1" /f >NUL 2>NUL
reg delete "HKCR\WeOnlyDo.TelnetDLXGUIPropPage" /f >NUL 2>NUL
reg delete "HKCR\WeOnlyDo.TelnetDLXGUIPropPage.1" /f >NUL 2>NUL
reg delete "HKCR\WeOnlyDo.TelnetDLXPropPageGeneral" /f >NUL 2>NUL
reg delete "HKCR\WeOnlyDo.TelnetDLXPropPageGeneral.1" /f >NUL 2>NUL
reg delete "HKCR\WeOnlyDo.TelnetDLXPropPageProxy" /f >NUL 2>NUL
reg delete "HKCR\WeOnlyDo.TelnetDLXPropPageProxy.1" /f >NUL 2>NUL
reg delete "HKCR\WeOnlyDo.wodFtpDLXCom" /f >NUL 2>NUL
reg delete "HKCR\WeOnlyDo.wodFtpDLXCom.1" /f >NUL 2>NUL
reg delete "HKCR\WeOnlyDo.wodTelnetDLX" /f >NUL 2>NUL
reg delete "HKCR\WeOnlyDo.wodTelnetDLX.1" /f >NUL 2>NUL
reg delete "HKCR\WOW6432Node\Interface\{2A4D62C3-1902-4702-8759-00107A596E67}" /f >NUL 2>NUL
reg delete "HKCR\WOW6432Node\Interface\{48605BBA-5267-482A-AFFB-DD218B0AD110}" /f >NUL 2>NUL
reg delete "HKCR\WOW6432Node\Interface\{5890091F-6364-46D1-B3AF-16B750142BD1}" /f >NUL 2>NUL
reg delete "HKCR\WOW6432Node\Interface\{89E6BC68-FB75-4144-A710-F2E158D2CE04}" /f >NUL 2>NUL
reg delete "HKCR\WOW6432Node\Interface\{98D91670-2BF1-441C-8997-650087E9F3AA}" /f >NUL 2>NUL
reg delete "HKCR\WOW6432Node\Interface\{9BB21FE3-65D5-4E00-8FB1-E08309151117}" /f >NUL 2>NUL
reg delete "HKCR\WOW6432Node\Interface\{9E038FDF-0B49-4491-9962-020ABAFAE39B}" /f >NUL 2>NUL
reg delete "HKCR\WOW6432Node\Interface\{A0368E43-0825-440C-BBBB-FC7189FD6626}" /f >NUL 2>NUL
reg delete "HKCR\WOW6432Node\Interface\{BDF42A38-F9C0-43D7-B5CF-EEC306EC3B88}" /f >NUL 2>NUL
reg delete "HKCR\WOW6432Node\Interface\{D5D1B6F1-EA5C-4854-93EB-340D3E0DF39B}" /f >NUL 2>NUL
reg delete "HKCR\WOW6432Node\Interface\{F1D62E9B-74B2-4278-8AD4-F2BBDBAB7E22}" /f >NUL 2>NUL
reg delete "HKCR\WOW6432Node\TypeLib\{37D86C16-D598-4810-8192-74E019F65D34}" /f >NUL 2>NUL
reg delete "HKCR\WOW6432Node\TypeLib\{76250C3E-F846-4991-B2C9-8AA5718B3526}" /f >NUL 2>NUL
reg delete "HKCR\WOW6432Node\TypeLib\{8DC3BA14-5321-48E7-A798-CAA6EC694A71}" /f >NUL 2>NUL

reg delete "HKLM\SOFTWARE\Classes\CertMng.Certificates" /f >NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\CertMng.Certificates.1" /f >NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\CertMng.CertLocation" /f >NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\CertMng.CertLocation.1" /f >NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\CertMng.CertStores" /f >NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\CertMng.CertStores.1" /f >NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\CLSID\{020993C2-5B29-41AB-B25D-28230DC2956A}" /f >NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\CLSID\{0585BE8A-37E1-4132-B627-E647A8B8A4C3}" /f >NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\CLSID\{2D0A5AF2-A15F-4A88-8093-61CA9A7B54F5}" /f >NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\CLSID\{4D9AE59C-8651-4F93-8D07-74E3A4B412F8}" /f >NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\CLSID\{86F65A80-59CA-44D3-A6BC-CF7E230D4EB6}" /f >NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\CLSID\{90454B05-70C6-49C8-A225-BFC9DBC33F13}" /f >NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\CLSID\{B7039D87-D648-4431-BA87-C3A04E6111DA}" /f >NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\CLSID\{CDBE00F4-7AD4-4E6B-9825-58F5E1B5E265}" /f >NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\CLSID\{E20C85D8-4AF9-43AA-99F5-A742D91E00DF}" /f >NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\CLSID\{EC0628A7-7670-43C0-BCD0-717C54BF878B}" /f >NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\CLSID\{FE5B9A96-B1A7-4E8B-9713-115F51088981}" /f >NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\Interface\{2A4D62C3-1902-4702-8759-00107A596E67}" /f >NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\Interface\{48605BBA-5267-482A-AFFB-DD218B0AD110}" /f >NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\Interface\{5890091F-6364-46D1-B3AF-16B750142BD1}" /f >NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\Interface\{89E6BC68-FB75-4144-A710-F2E158D2CE04}" /f >NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\Interface\{98D91670-2BF1-441C-8997-650087E9F3AA}" /f >NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\Interface\{9BB21FE3-65D5-4E00-8FB1-E08309151117}" /f >NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\Interface\{9E038FDF-0B49-4491-9962-020ABAFAE39B}" /f >NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\Interface\{A0368E43-0825-440C-BBBB-FC7189FD6626}" /f >NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\Interface\{BDF42A38-F9C0-43D7-B5CF-EEC306EC3B88}" /f >NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\Interface\{D5D1B6F1-EA5C-4854-93EB-340D3E0DF39B}" /f >NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\Interface\{F1D62E9B-74B2-4278-8AD4-F2BBDBAB7E22}" /f >NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\TypeLib\{37D86C16-D598-4810-8192-74E019F65D34}" /f >NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\TypeLib\{76250C3E-F846-4991-B2C9-8AA5718B3526}" /f >NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\TypeLib\{8DC3BA14-5321-48E7-A798-CAA6EC694A71}" /f >NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\WeOnlyDo.Certificate" /f >NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\WeOnlyDo.Certificate.1" /f >NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\WeOnlyDo.DirItem" /f >NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\WeOnlyDo.DirItem.1" /f >NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\WeOnlyDo.DirItems" /f >NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\WeOnlyDo.DirItems.1" /f >NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\WeOnlyDo.TelnetDLXGUIPropPage" /f >NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\WeOnlyDo.TelnetDLXGUIPropPage.1" /f >NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\WeOnlyDo.TelnetDLXPropPageGeneral" /f >NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\WeOnlyDo.TelnetDLXPropPageGeneral.1" /f >NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\WeOnlyDo.TelnetDLXPropPageProxy" /f >NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\WeOnlyDo.TelnetDLXPropPageProxy.1" /f >NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\WeOnlyDo.wodFtpDLXCom" /f >NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\WeOnlyDo.wodFtpDLXCom.1" /f >NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\WeOnlyDo.wodTelnetDLX" /f >NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\WeOnlyDo.wodTelnetDLX.1" /f >NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\Wow6432Node\Interface\{2A4D62C3-1902-4702-8759-00107A596E67}" /f >NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\Wow6432Node\Interface\{48605BBA-5267-482A-AFFB-DD218B0AD110}" /f >NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\Wow6432Node\Interface\{5890091F-6364-46D1-B3AF-16B750142BD1}" /f >NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\Wow6432Node\Interface\{89E6BC68-FB75-4144-A710-F2E158D2CE04}" /f >NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\Wow6432Node\Interface\{98D91670-2BF1-441C-8997-650087E9F3AA}" /f >NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\Wow6432Node\Interface\{9BB21FE3-65D5-4E00-8FB1-E08309151117}" /f >NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\Wow6432Node\Interface\{9E038FDF-0B49-4491-9962-020ABAFAE39B}" /f >NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\Wow6432Node\Interface\{A0368E43-0825-440C-BBBB-FC7189FD6626}" /f >NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\Wow6432Node\Interface\{BDF42A38-F9C0-43D7-B5CF-EEC306EC3B88}" /f >NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\Wow6432Node\Interface\{D5D1B6F1-EA5C-4854-93EB-340D3E0DF39B}" /f >NUL 2>NUL
reg delete "HKLM\SOFTWARE\Classes\Wow6432Node\Interface\{F1D62E9B-74B2-4278-8AD4-F2BBDBAB7E22}" /f >NUL 2>NUL
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\uedit64.exe" /f >NUL 2>NUL
reg delete "HKLM\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps\uedit64.exe" /f >NUL 2>NUL

Exit

上一篇:03bat-批处理编写


下一篇:Photoshop将外景美女图片调制出非常有个性的橙褐色