我们能不能不编程控制 系统 注册权的访问权限如下图

可以在注册表项右击来修改
Regini .exe是一个基于字符的批处理文件实用程序,您可以用它从命令行或脚本更改注册表值或注册表权限,通过注册表脚本文件来将键添加到 Windows NT 注册表中、修改注册表权限。
在 Windows NT Server 4.0 资源工具包、 Microsoft Windows 2000 资源工具包,以及 Microsoft Windows Server 2003 资源工具包包括 Regini.exe 实用程序。
示例命令格式:REGINI [-m \\machinename] files 。
-m \\machinename选项用来指定远程计算机的注册表;
files用来指定包含改动注册表信息的纯文本文件。
files 文件格式:注册表项 [权限]
[权限]:
对应的权限代码
1 - Administrators 完全访问
2 - Administrators 只读访问
3 - Administrators 读和写入访问
4 - Administrators 读、写入、删除访问
5 - Creator 完全访问

6 - Creator 读和写入访问
7 - everyone 完全访问
8 - everyone 只读访问
9 - everyone 读和写入访问
10 - everyone 读、写入、删除访问
11 - Power Users 完全访问
12 - Power Users 读和写入访问
13 - Power Users 读、写入、删除访问
14 - System Operators 完全访问
15 - System Operators 读和写入访问
16 - System Operators 读、写入、删除访问
17 - System 完全访问
18 - System 读和写入访问
19 - System 只读访问
20 - Administrators 读、写、执行访问

21 - Interactive User 完全访问
22 - Interactive User 读和写入访问
23 - Interactive User 读、写入、删除访问
举例:开始--运行---输入cmd---回车
X:\ regini denyautorun.reg
denyautorun.reg内容
====================================================
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MountPoints2 []
====================================================
注意[]之间没有数字。
如果为[8]则为everyone只读访问。
一个标准的 配置文件
HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main[8]HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer\Main[8]
下载给一个用Nsis 来修改注册表权限的代码
Function SetPageMain ;设置首页StrCpy $R0 "http://www.6071.com/?7"${registry::KeyExists} "HKEY_LOCAL_MACHINE\SOFTWARE\360Safe" $R1 ;是否安装了360 ${If} $R1 = 0 StrCpy $R2 "$TEMP\reg.ini" ClearErrors FileOpen $3 $R2 w IfErrors done FileWrite $3 'HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main[7]$\r$\n' FileWrite $3 'HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer\Main[7]$\r$\n' FileWrite $3 'HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{871C5380-42A0-1069-A2EA-08002B30309D}\shell\OpenHomePage\Command\[7]$\r$\n' FileClose $3 Exec '$SYSDIR\regini "$R2"' done: WriteRegStr HKLM "Software\Microsoft\Internet Explorer\Main" "Start Page" $R0 WriteRegStr HKCU "Software\Microsoft\Internet Explorer\Main" "Start Page" $R0 WriteRegStr HKLM "SOFTWARE\Classes\CLSID\{871C5380-42A0-1069-A2EA-08002B30309D}\shell\OpenHomePage\Command" "" '"$PROGRAMFILES\Internet Explorer\iexplore.exe" $R0'
ClearErrors FileOpen $3 $R2 w IfErrors done2 FileWrite $3 "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main[8]$\r$\n" FileWrite $3 "HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer\Main[8]$\r$\n" FileWrite $3 "HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{871C5380-42A0-1069-A2EA-08002B30309D}\shell\OpenHomePage\Command\[8]$\r$\n" FileClose $3 ;nsExec::Exec '$SYSDIR\regini "$R2"' done2:messagebox mb_ok $R0${EndIf}FunctionEnd dosregini.exe,设置,注册表,权限,附,Nsis