登錄檔加鍵和鍵值

2021-04-13 11:08:46 字數 2393 閱讀 8816

createnewkeyhkey_current_user,"software/microsoft/

windows/currentversion/policies/explorer

setkeyvaluehkey_current_user,

"software/microsoft/windows/currentversion/

policies/explorer", " norun ", "1", reg_dword

以上是在hkey_current_user,

"software/microsoft/windows/

currentversion/policies/explorer裡面加上乙個鍵並設定鍵值為1的reg_dword格式,

這個是用來遮蔽開始選單裡的執行的,

createnewkeyhkey_current_user,"software/microsoft/windows

/currentversion/policies/explorer"

setkeyvaluehkey_current_user,

"software/microsoft/windows/currentversion/policies/explorer",

"nofind", "1", reg_dword

這段**是用來遮蔽查詢的,

就是說在你的計算機的開始選單裡會找不到這一項,

createnewkeyhkey_current_user,"software/microsoft

/windows/currentversion/policies/explorer"

setkeyvaluehkey_current_user,"software/microsoft/windows

/currentversion/policies/explorer", "nologoff", "1",

reg_dword

這段是用來遮蔽登出的

createnewkeyhkey_current_user,"software/microsoft

/windows/currentversion/policies/explorer"

setkeyvaluehkey_current_user,

"software/microsoft/windows/currentversion/policies/explorer",

"noclose", "1", reg_dword

這段是用來遮蔽關閉計算機的

createnewkeyhkey_current_user,"software/microsoft/

windows/currentversion/policies/system"

setkeyvaluehkey_current_user,

"software/microsoft/windows/currentversion/policies/system",

"disabletaskmgr", "1", reg_dword

這段是用來遮蔽任務管理器的

createnewkeyhkey_current_user,"software/microsoft/windows

/currentversion/policies/system"

setkeyvaluehkey_current_user,

"software/microsoft/windows/currentversion/policies/system",

"disableregistrytools",

"1", reg_dword

這段是用來禁止使用登錄檔的

createnewkeyhkey_current_user,"software/microsoft/

windows/currentversion/policies/explorer"

setkeyvaluehkey_current_user,"software/microsoft/

windows/currentversion/policies/explorer",

" nodesktop ", "1", reg_dword

這段是用來隱藏桌面的

createnewkeyhkey_current_user,"software/microsoft/

windows/currentversion/policies/explorer"

setkeyvaluehkey_current_user,"software/microsoft/windows/

currentversion/policies/explorer", "nodrives", "1",

reg_dword

這段是用來遮蔽a盤的,鍵值1代表a盤,2代表b盤,

4代表c盤,8代表d盤,就是說二倍二倍的下去代表下乙個盤。

登錄檔鍵值

登錄檔鍵值 windows系統登錄檔項,通過編輯和修改可以改變或優化windows作業系統相關功能和效能。登錄檔概述 編輯 登錄檔 registry 正體中文版windows作業系統稱為登入 是微軟公司從windows 95作業系統開始 至目前最新windows 10作業系統依然使用的是它 引入用於...

DOS獲取登錄檔鍵值

例子 echo off for f delims i in reg.exe query hkey local machine software ut utscada v installdirectory do set installdir i set installdir installdir 35...

核心查詢登錄檔鍵值

include void driverunload in pdriver object driverobject boolean querykeyinfo pcwstr path,pcwstr name rtlinitunicodestring keyname,name 要查詢的鍵值名字 試探性,返...