[亲测可用] idm 注册永久激活代码

6
回复
553
查看
打印 上一主题 下一主题
[复制链接]

该用户从未签到

68

主题

89

帖子

29

积分

新手上路

Rank: 1

积分
29
#
发表于 2024-9-29 02:24:03 | 只看该作者 回帖奖励 |正序浏览 |阅读模式
游客,本付费内容需要支付 3金钱 才能浏览   购买


  • 以上复制到文本文档,改后缀为bat,最后一行得有回车。

  • 按1键执行 ,再按9键确认即可。
  • (2和3分别是冻结试用期限和重置试用,如果 无效再用这俩功能)


  • }

  •     foreach ($lockedKey in $lockedKeys) {
  •         $leafValue = Split-Path -Path $lockedKey.TargetObject -Leaf
  •         $finalValues += $leafValue
  •         Write-Output "$leafValue - Found Locked Key"
  •     }

  •     if ($subKeys -eq $null) {
  •         continue
  •         }
  •        
  •         $subKeysToExclude = "LocalServer32", "InProcServer32", "InProcHandler32"

  •     $filteredKeys = $subKeys | Where-Object { !($_.GetSubKeyNames() | Where-Object { $subKeysToExclude -contains $_ }) }

  •     foreach ($key in $filteredKeys) {
  •         $fullPath = $key.PSPath
  •         $keyValues = Get-ItemProperty -Path $fullPath -ErrorAction SilentlyContinue
  •         $defaultValue = $keyValues.PSObject.Properties | Where-Object { $_.Name -eq '(default)' } | Select-Object -ExpandProperty Value

  •         if (($defaultValue -match "^\d+$") -and ($key.SubKeyCount -eq 0)) {
  •             $finalValues += $($key.PSChildName)
  •             Write-Output "$($key.PSChildName) - Found Digit In Default and No Subkeys"
  •             continue
  •         }
  •         if (($defaultValue -match "\+|=") -and ($key.SubKeyCount -eq 0)) {
  •             $finalValues += $($key.PSChildName)
  •             Write-Output "$($key.PSChildName) - Found + or = In Default and No Subkeys"
  •             continue
  •         }
  •         $versionValue = Get-ItemProperty -Path "$fullPath\Version" -ErrorAction SilentlyContinue | Select-Object -ExpandProperty '(default)' -ErrorAction SilentlyContinue
  •         if (($versionValue -match "^\d+$") -and ($key.SubKeyCount -eq 1)) {
  •             $finalValues += $($key.PSChildName)
  •             Write-Output "$($key.PSChildName) - Found Digit In \Version and No Other Subkeys"
  •             continue
  •         }
  •         $keyValues.PSObject.Properties | ForEach-Object {
  •             if ($_.Name -match "MData|Model|scansk|Therad") {
  •                 $finalValues += $($key.PSChildName)
  •                 Write-Output "$($key.PSChildName) - Found MData Model scansk Therad"
  •                 continue
  •             }
  •         }
  •         if (($key.ValueCount -eq 0) -and ($key.SubKeyCount -eq 0)) {
  •             $finalValues += $($key.PSChildName)
  •             Write-Output "$($key.PSChildName) - Found Empty Key"
  •             continue
  •         }
  •     }
  • }

  • $finalValues = @($finalValues | Select-Object -Unique)

  • if ($finalValues -ne $null) {
  •     Write-Host
  •     if ($lockKey -ne $null) {
  •         Write-Host "Locking IDM CLSID Registry Keys..."
  •     }
  •     if ($deleteKey -ne $null) {
  •         Write-Host "Deleting IDM CLSID Registry Keys..."
  •     }
  •     Write-Host
  • } else {
  •     Write-Host "IDM CLSID Registry Keys are not found."
  •         Exit
  • }

  • if (($finalValues.Count -gt 20) -and ($toggle -ne $null)) {
  •         $lockKey = $null
  •         $deleteKey = 1
  •     Write-Host "The IDM keys count is more than 20. Deleting them now instead of locking..."
  •         Write-Host
  • }

  • function Take-Permissions {
  •     param($rootKey, $regKey)
  •     $AssemblyBuilder = [AppDomain]::CurrentDomain.DefineDynamicAssembly(4, 1)
  •     $ModuleBuilder = $AssemblyBuilder.DefineDynamicModule(2, $False)
  •     $TypeBuilder = $ModuleBuilder.DefineType(0)

  •     $TypeBuilder.DefinePInvokeMethod('RtlAdjustPrivilege', 'ntdll.dll', 'Public, Static', 1, [int], @([int], [bool], [bool], [bool].MakeByRefType()), 1, 3) | Out-Null
  •     9,17,18 | ForEach-Object { $TypeBuilder.CreateType()::RtlAdjustPrivilege($_, $true, $false, [ref]$false) | Out-Null }

  •     $SID = New-Object System.Security.Principal.SecurityIdentifier('S-1-5-32-544')
  •     $IDN = ($SID.Translate([System.Security.Principal.NTAccount])).Value
  •     $Admin = New-Object System.Security.Principal.NTAccount($IDN)

  •     $everyone = New-Object System.Security.Principal.SecurityIdentifier('S-1-1-0')
  •     $none = New-Object System.Security.Principal.SecurityIdentifier('S-1-0-0')

  •     $key = [Microsoft.Win32.Registry]::$rootKey.OpenSubKey($regkey, 'ReadWriteSubTree', 'TakeOwnership')

  •     $acl = New-Object System.Security.AccessControl.RegistrySecurity
  •     $acl.SetOwner($Admin)
  •     $key.SetAccessControl($acl)

  •     $key = $key.OpenSubKey('', 'ReadWriteSubTree', 'ChangePermissions')
  •     $rule = New-Object System.Security.AccessControl.RegistryAccessRule($everyone, 'FullControl', 'ContainerInherit', 'None', 'Allow')
  •     $acl.ResetAccessRule($rule)
  •     $key.SetAccessControl($acl)

  •     if ($lockKey -ne $null) {
  •         $acl = New-Object System.Security.AccessControl.RegistrySecurity
  •         $acl.SetOwner($none)
  •         $key.SetAccessControl($acl)

  •         $key = $key.OpenSubKey('', 'ReadWriteSubTree', 'ChangePermissions')
  •         $rule = New-Object System.Security.AccessControl.RegistryAccessRule($everyone, 'FullControl', 'Deny')
  •         $acl.ResetAccessRule($rule)
  •         $key.SetAccessControl($acl)
  •     }
  • }

  • foreach ($regPath in $regPaths) {
  •     if (($regPath -match "HKEY_USERS") -and ($HKCUsync -ne $null)) {
  •         continue
  •     }
  •     foreach ($finalValue in $finalValues) {
  •         $fullPath = Join-Path -Path $regPath -ChildPath $finalValue
  •         if ($fullPath -match 'HKCU:') {
  •             $rootKey = 'CurrentUser'
  •         } else {
  •             $rootKey = 'Users'
  •         }

  •         $position = $fullPath.IndexOf("")
  •         $regKey = $fullPath.Substring($position + 1)

  •         if ($lockKey -ne $null) {
  •             if (-not (Test-Path -Path $fullPath -ErrorAction SilentlyContinue)) { New-Item -Path $fullPath -Force -ErrorAction SilentlyContinue | Out-Null }
  •             Take-Permissions $rootKey $regKey
  •             try {
  •                 Remove-Item -Path $fullPath -Force -Recurse -ErrorAction Stop
  •                 Write-Host -back 'DarkRed' -fore 'white' "Failed - $fullPath"
  •             }
  •             catch {
  •                 Write-Host "Locked - $fullPath"
  •             }
  •         }

  •         if ($deleteKey -ne $null) {
  •             if (Test-Path -Path $fullPath) {
  •                 Remove-Item -Path $fullPath -Force -Recurse -ErrorAction SilentlyContinue
  •                 if (Test-Path -Path $fullPath) {
  •                     Take-Permissions $rootKey $regKey
  •                     try {
  •                         Remove-Item -Path $fullPath -Force -Recurse -ErrorAction Stop
  •                         Write-Host "Deleted - $fullPath"
  •                     }
  •                     catch {
  •                         Write-Host -back 'DarkRed' -fore 'white' "Failed - $fullPath"
  •                     }
  •                 }
  •                 else {
  •                     Write-Host "Deleted - $fullPath"
  •                 }
  •             }
  •         }
  •     }
  • }
  • :regscan:

  • ::========================================================================================================================================

  • :_color

  • if %_NCS% EQU 1 (
  • echo %esc%[%~1%~2%esc%[0m
  • ) else (
  • %psc% write-host -back '%1' -fore '%2' '%3'
  • )
  • exit /b

  • :_color2

  • if %_NCS% EQU 1 (
  • echo %esc%[%~1%~2%esc%[%~3%~4%esc%[0m
  • ) else (
  • %psc% write-host -back '%1' -fore '%2' '%3' -NoNewline; write-host -back '%4' -fore '%5' '%6'
  • )
  • exit /b

  • ::========================================================================================================================================
  • :: Leave empty line below



  • 复制代码

    [/sell]

    以上复制到文本文档,改后缀为bat,最后一行得有回车。

    按1键执行 ,再按9键确认即可。
    (2和3分别是冻结试用期限和重置试用,如果 无效再用这俩功能)


  • 温馨提示:
    1、解压:请使用2345好压。中文解压码必用简体环境。
    2、在论坛里发表的文章仅代表作者本人的观点,与本网站立场无关。
    3、游戏路径全英文,游戏环境自行安装DirectX3.7。
    分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
    收藏
    收藏0
    支持
    支持0
    反对
    反对0
    回复

    使用道具 举报

  • TA的每日心情

    6 天前
  • 签到天数: 1024 天

    [LV.10]以坛为家III

    1

    主题

    168

    帖子

    178

    积分

    注册会员

    Rank: 2

    积分
    178
    6#
    发表于 2024-9-30 08:41:35 | 只看该作者
    资源太棒了,收了!糖果资源分享网加油!
    回复

    使用道具 举报

  • TA的每日心情
    开心
    10 小时前
  • 签到天数: 1013 天

    [LV.10]以坛为家III

    0

    主题

    2022

    帖子

    386

    积分

    中级会员

    Rank: 3Rank: 3

    积分
    386
    QQ
    5#
    发表于 2024-9-29 10:17:06 | 只看该作者
    糖果VR资源分享网,我来了!
    回复

    使用道具 举报

  • TA的每日心情
    开心
    20 小时前
  • 签到天数: 1376 天

    [LV.10]以坛为家III

    0

    主题

    2023

    帖子

    362

    积分

    中级会员

    Rank: 3Rank: 3

    积分
    362
    地板
    发表于 2024-9-29 09:51:25 | 只看该作者
    啥也不说了,糖果VR资源分享网就是给力!
    回复

    使用道具 举报

  • TA的每日心情
    慵懒
    10 小时前
  • 签到天数: 2591 天

    [LV.Master]伴坛终老

    0

    主题

    260

    帖子

    322

    积分

    中级会员

    Rank: 3Rank: 3

    积分
    322
    板凳
    发表于 2024-9-29 09:10:43 | 只看该作者
    糖果VR资源分享网,我只想说一句很好很强大!
    回复

    使用道具 举报

    快捷回复:
    您需要登录后才可以回帖 登录 | 立即注册

    本版积分规则

    用心服务创业者
    失效反馈
    周一至周五 9:00-18:00
    意见反馈:失效反馈版块

    扫一扫咨询我们

    本站为非营利性个人网站,本站所有软件来自于互联网,版权属原著所有,如有需要请购买正版。如有侵权,敬请来信联系我们,我们立刻删除。

    Powered by 糖果分享网 X3.3© 2001-2013 TGW.