用文件修改注册表项的权限

来源:互联网 发布:云计算安全论文 编辑:程序博客网 时间:2024/05/08 15:21

example:

建立big.ini文件,将其中写入

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\360SafeLive.Update [2 8 19]    

运行中敲入 regini {big.ini的路径}


  Some general rules are

           Backslash character is a line continuation character

           Values should come before child keys

           For key names, leading and trailing space characters are ignored and 
           not included in the key name, unless the key name is surrounded by 
           quotes.  Imbedded spaces are part of a key name. 

           Key names can be followed by an Access Control List (ACL) which is a 
           series of decimal numbers, separated by spaces, bracketed by a 
           square brackets (e.g.  [8 4 17]).  The valid numbers and their 
           meanings are: 

              1  - Administrators Full Access 
              2  - Administrators Read Access 
              3  - Administrators Read and Write Access 
              4  - Administrators Read, Write and Delete Access 
              5  - Creator Full Access 
              6  - Creator Read and Write Access 
              7  - World Full Access 
              8  - World Read Access 
              9  - World Read and Write Access 
              10 – World Read, Write and Delete Access 
              11 – Power Users Full Access 
              12 – Power Users Read and Write Access 
              13 – Power Users Read, Write and Delete Access 
              14 – System Operators Full Access 
              15 – System Operators Read and Write Access 
              16 – System Operators Read, Write and Delete Access 
              17 – System Full Access 
              18 – System Read and Write Access 
              19 – System Read Access 
              20 – Administrators Read, Write and Execute Access 
              21 – Interactive User Full Access 
              22 – Interactive User Read and Write Access 
              23 – Interactive User Read, Write and Delete Access 

           If there is an equal sign on the same line as a left square bracket 
           then the equal sign takes precedence, and the line is treated as a 
           registry value.  If the text between the square brackets is the 
           string DELETE with no spaces, then REGINI will delete the key and 
           any values and keys under it. 

           For registry values, the syntax is: 

              value Name = type data 

           Leading spaces, spaces on either side of the equal sign and spaces 
           between the type keyword and data are ignored, unless the value name 
           is surrounded by quotes.  If the text to the right of the equal sign 
           is the string DELETE, then REGINI will delete the value. 

           The value name may be left off or be specified by an at-sign 
           character which is the same thing, namely the empty value name.  So 
           the following two lines are identical: 

              = type data 
              @ = type data 

           This syntax means that you can’

           For 

           For


原创粉丝点击