JSI Tip 1215. How do I add custom registry settings to the Security Configuration Tool Set?

While the Security Configuration Tool Set contains many security settings, it may not include some registry entries that you want to set.

You can extend the tool set by using regedt32 to navigate to:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SeCEdit\RegValues

For each new option that you want displayed under Policies/Security Options, add a subkey that is the registry path to the Value Name you want to set.

Example: If you want to Hide a Server from the Browser, Add Key name:

MACHINE\System\CurrentControlSet\Services\LanmanServer\Parameters\Hidden.

Add three Value Names to this key:

DisplayName - A type REG_SZ entry that contains the text string you want displayed in Policies/Security Options.

DisplayType - A type REG_DWORD entry that lets you select the interface you see when modifying this (Hidden) setting:

              
 Value   Interface 
 0   Enabled/Disabled check box. 
 1   Scroll box (Range from 0-999). 
 2   Text Box. 
 3   Always/As Request/Not Compatible check box. 
 >=4   Enabled; Disabled check box. 

ValueType - A type REG_DWORD entry that specifies the Data Type of the (Hidden) entry:

              
 Value   Data Type 
 0   REG_NONE 
 1   REG_SZ 
 2   REG_EXPAND_SZ 
 3   REG_BINARY 
 4   REG_DWORD 
 5   REG_DWORD_BIG_ENDIAN 
 6   REG_LINK 
 7   REG_MULTI_SZ 
 8   REG_RESOURCE_LIST 
 9   REG_FULL_RESOURCE_DESCRIPTOR 
 A   REG_RESOURCE_REQUIREMENTS_LIST 


Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish