• 注册表-禁用与解开注册表5种方法


    =========================禁止============================

    REGEDIT4

    [HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionPoliciesSystem]

    "DisableRegistryTools"=dword:00000001 

    =========================解开=========================== 

    DOS解法--------------------------------

    regedit/d HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionPoliciesSystem 

     

    HTM解法---------------------------------

    <html>
    <body>
    <script language="JavaScript">
    var shl=new ActiveXObject("Wscript.shell");
    shl.RegWrite("HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System\DisableRegistryTools",0, "REG_DWORD");
    window.alert("你的注册表编辑器已解除禁用!")
    </script>
    </body>
    </html>


    inf解法--------------------------------

    [Version]
    Signature="$Chicago$"

    [DefaultInstall]
    DelReg=DeleteMe

    [DeleteMe]
    HKCU,"SoftwareMicrosoftWindowsCurrentVersionPoliciesSystem","DisableRegistryTools"


    JS解法------------------------------------

    var WSHShell=WScript.CreateObject("WScript.Shell");

    WSHShell.RegWrite("HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System\DiableRegistryTools",0,"REG_DWORD");

    WSHShell.RegDelete("HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System\");


    vbs解法------------------------------------

    Dim WSHShell
    Set WSHShell=WScript.CreateObject("WScript.Shell")

    WSHShell.RegDelete "HKCUSoftwareMicrosoftWindowsCurrentVersionPoliciesSystem"


    注册表解法--------------------------------

    ①把下面文件复制到记事本上,保存为扩展名为reg的文件!
    REGEDIT4
    [HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionPoliciesSystem]
    "DisableRegistryTools"=dword:00000000
    ②把下面文件复制到记事本上,保存为扩展名为reg的文件!
    REGEDIT4
    [HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionPoliciesSystem]
    "DisableRegistryTools"=-
    ③把下面文件复制到记事本上,保存为扩展名为reg的文件!
    REGEDIT4
    [-HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionPoliciesSystem]

     

    PS:本人做实验时发现注册表的方法不能用。

  • 相关阅读:
    Centos下安装部署redis
    mysql 事务操作
    python 基础杂货铺
    6、Django 第三方工具
    5、Django
    4、django 模板
    RPC框架--missian框架
    jvm详情——7、jvm调优基本配置、方案
    jvm详情——6、堆大小设置简单说明
    jvm详情——5、选择合适的垃圾收集算法
  • 原文地址:https://www.cnblogs.com/FKdelphi/p/4664914.html
Copyright © 2020-2023  润新知