下载神器 IDM

IDM 6.41

官网下载地址:https://www.internetdownloadmanager.com/
下面介绍两种方法。

方法一:使用PowerShell使用脚本一键破解。

特征:

  1. 使用注册表项锁定方法进行激活
  2. 在安装IDM跟新后,激活仍然存在
  3. IDM使用重置
  4. 完全开源
  5. 基于透明批次处理脚本
  6. 版本通用。

步骤:

  1. 打开PowerShell管理员窗口
  2. 执行:irm massgrave.dev/ias | iex 指令
    关注如下几条选项就行:
    【1】Activate IDM     激活
    【2】Reset IDM Activation / Trial     重置 IDM 激活/试用
    【3】Download IDM      下载IDM
      根绝自己的情况输入数字指令就行
  3. 这里输入1直接激活,出现【The IDM Activation process has been completed】这段就恭喜你激活成功,任意键退出就行。
  4. 打开软件检查,点击”注册“,显示本软件已经注册就成功了

方法二:冻结试用期限

特征:

  1. 冻结试用期限
  2. 绝对安全,无后门
  3. 一次执行,绝无后患。
  4. 测试6.42版本,win10系统,其它版本请自行尝试。

步骤

  1. 去官网下载安装最新版本IDM后。IDM官网
  2. 新建txt文件,将下面代码复制进去保存后,将文件重命名为【IDM_Master_Tool.bat】格式文件。双击执行。根据提示选择即可。

注意:如果你使用记事本,保存时选择“编码:UTF-8”

@echo off & chcp 65001 >nul & setlocal EnableDelayedExpansion
title IDM 维护系统 HBB V2.0 (纯净版)

:: ==========================================
:: 1. 管理员权限自提权
:: ==========================================
net session >nul 2>&1
if %errorLevel% neq 0 (
    powershell -NoProfile -ExecutionPolicy Bypass -Command "Start-Process cmd -ArgumentList '/c \"\"%~f0\" %*\"' -Verb RunAs"
    exit /b
)

if "%1"=="/Silent" (
    set PS_MODE=Full
    goto RUN_PS
)

:: ==========================================
:: 2. 交互菜单
:: ==========================================
:MENU
cls
echo ==================================================
echo       IDM 维护系统 HBB V2.0 (纯净版)
echo ==================================================
echo   [1] 执行核心重置与动态隔离 (无损修复) 
echo   [2] 开启13天自动托管 (实现永久免维护) 
echo   [3] 撤销所有更改 (还原系统到原始状态) 
echo   [0] 退出 
echo ==================================================
set /p choice="请选择操作 (0-3): "

if "%choice%"=="1" set PS_MODE=Full
if "%choice%"=="2" set PS_MODE=Schedule
if "%choice%"=="3" set PS_MODE=Undo
if "%choice%"=="0" exit /b

:RUN_PS
powershell -NoProfile -ExecutionPolicy Bypass -Command "$path = [System.IO.Path]::GetFullPath('%~f0'); $code = [System.IO.File]::ReadAllText($path, [System.Text.Encoding]::UTF8); $marker = '# ' + '--- POWERSHELL CORE START ---'; $psCode = $code.Substring($code.IndexOf($marker) + $marker.Length); Invoke-Command -ScriptBlock ([ScriptBlock]::Create($psCode)) -ArgumentList '%PS_MODE%', $path"

if "%1"=="/Silent" exit /b
echo.
echo --------------------------------------------------
echo 所有步骤执行完毕。按任意键返回主菜单...
pause >nul
goto MENU

# --- POWERSHELL CORE START ---
# ==============================================================================
# PowerShell 核心引擎 V2.0 (稳定版)
# ==============================================================================

param([string]$Mode = "Full", [string]$RawScriptPath = "")

$Config = @{
    Processes = @("idman", "IDMGrHlp", "IEMonitor", "IDMMsgHost")
    MainRegKey = "HKCU:\Software\DownloadManager"
    TargetValues = @("FName", "LName", "Email", "Serial")
    CLSIDPaths = @("HKCU:\Software\Classes\CLSID", "HKCU:\Software\Classes\Wow6432Node\CLSID")
    SuspiciousSubKeys = @("MData", "ZData", "scansk", "BData", "Data")
    IDMDomains = @("registeridm.com", "tonec.com", "internetdownloadmanager.com", "star.tonec.com", "data.tonec.com")
    StaticIPs = @("167.114.209.5", "173.236.147.147", "209.126.137.42")
    IDMPaths = @("${env:ProgramFiles(x86)}\Internet Download Manager", "${env:ProgramFiles}\Internet Download Manager")
    TaskName = "IDM_Industrial_Guard_V2"
}

Function Write-Log ($Message, $Level = "INFO", $Description = "") {
    $timestamp = Get-Date -Format "HH:mm:ss"
    $color = "Green"; 
    if($Level -eq "WARN"){$color="Yellow"}
    if($Level -eq "ERROR"){$color="Red"}
    if($Level -eq "STEP"){$color="Cyan"}

    Write-Host "`n[$timestamp] $Message" -ForegroundColor $color
    if ($Description) {
        Write-Host "   作用: $Description" -ForegroundColor Gray
    }
}

$idmDir = $Config.IDMPaths | Where-Object { Test-Path $_ } | Select-Object -First 1
$idmanExe = if($idmDir){ Join-Path $idmDir "IDMan.exe" } else { $null }

try {
    switch ($Mode) {
        "Schedule" {
            Write-Log "[1/1] 正在配置 Windows 计划任务..." "STEP" "在系统中建立一个每13天自动运行一次的维护工。这样即便 30 天试用期到了,系统也会在后台自动帮你重置,无需再手动打开此脚本。"

            $taskAction = New-ScheduledTaskAction -Execute "cmd.exe" -Argument "/c `"`"$RawScriptPath`" /Silent`""
            $taskTrigger = New-ScheduledTaskTrigger -Daily -At 10:00AM -DaysInterval 13
            $taskSettings = New-ScheduledTaskSettingsSet -StartWhenAvailable -MultipleInstances Parallel -AllowStartIfOnBatteries -DontStopIfGoingOnBatteries -Priority 1
            Register-ScheduledTask -TaskName $Config.TaskName -Action $taskAction -Trigger $taskTrigger -Settings $taskSettings -RunLevel Highest -Force | Out-Null

            Write-Log "自动托管任务已成功挂载。" "INFO"
        }

        "Undo" {
            Write-Log "[1/2] 正在清理防火墙隔离规则..." "STEP" "移除脚本之前添加的所有 IP 拦截条目,恢复 IDM 与官方服务器的正常连接。"
            Get-NetFirewallRule -DisplayName "IDM_Shield_*" -ErrorAction SilentlyContinue | Remove-NetFirewallRule

            Write-Log "[2/2] 正在移除自动托管任务..." "STEP" "从 Windows 任务计划程序中注销自动维护工。"
            Unregister-ScheduledTask -TaskName $Config.TaskName -Confirm:$false -ErrorAction SilentlyContinue

            Write-Log "撤销成功,系统已恢复至原始状态。" "INFO"
        }

        "Full" {
            Write-Log ">>> 开始执行 V2.0 深度加固流程 <<<" "STEP"

            # 1. 结束进程
            Write-Log "[1/4] 正在清理后台进程..." "STEP" "关闭 IDM 及其浏览器监控组件。解除注册表和文件的锁定,确保后续的重置操作能 100% 成功。"
            $Config.Processes | ForEach-Object { Get-Process -Name $_ -ErrorAction SilentlyContinue | Stop-Process -Force }

            # 2. IP 隔离
            Write-Log "[2/4] 正在配置网络动态隔离..." "STEP" "通过解析官方服务器 IP 并建立防火墙黑名单,拦截 IDM 的序列号验证请求。防止 IDM 发现你的注册信息异常,且完全不影响你的正常下载速度。"
            $resolvedIPs = New-Object System.Collections.Generic.List[string]
            foreach ($ip in $Config.StaticIPs) { $resolvedIPs.Add($ip) }
            foreach ($domain in $Config.IDMDomains) {
                try {
                    $addresses = [System.Net.Dns]::GetHostAddresses($domain)
                    foreach ($addr in $addresses) {
                        $ipString = $addr.ToString()
                        if ($ipString -notmatch ":") { $resolvedIPs.Add($ipString) }
                    }
                } catch {}
            }
            $uniqueIPs = $resolvedIPs | Select-Object -Unique

            if ($uniqueIPs.Count -gt 0 -and $idmanExe) {
                Get-NetFirewallRule -DisplayName "IDM_Shield_*" -ErrorAction SilentlyContinue | Remove-NetFirewallRule
                New-NetFirewallRule -DisplayName "IDM_Shield_IP_Block" -Direction Outbound -Program $idmanExe -RemoteAddress $uniqueIPs -Action Block | Out-Null
                Write-Log "已锁定 $($uniqueIPs.Count) 个验证节点 IP。" "INFO"
            }

            # 3. 注册表
            Write-Log "[3/4] 正在重置注册表授权状态..." "STEP" "擦除无效的序列号记录,并将下一次更新检查时间注入为 10 年以后。这样 IDM 在未来 10 年内都不会因为无法检查更新而弹出烦人的报错窗口。"
            if (Test-Path $Config.MainRegKey) {
                foreach ($val in $Config.TargetValues) { Remove-ItemProperty -Path $Config.MainRegKey -Name $val -Force -ErrorAction SilentlyContinue }
                $farDate = (Get-Date).AddYears(10).ToString("MM/dd/yy")
                Set-ItemProperty -Path $Config.MainRegKey -Name "LastCheck" -Value $farDate -Type String -Force
                Set-ItemProperty -Path $Config.MainRegKey -Name "CheckUpdtVM" -Value 0 -Type DWord -Force
            }

            # 4. CLSID
            Write-Log "[4/4] 正在深度清理系统底层记录..." "STEP" "扫描并移除 IDM 隐藏在 Windows COM 组件中的加密试用期标记。这是实现“无限 30 天试用”核心的步骤。"
            foreach ($basePath in $Config.CLSIDPaths) {
                if (Test-Path $basePath) {
                    Get-ChildItem -Path $basePath -ErrorAction SilentlyContinue | ForEach-Object {
                        try {
                            $subKeys = Get-ChildItem -Path $_.PSPath -ErrorAction SilentlyContinue | Select-Object -ExpandProperty PSChildName
                            if ($subKeys -and ($subKeys | Where-Object { $_ -in $Config.SuspiciousSubKeys }).Count -gt 0 -and -not ($subKeys | Where-Object { $_ -in $Config.StandardCOMKeys }).Count -gt 0) {
                                Remove-Item -Path $_.PSPath -Recurse -Force -ErrorAction SilentlyContinue
                            }
                        } catch {}
                    }
                }
            }

            Write-Host "`n**************************************************" -ForegroundColor Yellow
            Write-Host " 核心维护任务已全部完成!" -ForegroundColor Green
            Write-Host " 现在您可以正常开启 IDM 享受全速下载了。" -ForegroundColor Green
            Write-Host "**************************************************" -ForegroundColor Yellow
        }
    }
} catch {
    Write-Log "处理过程中出现异常: $($_.Exception.Message)" "ERROR"
}