附件直接点下面的链接即可下载。在论坛的另一个帖子里。 http://bbs.wuyou.net/forum.php?m ... 8MTgxMHw0MzYxNTI%3D 这个是极简的,单文件绿色版,只保留了简单的下载功能,其它的什么浏览器集成啊,媒体下载啊之类的应该都不会有。 有兴趣的可以看一下它的绿化安装的批处理。 绿色版, 会有, 都不
@ECHO OFF&(PUSHD "%~DP0")&(REG QUERY "HKU\S-1-5-19">NUL 2>&1)||( powershell -Command "Start-Process '%~sdpnx0' -Verb RunAs"&&EXIT) set pathidm=%cd% set xfile=%pathidm%\defexclist.txt copy "%xfile%" "%pathidm%\MediumILStart.exe" >nul 2>nul copy "%xfile%" "%pathidm%\downlWithIDM.dll" >nul 2>nul copy "%xfile%" "%pathidm%\downlWithIDM64.dll" >nul 2>nul copy "%xfile%" "%pathidm%\libssl.dll" >nul 2>nul copy "%xfile%" "%pathidm%\idmantypeinfo.tlb" >nul 2>nul copy "%xfile%" "%pathidm%\idmbrbtn.dll" >nul 2>nul copy "%xfile%" "%pathidm%\idmbrbtn64.dll" >nul 2>nul copy "%xfile%" "%pathidm%\idmBroker.exe" >nul 2>nul copy "%xfile%" "%pathidm%\idmcchandler2.dll" >nul 2>nul copy "%xfile%" "%pathidm%\idmcchandler2_64.dll" >nul 2>nul copy "%xfile%" "%pathidm%\idmcchandler7.dll" >nul 2>nul copy "%xfile%" "%pathidm%\idmcchandler7_64.dll" >nul 2>nul copy "%xfile%" "%pathidm%\IDMEdgeExt.crx" >nul 2>nul copy "%xfile%" "%pathidm%\idmfc.dat" >nul 2>nul copy "%xfile%" "%pathidm%\idmfsa.dll" >nul 2>nul copy "%xfile%" "%pathidm%\IDMFType.dat" >nul 2>nul copy "%xfile%" "%pathidm%\idmftype.dll" >nul 2>nul copy "%xfile%" "%pathidm%\IDMFType64.dll" >nul 2>nul copy "%xfile%" "%pathidm%\IDMGCExt.crx" >nul 2>nul copy "%xfile%" "%pathidm%\IDMGCExt59.crx" >nul 2>nul copy "%xfile%" "%pathidm%\IDMGetAll.dll" >nul 2>nul copy "%xfile%" "%pathidm%\IDMGetAll64.dll" >nul 2>nul copy "%xfile%" "%pathidm%\IDMGrHlp.exe" >nul 2>nul copy "%xfile%" "%pathidm%\IDMIECC.dll" >nul 2>nul copy "%xfile%" "%pathidm%\IDMIECC64.dll" >nul 2>nul copy "%xfile%" "%pathidm%\idmindex.dll" >nul 2>nul copy "%xfile%" "%pathidm%\IDMIntegrator64.exe" >nul 2>nul copy "%xfile%" "%pathidm%\idmmkb.dll" >nul 2>nul copy "%xfile%" "%pathidm%\IDMMsgHost.exe" >nul 2>nul copy "%xfile%" "%pathidm%\IDMMsgHost.jso"n >nul 2>nul copy "%xfile%" "%pathidm%\IDMMsgHostMoz.json" >nul 2>nul copy "%xfile%" "%pathidm%\idmmzcc.xpi" >nul 2>nul copy "%xfile%" "%pathidm%\idmmzcc2.xpi" >nul 2>nul copy "%xfile%" "%pathidm%\idmmzcc3.xpi" >nul 2>nul copy "%xfile%" "%pathidm%\idmmzcc7.dll" >nul 2>nul copy "%xfile%" "%pathidm%\idmmzcc7_64.dll" >nul 2>nul copy "%xfile%" "%pathidm%\IDMNetMon.dll" >nul 2>nul copy "%xfile%" "%pathidm%\IDMNetMon64.dll" >nul 2>nul copy "%xfile%" "%pathidm%\IDMOpExt.nex" >nul 2>nul copy "%xfile%" "%pathidm%\IDMShellExt.dll" >nul 2>nul copy "%xfile%" "%pathidm%\IDMShellExt64.dll" >nul 2>nul copy "%xfile%" "%pathidm%\idmtdi.cat" >nul 2>nul copy "%xfile%" "%pathidm%\idmtdi.inf" >nul 2>nul copy "%xfile%" "%pathidm%\idmtdi32.sys" >nul 2>nul copy "%xfile%" "%pathidm%\idmtdi64.sys" >nul 2>nul copy "%xfile%" "%pathidm%\idmvconv.dll" >nul 2>nul copy "%xfile%" "%pathidm%\IDMVMPrs.dll" >nul 2>nul copy "%xfile%" "%pathidm%\IDMVMPrs64.dll" >nul 2>nul copy "%xfile%" "%pathidm%\libcrypto.dll" >nul 2>nul copy "%xfile%" "%pathidm%\idmwfp.cat" >nul 2>nul copy "%xfile%" "%pathidm%\idmwfp.inf" >nul 2>nul copy "%xfile%" "%pathidm%\idmwfp32.sys" >nul 2>nul copy "%xfile%" "%pathidm%\idmwfp64.sys" >nul 2>nul copy "%xfile%" "%pathidm%\IEExt.htm" >nul 2>nul copy "%xfile%" "%pathidm%\IEGetAll.htm">nul 2>nul copy "%xfile%" "%pathidm%\IEGetVL.htm" >nul 2>nul copy "%xfile%" "%pathidm%\IEGetVL2.htm" >nul 2>nul copy "%xfile%" "%pathidm%\IEMonitor.exe" >nul 2>nul copy "%xfile%" "%pathidm%\Uninstall.exe" >nul 2>nul ::清除注册信息及开机启动项 reg delete "HKLM\Software\DownloadManager" /f >NUL 2>NUL reg delete "HKLM\Software\Download Manager" /f >NUL 2>NUL reg delete "HKLM\Software\DownloadManager" /f /reg:32 >NUL 2>NUL reg delete "HKLM\Software\Download Manager" /f /reg:32 >NUL 2>NUL reg delete "HKLM\SOFTWARE\Internet Download Manager" /f >NUL 2>NUL reg delete "HKLM\SOFTWARE\Internet Download Manager" /f /reg:32 >NUL 2>NUL reg delete "HKU\.DEFAULT\Software\DownloadManager" /f >NUL 2>NUL reg delete "HKU\.DEFAULT\Software\Download Manager" /f >NUL 2>NUL reg delete "HKU\.DEFAULT\Software\DownloadManager" /f /reg:32 >NUL 2>NUL reg delete "HKU\.DEFAULT\Software\Download Manager" /f /reg:32 >NUL 2>NUL reg delete "HKCU\Software\DownloadManager" /f /v "MData" >NUL 2>NUL reg delete "HKCU\Software\DownloadManager" /f /v "LName" >NUL 2>NUL reg delete "HKCU\Software\DownloadManager" /f /v "FName" >NUL 2>NUL reg delete "HKCU\Software\DownloadManager" /f /v "Email" >NUL 2>NUL reg delete "HKCU\Software\DownloadManager" /f /v "Serial" >NUL 2>NUL reg delete "HKCU\Software\DownloadManager" /f /v "scansk" >NUL 2>NUL reg delete "HKCU\Software\DownloadManager" /f /v "tvfrdt" >NUL 2>NUL reg delete "HKCU\Software\DownloadManager" /f /v "radxcnt" >NUL 2>NUL reg delete "HKCU\Software\DownloadManager" /f /v "LstCheck" >NUL 2>NUL reg delete "HKCU\Software\DownloadManager" /f /v "ptrk_scdt" >NUL 2>NUL reg delete "HKCU\Software\DownloadManager" /f /v "LastCheckQU" >NUL 2>NUL reg delete "HKCU\Software\DownloadManager" /f /v "CheckUpdtVM" >NUL 2>NUL for /f "delims=" %%a in ('wmic userAccount where "Name='%userName%'" get SID /value') do call set "%%a" >NUL reg delete "HKU\%SID%\Software\DownloadManager" /f /v "MData" >NUL 2>NUL reg delete "HKU\%SID%\Software\DownloadManager" /f /v "LName" >NUL 2>NUL reg delete "HKU\%SID%\Software\DownloadManager" /f /v "FName" >NUL 2>NUL reg delete "HKU\%SID%\Software\DownloadManager" /f /v "Email" >NUL 2>NUL reg delete "HKU\%SID%\Software\DownloadManager" /f /v "Serial" >NUL 2>NUL reg delete "HKU\%SID%\Software\DownloadManager" /f /v "scansk" >NUL 2>NUL reg delete "HKU\%SID%\Software\DownloadManager" /f /v "tvfrdt" >NUL 2>NUL reg delete "HKU\%SID%\Software\DownloadManager" /f /v "radxcnt" >NUL 2>NUL reg delete "HKU\%SID%\Software\DownloadManager" /f /v "LstCheck" >NUL 2>NUL reg delete "HKU\%SID%\Software\DownloadManager" /f /v "ptrk_scdt" >NUL 2>NUL reg delete "HKU\%SID%\Software\DownloadManager" /f /v "LastCheckQU" >NUL 2>NUL reg delete "HKU\%SID%\Software\DownloadManager" /f /v "CheckUpdtVM" >NUL 2>NUL reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Run" /f /v "IDMan" >NUL 2>NUL reg delete "HKLM\Software\Microsoft\Windows\CurrentVersion\Run" /f /v "IDMan" >NUL 2>NUL reg delete "HKLM\Software\Microsoft\Windows\CurrentVersion\Run" /f /v "IDMan" /reg:32 >NUL 2>NUL reg delete "HKEY_CURRENT_USER\Software\Classes\Wow6432Node\CLSID\{7B8E9164-324D-4A2E-A46D-0165FB2000EC}" /f >Nul 2>Nul reg delete "HKEY_CURRENT_USER\Software\Classes\Wow6432Node\CLSID\{5ED60779-4DE2-4E07-B862-974CA4FF2E9C}" /f >Nul 2>Nul reg delete "HKEY_CURRENT_USER\Software\Classes\Wow6432Node\CLSID\{07999AC3-058B-40BF-984F-69EB1E554CA7}" /f >Nul 2>Nul reg delete "HKEY_CURRENT_USER\Software\Classes\Wow6432Node\CLSID\{6DDF00DB-1234-46EC-8356-27E7B2051192}" /f >Nul 2>Nul reg delete "HKEY_CURRENT_USER\Software\Classes\Wow6432Node\CLSID\{D5B91409-A8CA-4973-9A0B-59F713D25671}" /f >Nul 2>Nul reg delete "HKEY_CURRENT_USER\Software\Classes\Wow6432Node\CLSID\{5312C54E-A385-46B7-B200-ABAF81B03935}" /f >Nul 2>Nul reg delete "HKEY_CURRENT_USER\Software\Classes\Wow6432Node\CLSID\{436D67E1-2FB3-4A6C-B3CD-FF8A41B0664D}" /f >Nul 2>Nul reg delete "HKEY_CURRENT_USER\Software\Classes\Wow6432Node\CLSID\{9C9D53D4-A978-43FC-93E2-1C21B529E6D7}" /f >Nul 2>Nul reg delete "HKEY_CURRENT_USER\Software\Classes\Wow6432Node\CLSID\{E8CF4E59-B7A3-41F2-86C7-82B03334F22A}" /f >Nul 2>Nul reg delete "HKEY_CURRENT_USER\Software\Classes\Wow6432Node\CLSID\{E6871B76-C3C8-44DD-B947-ABFFE144860D}" /f >Nul 2>Nul reg delete "HKEY_CURRENT_USER\Software\Classes\Wow6432Node\CLSID\{84797876-C678-1780-A556-0CD06786780F}" /f >Nul 2>Nul reg delete "HKEY_CURRENT_USER\Software\Classes\Wow6432Node\CLSID\{79873CC5-3951-43ED-BDF9-D8759474B6FD}" /f >Nul 2>Nul reg delete "HKEY_CURRENT_USER\Software\Classes\CLSID\{7B8E9164-324D-4A2E-A46D-0165FB2000EC}" /f >Nul 2>Nul reg delete "HKEY_CURRENT_USER\Software\Classes\CLSID\{5ED60779-4DE2-4E07-B862-974CA4FF2E9C}" /f >Nul 2>Nul reg delete "HKEY_CURRENT_USER\Software\Classes\CLSID\{07999AC3-058B-40BF-984F-69EB1E554CA7}" /f >Nul 2>Nul reg delete "HKEY_CURRENT_USER\Software\Classes\CLSID\{6DDF00DB-1234-46EC-8356-27E7B2051192}" /f >Nul 2>Nul reg delete "HKEY_CURRENT_USER\Software\Classes\CLSID\{D5B91409-A8CA-4973-9A0B-59F713D25671}" /f >Nul 2>Nul reg delete "HKEY_CURRENT_USER\Software\Classes\CLSID\{5312C54E-A385-46B7-B200-ABAF81B03935}" /f >Nul 2>Nul reg delete "HKEY_CURRENT_USER\Software\Classes\CLSID\{436D67E1-2FB3-4A6C-B3CD-FF8A41B0664D}" /f >Nul 2>Nul reg delete "HKEY_CURRENT_USER\Software\Classes\CLSID\{9C9D53D4-A978-43FC-93E2-1C21B529E6D7}" /f >Nul 2>Nul reg delete "HKEY_CURRENT_USER\Software\Classes\CLSID\{E8CF4E59-B7A3-41F2-86C7-82B03334F22A}" /f >Nul 2>Nul reg delete "HKEY_CURRENT_USER\Software\Classes\CLSID\{E6871B76-C3C8-44DD-B947-ABFFE144860D}" /f >Nul 2>Nul reg delete "HKEY_CURRENT_USER\Software\Classes\CLSID\{84797876-C678-1780-A556-0CD06786780F}" /f >Nul 2>Nul reg delete "HKEY_CURRENT_USER\Software\Classes\CLSID\{79873CC5-3951-43ED-BDF9-D8759474B6FD}" /f >Nul 2>Nul reg delete "HKEY_LOCAL_MACHINE\Software\Classes\Wow6432Node\CLSID\{7B8E9164-324D-4A2E-A46D-0165FB2000EC}" /f >Nul 2>Nul reg delete "HKEY_LOCAL_MACHINE\Software\Classes\Wow6432Node\CLSID\{5ED60779-4DE2-4E07-B862-974CA4FF2E9C}" /f >Nul 2>Nul reg delete "HKEY_LOCAL_MACHINE\Software\Classes\Wow6432Node\CLSID\{07999AC3-058B-40BF-984F-69EB1E554CA7}" /f >Nul 2>Nul reg delete "HKEY_LOCAL_MACHINE\Software\Classes\Wow6432Node\CLSID\{6DDF00DB-1234-46EC-8356-27E7B2051192}" /f >Nul 2>Nul reg delete "HKEY_LOCAL_MACHINE\Software\Classes\Wow6432Node\CLSID\{D5B91409-A8CA-4973-9A0B-59F713D25671}" /f >Nul 2>Nul reg delete "HKEY_LOCAL_MACHINE\Software\Classes\Wow6432Node\CLSID\{5312C54E-A385-46B7-B200-ABAF81B03935}" /f >Nul 2>Nul reg delete "HKEY_LOCAL_MACHINE\Software\Classes\Wow6432Node\CLSID\{436D67E1-2FB3-4A6C-B3CD-FF8A41B0664D}" /f >Nul 2>Nul reg delete "HKEY_LOCAL_MACHINE\Software\Classes\Wow6432Node\CLSID\{9C9D53D4-A978-43FC-93E2-1C21B529E6D7}" /f >Nul 2>Nul reg delete "HKEY_LOCAL_MACHINE\Software\Classes\Wow6432Node\CLSID\{E8CF4E59-B7A3-41F2-86C7-82B03334F22A}" /f >Nul 2>Nul reg delete "HKEY_LOCAL_MACHINE\Software\Classes\Wow6432Node\CLSID\{E6871B76-C3C8-44DD-B947-ABFFE144860D}" /f >Nul 2>Nul reg delete "HKEY_LOCAL_MACHINE\Software\Classes\Wow6432Node\CLSID\{84797876-C678-1780-A556-0CD06786780F}" /f >Nul 2>Nul reg delete "HKEY_LOCAL_MACHINE\Software\Classes\Wow6432Node\CLSID\{79873CC5-3951-43ED-BDF9-D8759474B6FD}" /f >Nul 2>Nul reg delete "HKEY_LOCAL_MACHINE\Software\Classes\CLSID\{7B8E9164-324D-4A2E-A46D-0165FB2000EC}" /f >Nul 2>Nul reg delete "HKEY_LOCAL_MACHINE\Software\Classes\CLSID\{5ED60779-4DE2-4E07-B862-974CA4FF2E9C}" /f >Nul 2>Nul reg delete "HKEY_LOCAL_MACHINE\Software\Classes\CLSID\{07999AC3-058B-40BF-984F-69EB1E554CA7}" /f >Nul 2>Nul reg delete "HKEY_LOCAL_MACHINE\Software\Classes\CLSID\{6DDF00DB-1234-46EC-8356-27E7B2051192}" /f >Nul 2>Nul reg delete "HKEY_LOCAL_MACHINE\Software\Classes\CLSID\{D5B91409-A8CA-4973-9A0B-59F713D25671}" /f >Nul 2>Nul reg delete "HKEY_LOCAL_MACHINE\Software\Classes\CLSID\{5312C54E-A385-46B7-B200-ABAF81B03935}" /f >Nul 2>Nul reg delete "HKEY_LOCAL_MACHINE\Software\Classes\CLSID\{436D67E1-2FB3-4A6C-B3CD-FF8A41B0664D}" /f >Nul 2>Nul reg delete "HKEY_LOCAL_MACHINE\Software\Classes\CLSID\{9C9D53D4-A978-43FC-93E2-1C21B529E6D7}" /f >Nul 2>Nul reg delete "HKEY_LOCAL_MACHINE\Software\Classes\CLSID\{E8CF4E59-B7A3-41F2-86C7-82B03334F22A}" /f >Nul 2>Nul reg delete "HKEY_LOCAL_MACHINE\Software\Classes\CLSID\{E6871B76-C3C8-44DD-B947-ABFFE144860D}" /f >Nul 2>Nul reg delete "HKEY_LOCAL_MACHINE\Software\Classes\CLSID\{84797876-C678-1780-A556-0CD06786780F}" /f >Nul 2>Nul reg delete "HKEY_LOCAL_MACHINE\Software\Classes\CLSID\{79873CC5-3951-43ED-BDF9-D8759474B6FD}" /f >Nul 2>Nul reg delete "HKEY_USERS\.DEFAULT\Software\Classes\CLSID\{7B8E9164-324D-4A2E-A46D-0165FB2000EC}" /f >Nul 2>Nul reg delete "HKEY_USERS\.DEFAULT\Software\Classes\CLSID\{6DDF00DB-1234-46EC-8356-27E7B2051192}" /f >Nul 2>Nul reg delete "HKEY_USERS\.DEFAULT\Software\Classes\CLSID\{D5B91409-A8CA-4973-9A0B-59F713D25671}" /f >Nul 2>Nul reg delete "HKEY_USERS\.DEFAULT\Software\Classes\CLSID\{5ED60779-4DE2-4E07-B862-974CA4FF2E9C}" /f >Nul 2>Nul reg delete "HKEY_USERS\.DEFAULT\Software\Classes\CLSID\{07999AC3-058B-40BF-984F-69EB1E554CA7}" /f >Nul 2>Nul reg delete "HKEY_USERS\.DEFAULT\Software\Classes\CLSID\{E8CF4E59-B7A3-41F2-86C7-82B03334F22A}" /f >Nul 2>Nul reg delete "HKEY_USERS\.DEFAULT\Software\Classes\CLSID\{9C9D53D4-A978-43FC-93E2-1C21B529E6D7}" /f >Nul 2>Nul reg delete "HKEY_USERS\.DEFAULT\Software\Classes\CLSID\{79873CC5-3951-43ED-BDF9-D8759474B6FD}" /f >Nul 2>Nul reg delete "HKEY_USERS\.DEFAULT\Software\Classes\CLSID\{E6871B76-C3C8-44DD-B947-ABFFE144860D}" /f >Nul 2>Nul reg delete "HKEY_USERS\.DEFAULT\Software\Classes\Wow6432Node\CLSID\{7B8E9164-324D-4A2E-A46D-0165FB2000EC}" /f >Nul 2>Nul reg delete "HKEY_USERS\.DEFAULT\Software\Classes\Wow6432Node\CLSID\{6DDF00DB-1234-46EC-8356-27E7B2051192}" /f >Nul 2>Nul reg delete "HKEY_USERS\.DEFAULT\Software\Classes\Wow6432Node\CLSID\{D5B91409-A8CA-4973-9A0B-59F713D25671}" /f >Nul 2>Nul reg delete "HKEY_USERS\.DEFAULT\Software\Classes\Wow6432Node\CLSID\{5ED60779-4DE2-4E07-B862-974CA4FF2E9C}" /f >Nul 2>Nul reg delete "HKEY_USERS\.DEFAULT\Software\Classes\Wow6432Node\CLSID\{07999AC3-058B-40BF-984F-69EB1E554CA7}" /f >Nul 2>Nul reg delete "HKEY_USERS\.DEFAULT\Software\Classes\Wow6432Node\CLSID\{E8CF4E59-B7A3-41F2-86C7-82B03334F22A}" /f >Nul 2>Nul reg delete "HKEY_USERS\.DEFAULT\Software\Classes\Wow6432Node\CLSID\{9C9D53D4-A978-43FC-93E2-1C21B529E6D7}" /f >Nul 2>Nul reg delete "HKEY_USERS\.DEFAULT\Software\Classes\Wow6432Node\CLSID\{79873CC5-3951-43ED-BDF9-D8759474B6FD}" /f >Nul 2>Nul reg delete "HKEY_USERS\.DEFAULT\Software\Classes\Wow6432Node\CLSID\{E6871B76-C3C8-44DD-B947-ABFFE144860D}" /f >Nul 2>Nul reg delete "HKEY_USERS\.DEFAULT\SOFTWARE\WOW6432Node\Classes\CLSID\{7B8E9164-324D-4A2E-A46D-0165FB2000EC}" /f >Nul 2>Nul reg delete "HKEY_USERS\.DEFAULT\SOFTWARE\WOW6432Node\Classes\CLSID\{6DDF00DB-1234-46EC-8356-27E7B2051192}" /f >Nul 2>Nul reg delete "HKEY_USERS\.DEFAULT\SOFTWARE\WOW6432Node\Classes\CLSID\{D5B91409-A8CA-4973-9A0B-59F713D25671}" /f >Nul 2>Nul reg delete "HKEY_USERS\.DEFAULT\SOFTWARE\WOW6432Node\Classes\CLSID\{5ED60779-4DE2-4E07-B862-974CA4FF2E9C}" /f >Nul 2>Nul reg delete "HKEY_USERS\.DEFAULT\SOFTWARE\WOW6432Node\Classes\CLSID\{07999AC3-058B-40BF-984F-69EB1E554CA7}" /f >Nul 2>Nul reg delete "HKEY_USERS\.DEFAULT\SOFTWARE\WOW6432Node\Classes\CLSID\{E8CF4E59-B7A3-41F2-86C7-82B03334F22A}" /f >Nul 2>Nul reg delete "HKEY_USERS\.DEFAULT\SOFTWARE\WOW6432Node\Classes\CLSID\{9C9D53D4-A978-43FC-93E2-1C21B529E6D7}" /f >Nul 2>Nul reg delete "HKEY_USERS\.DEFAULT\SOFTWARE\WOW6432Node\Classes\CLSID\{79873CC5-3951-43ED-BDF9-D8759474B6FD}" /f >Nul 2>Nul reg delete "HKEY_USERS\.DEFAULT\SOFTWARE\WOW6432Node\Classes\CLSID\{E6871B76-C3C8-44DD-B947-ABFFE144860D}" /f >Nul 2>Nul ::清除假冒注册信息、软件选项配置、开机启动项等; reg delete "HKLM\Software\DownloadManager" /f >nul 2>nul reg delete "HKLM\Software\Download Manager" /f >nul 2>nul reg delete "HKLM\SOFTWARE\Internet Download Manager" /f >nul 2>nul reg delete "HKLM\Software\Wow6432Node\DownloadManager" /f >nul 2>nul reg delete "HKLM\Software\Wow6432Node\Download Manager" /f >nul 2>nul reg delete "HKLM\SOFTWARE\Wow6432Node\Internet Download Manager" /f >nul 2>nul reg delete "HKCU\Software\DownloadManager" /v "LName" /f >nul 2>nul reg delete "HKCU\Software\DownloadManager" /v "FName" /f >nul 2>nul reg delete "HKCU\Software\DownloadManager" /v "Email" /f >nul 2>nul reg delete "HKCU\Software\DownloadManager" /v "Serial" /f >nul 2>nul reg delete "HKCU\Software\DownloadManager" /v "scansk" /f >nul 2>nul reg delete "HKCU\Software\DownloadManager" /v "MData" /f >nul 2>nul reg delete "HKCU\Software\DownloadManager" /v "tvfrdt" /f >nul 2>nul reg delete "HKCU\Software\DownloadManager" /v "CheckUpdtVM" /f >nul 2>nul reg delete "HKU\.DEFAULT\Software\DownloadManager" /f >nul 2>nul reg delete "HKU\.DEFAULT\Software\Download Manager" /f >nul 2>nul reg delete "HKU\.DEFAULT\Software\Wow6432Node\DownloadManager" /f >nul 2>nul reg delete "HKU\.DEFAULT\Software\Wow6432Node\Download Manager" /f >nul 2>nul reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Run" /f /v "IDMan" >nul 2>nul reg delete "HKLM\Software\Microsoft\Windows\CurrentVersion\Run" /f /v "IDMan" >nul 2>nul reg delete "HKLM\Software\Microsoft\Windows\Wow6432Node\CurrentVersion\Run" /f /v "IDMan" >nul 2>nul ::预置软件序列号依赖标识 ::调优选项:启用简体中文,启用额外主题,取消开机启动,取消启动每日提示; if defined ProgramW6432 (set "var=Wow6432Node\") reg add "HKLM\SOFTWARE\%var%Internet Download Manager" /f /v FName /d "Lifetime" >nul 2>nul reg add "HKLM\SOFTWARE\%var%Internet Download Manager" /f /v LName /d "Registered" >nul 2>nul reg add "HKLM\SOFTWARE\%var%Internet Download Manager" /f /v Email /d "[email protected]" >nul 2>nul reg add "HKLM\SOFTWARE\%var%Internet Download Manager" /f /v Serial /d "9QNBL-L2641-Y7WVE-QEN3I" >nul 2>nul reg add "HKCU\Software\DownloadManager" /f /v "CheckUpdtVM" /t REG_SZ /d "0" >nul 2>nul reg add "HKCU\Software\DownloadManager" /f /v "idmvers" /t REG_SZ /d "v6.41.15 Full" >nul 2>nul reg add "HKCU\Software\DownloadManager" /f /v "LanguageID" /t REG_DWORD /d 2052 >nul 2>nul reg add "HKCU\Software\DownloadManager" /f /v "LaunchOnStart" /t REG_DWORD /d 0 >nul 2>nul reg add "HKCU\Software\DownloadManager" /f /v "TipStartUp" /t REG_DWORD /d 1 >nul 2>nul reg add "HKCU\Software\DownloadManager" /f /v "Temppath" /t REG_SZ /d "%Temp%" >nul 2>nul reg add "HKCU\SOFTWARE\DownloadManager\FoldersTree" /f /v "Visiblity" /t REG_DWORD /d "0" >NUL 2>NUL reg add "HKCU\Software\DownloadManager" /f /v "LargeButtons" /t REG_DWORD /d 0 >nul 2>nul reg add "HKCU\Software\DownloadManager" /f /v "MaxConnectionsNumber" /t REG_DWORD /d "24" >NUL 2>NUL reg add "HKCU\Software\DownloadManager" /f /v "nProxyMode" /t REG_DWORD /d "2" >NUL 2>NUL reg add "HKCU\SOFTWARE\DownloadManager" /f /v "Extensions" /d "3GP 7Z AAC ACE AIF ARJ ASF AVI BIN BZ2 EXE GZ GZIP IMG ISO LZH M4A M4V MKV MOV MP3 MP4 MPA MPE MPEG MPG MSI MSU OGG OGV PDF PLJ PPS PPT QT R0* R1* RA RAR RM RMVB SEA SIT SITX TAR TIF TIFF WAV WMA WMV Z ZIP ESD WIM MSP APK APKS APKM CAB MSP" >NUL 2>NUL ::删除安装过程残留文件 rd/s/q "%AppData%\IDM" >nul 2>nul rd /s/q "%Temp%\IDM_Setup_Temp" >nul 2>nul del/f/q "%Temp%\*~DF*.TMP" >nul 2>nul set route=%pathidm:\=\\% "%pathidm%\FR.exe "%pathidm%\IDM.REG -fic:"C:\\Program Files\\idm" -t:"%route%" >nul 2>nul start /wait REGEDIT /S "%pathidm%\IDM.REG >nul 2>nul ::创建桌面快捷方式 如果是解压到某个目录做绿色软件,则需要,如果直接做成单文件的,用完就退出,就不需要桌面快捷方式了。 :: mshta VBScript:Execute("Set a=CreateObject(""WScript.Shell""):Set b=a.CreateShortcut(a.SpecialFolders(""Desktop"") & ""\Internet Download Manager.lnk""):b.Targetpath=""%~sdp0IDMan.exe"":b.WorkingDirectory=""%~sdp0"":b.Save:close") popd EXIT
这是另一种版本的批处理,大同小异。因为它这个只是绿化,不是单文件的,它保留了所有的文件,估计功能也做到了和原版一样……它在最后多了调用官方参数静默安装,多了两条语句。而单文件版里其它文件都是0字节的假文件(目的是让程序不报缺少XX文件的提示),就无法用这些了。 ==================== @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 "IDM*" /T >NUL 2>NUL taskkill /F /IM "IDMGrHlp.exe" >NUL 2>NUL taskkill /F /IM "IEMonitor.exe" >NUL 2>NUL taskkill /F /IM "IDMMsgHost.exe" >NUL 2>NUL taskkill /F /IM "MediumILStart.exe" >NUL 2>NUL taskkill /F /IM "MediumILStart.exe" >NUL 2>NUL taskkill /F /IM "IDMIntegrator64.exe" >NUL 2>NUL ::清除注册信息及开机启动项 ECHO.&ECHO 请稍等片刻,正在安装 reg delete "HKLM\Software\DownloadManager" /f >NUL 2>NUL reg delete "HKLM\Software\Download Manager" /f >NUL 2>NUL reg delete "HKLM\Software\DownloadManager" /f /reg:32 >NUL 2>NUL reg delete "HKLM\Software\Download Manager" /f /reg:32 >NUL 2>NUL reg delete "HKLM\SOFTWARE\Internet Download Manager" /f >NUL 2>NUL reg delete "HKLM\SOFTWARE\Internet Download Manager" /f /reg:32 >NUL 2>NUL reg delete "HKU\.DEFAULT\Software\DownloadManager" /f >NUL 2>NUL reg delete "HKU\.DEFAULT\Software\Download Manager" /f >NUL 2>NUL reg delete "HKU\.DEFAULT\Software\DownloadManager" /f /reg:32 >NUL 2>NUL reg delete "HKU\.DEFAULT\Software\Download Manager" /f /reg:32 >NUL 2>NUL reg delete "HKCU\Software\DownloadManager" /f /v "MData" >NUL 2>NUL reg delete "HKCU\Software\DownloadManager" /f /v "LName" >NUL 2>NUL reg delete "HKCU\Software\DownloadManager" /f /v "FName" >NUL 2>NUL reg delete "HKCU\Software\DownloadManager" /f /v "Email" >NUL 2>NUL reg delete "HKCU\Software\DownloadManager" /f /v "Serial" >NUL 2>NUL reg delete "HKCU\Software\DownloadManager" /f /v "scansk" >NUL 2>NUL reg delete "HKCU\Software\DownloadManager" /f /v "tvfrdt" >NUL 2>NUL reg delete "HKCU\Software\DownloadManager" /f /v "radxcnt" >NUL 2>NUL reg delete "HKCU\Software\DownloadManager" /f /v "LstCheck" >NUL 2>NUL reg delete "HKCU\Software\DownloadManager" /f /v "ptrk_scdt" >NUL 2>NUL reg delete "HKCU\Software\DownloadManager" /f /v "LastCheckQU" >NUL 2>NUL reg delete "HKCU\Software\DownloadManager" /f /v "CheckUpdtVM" >NUL 2>NUL for /f "delims=" %%a in ('wmic userAccount where "Name='%userName%'" get SID /value') do call set "%%a" >NUL reg delete "HKU\%SID%\Software\DownloadManager" /f /v "MData" >NUL 2>NUL reg delete "HKU\%SID%\Software\DownloadManager" /f /v "LName" >NUL 2>NUL reg delete "HKU\%SID%\Software\DownloadManager" /f /v "FName" >NUL 2>NUL reg delete "HKU\%SID%\Software\DownloadManager" /f /v "Email" >NUL 2>NUL reg delete "HKU\%SID%\Software\DownloadManager" /f /v "Serial" >NUL 2>NUL reg delete "HKU\%SID%\Software\DownloadManager" /f /v "scansk" >NUL 2>NUL reg delete "HKU\%SID%\Software\DownloadManager" /f /v "tvfrdt" >NUL 2>NUL reg delete "HKU\%SID%\Software\DownloadManager" /f /v "radxcnt" >NUL 2>NUL reg delete "HKU\%SID%\Software\DownloadManager" /f /v "LstCheck" >NUL 2>NUL reg delete "HKU\%SID%\Software\DownloadManager" /f /v "ptrk_scdt" >NUL 2>NUL reg delete "HKU\%SID%\Software\DownloadManager" /f /v "LastCheckQU" >NUL 2>NUL reg delete "HKU\%SID%\Software\DownloadManager" /f /v "CheckUpdtVM" >NUL 2>NUL reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Run" /f /v "IDMan" >NUL 2>NUL reg delete "HKLM\Software\Microsoft\Windows\CurrentVersion\Run" /f /v "IDMan" >NUL 2>NUL reg delete "HKLM\Software\Microsoft\Windows\CurrentVersion\Run" /f /v "IDMan" /reg:32 >NUL 2>NUL reg delete "HKEY_CURRENT_USER\Software\Classes\Wow6432Node\CLSID\{7B8E9164-324D-4A2E-A46D-0165FB2000EC}" /f >Nul 2>Nul reg delete "HKEY_CURRENT_USER\Software\Classes\Wow6432Node\CLSID\{5ED60779-4DE2-4E07-B862-974CA4FF2E9C}" /f >Nul 2>Nul reg delete "HKEY_CURRENT_USER\Software\Classes\Wow6432Node\CLSID\{07999AC3-058B-40BF-984F-69EB1E554CA7}" /f >Nul 2>Nul reg delete "HKEY_CURRENT_USER\Software\Classes\Wow6432Node\CLSID\{6DDF00DB-1234-46EC-8356-27E7B2051192}" /f >Nul 2>Nul reg delete "HKEY_CURRENT_USER\Software\Classes\Wow6432Node\CLSID\{D5B91409-A8CA-4973-9A0B-59F713D25671}" /f >Nul 2>Nul reg delete "HKEY_CURRENT_USER\Software\Classes\Wow6432Node\CLSID\{5312C54E-A385-46B7-B200-ABAF81B03935}" /f >Nul 2>Nul reg delete "HKEY_CURRENT_USER\Software\Classes\Wow6432Node\CLSID\{436D67E1-2FB3-4A6C-B3CD-FF8A41B0664D}" /f >Nul 2>Nul reg delete "HKEY_CURRENT_USER\Software\Classes\Wow6432Node\CLSID\{9C9D53D4-A978-43FC-93E2-1C21B529E6D7}" /f >Nul 2>Nul reg delete "HKEY_CURRENT_USER\Software\Classes\Wow6432Node\CLSID\{E8CF4E59-B7A3-41F2-86C7-82B03334F22A}" /f >Nul 2>Nul reg delete "HKEY_CURRENT_USER\Software\Classes\Wow6432Node\CLSID\{E6871B76-C3C8-44DD-B947-ABFFE144860D}" /f >Nul 2>Nul reg delete "HKEY_CURRENT_USER\Software\Classes\Wow6432Node\CLSID\{84797876-C678-1780-A556-0CD06786780F}" /f >Nul 2>Nul reg delete "HKEY_CURRENT_USER\Software\Classes\Wow6432Node\CLSID\{79873CC5-3951-43ED-BDF9-D8759474B6FD}" /f >Nul 2>Nul reg delete "HKEY_CURRENT_USER\Software\Classes\CLSID\{7B8E9164-324D-4A2E-A46D-0165FB2000EC}" /f >Nul 2>Nul reg delete "HKEY_CURRENT_USER\Software\Classes\CLSID\{5ED60779-4DE2-4E07-B862-974CA4FF2E9C}" /f >Nul 2>Nul reg delete "HKEY_CURRENT_USER\Software\Classes\CLSID\{07999AC3-058B-40BF-984F-69EB1E554CA7}" /f >Nul 2>Nul reg delete "HKEY_CURRENT_USER\Software\Classes\CLSID\{6DDF00DB-1234-46EC-8356-27E7B2051192}" /f >Nul 2>Nul reg delete "HKEY_CURRENT_USER\Software\Classes\CLSID\{D5B91409-A8CA-4973-9A0B-59F713D25671}" /f >Nul 2>Nul reg delete "HKEY_CURRENT_USER\Software\Classes\CLSID\{5312C54E-A385-46B7-B200-ABAF81B03935}" /f >Nul 2>Nul reg delete "HKEY_CURRENT_USER\Software\Classes\CLSID\{436D67E1-2FB3-4A6C-B3CD-FF8A41B0664D}" /f >Nul 2>Nul reg delete "HKEY_CURRENT_USER\Software\Classes\CLSID\{9C9D53D4-A978-43FC-93E2-1C21B529E6D7}" /f >Nul 2>Nul reg delete "HKEY_CURRENT_USER\Software\Classes\CLSID\{E8CF4E59-B7A3-41F2-86C7-82B03334F22A}" /f >Nul 2>Nul reg delete "HKEY_CURRENT_USER\Software\Classes\CLSID\{E6871B76-C3C8-44DD-B947-ABFFE144860D}" /f >Nul 2>Nul reg delete "HKEY_CURRENT_USER\Software\Classes\CLSID\{84797876-C678-1780-A556-0CD06786780F}" /f >Nul 2>Nul reg delete "HKEY_CURRENT_USER\Software\Classes\CLSID\{79873CC5-3951-43ED-BDF9-D8759474B6FD}" /f >Nul 2>Nul reg delete "HKEY_LOCAL_MACHINE\Software\Classes\Wow6432Node\CLSID\{7B8E9164-324D-4A2E-A46D-0165FB2000EC}" /f >Nul 2>Nul reg delete "HKEY_LOCAL_MACHINE\Software\Classes\Wow6432Node\CLSID\{5ED60779-4DE2-4E07-B862-974CA4FF2E9C}" /f >Nul 2>Nul reg delete "HKEY_LOCAL_MACHINE\Software\Classes\Wow6432Node\CLSID\{07999AC3-058B-40BF-984F-69EB1E554CA7}" /f >Nul 2>Nul reg delete "HKEY_LOCAL_MACHINE\Software\Classes\Wow6432Node\CLSID\{6DDF00DB-1234-46EC-8356-27E7B2051192}" /f >Nul 2>Nul reg delete "HKEY_LOCAL_MACHINE\Software\Classes\Wow6432Node\CLSID\{D5B91409-A8CA-4973-9A0B-59F713D25671}" /f >Nul 2>Nul reg delete "HKEY_LOCAL_MACHINE\Software\Classes\Wow6432Node\CLSID\{5312C54E-A385-46B7-B200-ABAF81B03935}" /f >Nul 2>Nul reg delete "HKEY_LOCAL_MACHINE\Software\Classes\Wow6432Node\CLSID\{436D67E1-2FB3-4A6C-B3CD-FF8A41B0664D}" /f >Nul 2>Nul reg delete "HKEY_LOCAL_MACHINE\Software\Classes\Wow6432Node\CLSID\{9C9D53D4-A978-43FC-93E2-1C21B529E6D7}" /f >Nul 2>Nul reg delete "HKEY_LOCAL_MACHINE\Software\Classes\Wow6432Node\CLSID\{E8CF4E59-B7A3-41F2-86C7-82B03334F22A}" /f >Nul 2>Nul reg delete "HKEY_LOCAL_MACHINE\Software\Classes\Wow6432Node\CLSID\{E6871B76-C3C8-44DD-B947-ABFFE144860D}" /f >Nul 2>Nul reg delete "HKEY_LOCAL_MACHINE\Software\Classes\Wow6432Node\CLSID\{84797876-C678-1780-A556-0CD06786780F}" /f >Nul 2>Nul reg delete "HKEY_LOCAL_MACHINE\Software\Classes\Wow6432Node\CLSID\{79873CC5-3951-43ED-BDF9-D8759474B6FD}" /f >Nul 2>Nul reg delete "HKEY_LOCAL_MACHINE\Software\Classes\CLSID\{7B8E9164-324D-4A2E-A46D-0165FB2000EC}" /f >Nul 2>Nul reg delete "HKEY_LOCAL_MACHINE\Software\Classes\CLSID\{5ED60779-4DE2-4E07-B862-974CA4FF2E9C}" /f >Nul 2>Nul reg delete "HKEY_LOCAL_MACHINE\Software\Classes\CLSID\{07999AC3-058B-40BF-984F-69EB1E554CA7}" /f >Nul 2>Nul reg delete "HKEY_LOCAL_MACHINE\Software\Classes\CLSID\{6DDF00DB-1234-46EC-8356-27E7B2051192}" /f >Nul 2>Nul reg delete "HKEY_LOCAL_MACHINE\Software\Classes\CLSID\{D5B91409-A8CA-4973-9A0B-59F713D25671}" /f >Nul 2>Nul reg delete "HKEY_LOCAL_MACHINE\Software\Classes\CLSID\{5312C54E-A385-46B7-B200-ABAF81B03935}" /f >Nul 2>Nul reg delete "HKEY_LOCAL_MACHINE\Software\Classes\CLSID\{436D67E1-2FB3-4A6C-B3CD-FF8A41B0664D}" /f >Nul 2>Nul reg delete "HKEY_LOCAL_MACHINE\Software\Classes\CLSID\{9C9D53D4-A978-43FC-93E2-1C21B529E6D7}" /f >Nul 2>Nul reg delete "HKEY_LOCAL_MACHINE\Software\Classes\CLSID\{E8CF4E59-B7A3-41F2-86C7-82B03334F22A}" /f >Nul 2>Nul reg delete "HKEY_LOCAL_MACHINE\Software\Classes\CLSID\{E6871B76-C3C8-44DD-B947-ABFFE144860D}" /f >Nul 2>Nul reg delete "HKEY_LOCAL_MACHINE\Software\Classes\CLSID\{84797876-C678-1780-A556-0CD06786780F}" /f >Nul 2>Nul reg delete "HKEY_LOCAL_MACHINE\Software\Classes\CLSID\{79873CC5-3951-43ED-BDF9-D8759474B6FD}" /f >Nul 2>Nul reg delete "HKEY_USERS\.DEFAULT\Software\Classes\CLSID\{7B8E9164-324D-4A2E-A46D-0165FB2000EC}" /f >Nul 2>Nul reg delete "HKEY_USERS\.DEFAULT\Software\Classes\CLSID\{6DDF00DB-1234-46EC-8356-27E7B2051192}" /f >Nul 2>Nul reg delete "HKEY_USERS\.DEFAULT\Software\Classes\CLSID\{D5B91409-A8CA-4973-9A0B-59F713D25671}" /f >Nul 2>Nul reg delete "HKEY_USERS\.DEFAULT\Software\Classes\CLSID\{5ED60779-4DE2-4E07-B862-974CA4FF2E9C}" /f >Nul 2>Nul reg delete "HKEY_USERS\.DEFAULT\Software\Classes\CLSID\{07999AC3-058B-40BF-984F-69EB1E554CA7}" /f >Nul 2>Nul reg delete "HKEY_USERS\.DEFAULT\Software\Classes\CLSID\{E8CF4E59-B7A3-41F2-86C7-82B03334F22A}" /f >Nul 2>Nul reg delete "HKEY_USERS\.DEFAULT\Software\Classes\CLSID\{9C9D53D4-A978-43FC-93E2-1C21B529E6D7}" /f >Nul 2>Nul reg delete "HKEY_USERS\.DEFAULT\Software\Classes\CLSID\{79873CC5-3951-43ED-BDF9-D8759474B6FD}" /f >Nul 2>Nul reg delete "HKEY_USERS\.DEFAULT\Software\Classes\CLSID\{E6871B76-C3C8-44DD-B947-ABFFE144860D}" /f >Nul 2>Nul reg delete "HKEY_USERS\.DEFAULT\Software\Classes\Wow6432Node\CLSID\{7B8E9164-324D-4A2E-A46D-0165FB2000EC}" /f >Nul 2>Nul reg delete "HKEY_USERS\.DEFAULT\Software\Classes\Wow6432Node\CLSID\{6DDF00DB-1234-46EC-8356-27E7B2051192}" /f >Nul 2>Nul reg delete "HKEY_USERS\.DEFAULT\Software\Classes\Wow6432Node\CLSID\{D5B91409-A8CA-4973-9A0B-59F713D25671}" /f >Nul 2>Nul reg delete "HKEY_USERS\.DEFAULT\Software\Classes\Wow6432Node\CLSID\{5ED60779-4DE2-4E07-B862-974CA4FF2E9C}" /f >Nul 2>Nul reg delete "HKEY_USERS\.DEFAULT\Software\Classes\Wow6432Node\CLSID\{07999AC3-058B-40BF-984F-69EB1E554CA7}" /f >Nul 2>Nul reg delete "HKEY_USERS\.DEFAULT\Software\Classes\Wow6432Node\CLSID\{E8CF4E59-B7A3-41F2-86C7-82B03334F22A}" /f >Nul 2>Nul reg delete "HKEY_USERS\.DEFAULT\Software\Classes\Wow6432Node\CLSID\{9C9D53D4-A978-43FC-93E2-1C21B529E6D7}" /f >Nul 2>Nul reg delete "HKEY_USERS\.DEFAULT\Software\Classes\Wow6432Node\CLSID\{79873CC5-3951-43ED-BDF9-D8759474B6FD}" /f >Nul 2>Nul reg delete "HKEY_USERS\.DEFAULT\Software\Classes\Wow6432Node\CLSID\{E6871B76-C3C8-44DD-B947-ABFFE144860D}" /f >Nul 2>Nul reg delete "HKEY_USERS\.DEFAULT\SOFTWARE\WOW6432Node\Classes\CLSID\{7B8E9164-324D-4A2E-A46D-0165FB2000EC}" /f >Nul 2>Nul reg delete "HKEY_USERS\.DEFAULT\SOFTWARE\WOW6432Node\Classes\CLSID\{6DDF00DB-1234-46EC-8356-27E7B2051192}" /f >Nul 2>Nul reg delete "HKEY_USERS\.DEFAULT\SOFTWARE\WOW6432Node\Classes\CLSID\{D5B91409-A8CA-4973-9A0B-59F713D25671}" /f >Nul 2>Nul reg delete "HKEY_USERS\.DEFAULT\SOFTWARE\WOW6432Node\Classes\CLSID\{5ED60779-4DE2-4E07-B862-974CA4FF2E9C}" /f >Nul 2>Nul reg delete "HKEY_USERS\.DEFAULT\SOFTWARE\WOW6432Node\Classes\CLSID\{07999AC3-058B-40BF-984F-69EB1E554CA7}" /f >Nul 2>Nul reg delete "HKEY_USERS\.DEFAULT\SOFTWARE\WOW6432Node\Classes\CLSID\{E8CF4E59-B7A3-41F2-86C7-82B03334F22A}" /f >Nul 2>Nul reg delete "HKEY_USERS\.DEFAULT\SOFTWARE\WOW6432Node\Classes\CLSID\{9C9D53D4-A978-43FC-93E2-1C21B529E6D7}" /f >Nul 2>Nul reg delete "HKEY_USERS\.DEFAULT\SOFTWARE\WOW6432Node\Classes\CLSID\{79873CC5-3951-43ED-BDF9-D8759474B6FD}" /f >Nul 2>Nul reg delete "HKEY_USERS\.DEFAULT\SOFTWARE\WOW6432Node\Classes\CLSID\{E6871B76-C3C8-44DD-B947-ABFFE144860D}" /f >Nul 2>Nul IF NOT EXIST "%ProgramW6432%" ( ::添加序列号注册信息检测依赖标记 reg add "HKLM\SOFTWARE\Internet Download Manager" /f /v "LName" /d "Inc." >NUL 2>NUL reg add "HKLM\SOFTWARE\Internet Download Manager" /f /v "FName" /d "Tonec" >NUL 2>NUL reg add "HKLM\SOFTWARE\Internet Download Manager" /f /v "Email" /d "[email protected]" >NUL 2>NUL reg add "HKLM\SOFTWARE\Internet Download Manager" /f /v "Serial" /d "7WPV5-NHHF3-A2P39-LRJ74" >NUL 2>NUL ::启用接管浏览器调用的命令行开关 reg add "HKLM\SOFTWARE\Internet Download Manager" /f /v "AdvIntDriverEnabled2" /t REG_DWORD /d "3" >NUL 2>NUL ) ELSE ( reg add "HKLM\SOFTWARE\Internet Download Manager" /f /v "LName" /d "Inc." /reg:32 >NUL 2>NUL reg add "HKLM\SOFTWARE\Internet Download Manager" /f /v "FName" /d "Tonec" /reg:32 >NUL 2>NUL reg add "HKLM\SOFTWARE\Internet Download Manager" /f /v "Email" /d "[email protected]" /reg:32 >NUL 2>NUL reg add "HKLM\SOFTWARE\Internet Download Manager" /f /v "Serial" /d "7WPV5-NHHF3-A2P39-LRJ74" /reg:32 >NUL 2>NUL reg add "HKLM\SOFTWARE\Internet Download Manager" /f /v "AdvIntDriverEnabled2" /t REG_DWORD /d "3" /reg:32 >NUL 2>NUL ) ::启用简体中文、启用额外主题、取消开机启动、取消启动提示弹窗、关闭左侧面板、接管其它格式; reg add "HKCU\Software\DownloadManager" /f /v "LstCheck" /d "19/01/38" >NUL 2>NUL reg add "HKCU\Software\DownloadManager" /f /v "LanguageID" /t REG_DWORD /d "2052" >NUL 2>NUL reg add "HKCU\Software\DownloadManager" /f /v "ToolbarStyle" /d "Faenza" >NUL 2>NUL reg add "HKCU\Software\DownloadManager" /f /v "TipStartUp" /t REG_DWORD /d "1" >NUL 2>NUL reg add "HKCU\Software\DownloadManager" /f /v "LaunchOnStart" /t REG_DWORD /d "0" >NUL 2>NUL reg add "HKCU\SOFTWARE\DownloadManager\FoldersTree" /f /v "Visiblity" /t REG_DWORD /d "0" >NUL 2>NUL reg add "HKCU\Software\DownloadManager" /f /v "MaxConnectionsNumber" /t REG_DWORD /d "24" >NUL 2>NUL reg add "HKCU\Software\DownloadManager" /f /v "nProxyMode" /t REG_DWORD /d "2" >NUL 2>NUL reg add "HKCU\SOFTWARE\DownloadManager" /f /v "Extensions" /d "3GP 7Z AAC ACE AIF ARJ ASF AVI BIN BZ2 EXE GZ GZIP IMG ISO LZH M4A M4V MKV MOV MP3 MP4 MPA MPE MPEG MPG MSI MSU OGG OGV PDF PLJ PPS PPT QT R0* R1* RA RAR RM RMVB SEA SIT SITX TAR TIF TIFF WAV WMA WMV Z ZIP ESD WIM MSP APK APKS APKM CAB MSP" >NUL 2>NUL ::调用官方参数静默安装 start "" /min /wait "%~dp0idmBroker.exe" -RegServer start "" /min /wait "%~dp0IDMan.exe" /onsilentsetup /s /q ::删除安装过程残留文件 rd/s/q "%AppData%\IDM"2>NUL rd /s/q "%Temp%\IDM_Setup_Temp" 2>NUL del/f/q "%Temp%\*~DF*.TMP" >NUL 2>NUL ::创建桌面快捷方式 mshta VBScript:Execute("Set a=CreateObject(""WScript.Shell""):Set b=a.CreateShortcut(a.SpecialFolders(""Desktop"") & ""\Internet Download Manager.lnk""):b.TargetPath=""%~sdp0IDMan.exe"":b.WorkingDirectory=""%~sdp0"":b.Save:close") ECHO.&ECHO 完成 &TIMEOUT /t 2 >NUL&EXIT