登錄檔的禁用與解鎖方法集合

2022-09-21 22:48:21 字數 2036 閱讀 5830

禁用登錄檔

------

首先,2000/xp/2003使用者,執行:services.msc;禁用服務remote registry,這樣別人就不能遠端修改你的登錄檔了。

然後 1.使用軟體禁用登錄檔

比如:(此間文字由系統自動遮蔽)

2.通過.reg檔案

把下面的內容儲存為lock.reg,雙擊後,登錄檔禁用

regedit4

[hkey_current_user\software\microsoft\windows\currentversion\policies\system]

"disableregistrytools"=dword:00000001

3.在windows 2000/xp/2003中,執行gpedit.msc,開啟「組策略」。然後依次展開「使用者配置→管理模板→系統」,雙擊右側視窗中的「阻止訪問登錄檔編輯工具」,在彈出的視窗中選擇「已啟用」即可。

解禁登錄檔

------

1.使用軟體禁用登錄檔

比如:(此間文字由系統自動遮蔽)

2.通過.reg檔案 (適用98系統,xp/2003下,禁用登錄檔後是無法匯入reg檔案的)

把下krwcven面的內容複製到記事本,另存為擴充套件名為reg的檔案,雙擊後,登錄檔解禁

regedit4

[hkey_current_user\software\microsoft\windows\currentversion\policies\system]

"disableregistrytools"=dword:00000000

3.通過.vbs檔案

把下面的內容複製到記事本,另存為擴充套件名為vbs的檔案,雙擊後,登錄檔解禁

dim wshshell

set wshshell=wscript.createobject("wscript.shell")

wshshell.regdelete "hkcu\software\microsoft\windows\currentversion\policies\system\"

4.通過.inf檔案

把下面的內容複製到記事本,另存為擴充套件名為inf的檔案,右鍵選擇安裝,登錄檔解禁

[version]

signature="$chicago$"

[defaultinstall]

delreg=deleteme

[deleteme]

hkcu,"software\microsoft\windows\currentversion\policies\system","disableregistrytools"

5.通過.js檔案

把下面的程式設計客棧內容複製到記事本,另存為擴充套件名為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\\");

6.命令列下解禁登錄檔

命令:reg delete hkcu\software\microsoft\windows\currentversion\policies\system /v disableregistrytools

7.在windows 2000/xp/2003程式設計客棧中,執行gpedit.msc,開啟「組策略」。然後依次展開「使用者配置→管理模板→系統」,雙擊右側視窗中的「阻止訪問登錄檔編輯工具」,在彈出的視窗中選擇「已禁用」,「確定」後再退出「組策略」,即可為登錄檔解禁。

本文標題: 登錄檔的禁用與解鎖方法集合

本文位址: /ruanjian/vb/36348.html

禁用登錄檔方法和解禁的方法

為了防止惡意 使用登錄檔破壞系統,可以禁用登錄檔,方法如下 執行regedit.exe hkey current user software microsoft windows currentversion policies system 注意 如果policies下沒有system這一項。就在po...

登錄檔集合

禁用遠端桌面 hkey local machine system currentcontrolset control terminal server fdenytsconnections,1 禁用登錄檔 hkey current user software microsoft windows cur...

鎖住和解鎖登錄檔

修改登錄檔 hkey current user software microsoft windows currentversion policies system disableregistrytools dword 1 如果system不存在則,新建乙個。然後在system下建立乙個鍵值項disa...