zoukankan      html  css  js  c++  java
  • 注册表-禁用与解开注册表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:本人做实验时发现注册表的方法不能用。

  • 相关阅读:
    USACO1.3.3Calf Flac
    USACO1.3.1Mixing Milk
    USACO1.3.2Barn Repair
    USACO2.1.4Healthy Holsteins
    USACO1.5.2Prime Palindromes
    USACO1.4.2The Clocks
    USACO2.1.2Ordered Fractions
    PHP关联数组教程
    你的服务器没有正确响应Token验证的解决方法
    微信公众平台消息接口开发(10)语音触发(非识别)
  • 原文地址:https://www.cnblogs.com/FKdelphi/p/4664914.html
Copyright © 2011-2022 走看看