A registry key is a named hierarchical container in the Windows Registry that stores configuration values and subordinate keys. In server automation, registry keys provide the settings checked and updated when applying a security baseline. section 6.0 section 6.2
Represent each registry check as external, human-readable data containing:
- KeyPath, such as HKLM:\SYSTEM\CurrentControlSet\Services\LanManServer\Parameters\. section 6.2.1
- Name, identifying the registry value to inspect. section 6.2.1
- Expected values and comparison operators, including equals, greater than or equal to, between, and null-or-equal conditions. section 6.2.1
- A nested Tests array when one registry value can satisfy multiple alternatives. section 6.2.1
Security-baseline registry checks
A baseline can require EnableSecuritySignature to equal 1, MaxSize to be at least 32768, AutoDisconnect to fall between 1 and 15, or EnableForcedLogoff to equal 1 or not exist. Get-ItemProperty reads values, while New-ItemProperty changes or adds them. section 6.2
Table 6.1 Registry key values to check (view table figure)
| All key paths start in HKLM:\SYSTEM\CurrentControlSet\Services\ |
||
Browse the registry-path, value-name, expected-value, and condition structure used for baseline checks. section 6.2.1
