7
2
9
0
This script fixes the windows CIS Benchmark check 18.7.11: "Ensure 'Point and Print Restrictions: When updating drivers for an existing connection' is set to 'Enabled: Show warning and elevation prompt'."
The script checks the current registry setting, updates it if necessary to 'Enabled: Show warning and elevation prompt' (UpdatePromptSettings = 0), and verifies the change. It follows the principle of least privilege by requiring administrator rights.
This script fixes the windows CIS Benchmark check 18.8.1.1: "Ensure 'Turn off notifications network usage' is set to 'Enabled'."
This script fixes the windows CIS Benchmark check 18.8.2: "Ensure 'Remove Personalized Website Recommendations from the Recommended section in the Start Menu' is set to 'Enabled'."
This function modifies the registry to comply with the CIS benchmark by setting the 'HideRecommendedPersonalizedSites' key to 1 (Enabled). It then verifies that the key is set correctly and outputs the result.
Set-CisStartMenuRecommendationFixThis function must be run with administrative privileges.
This script fixes the windows CIS Benchmark check 18.9.3.1: "Ensure 'Include command line in process creation events' is set to 'Enabled'."
The script ensures that the registry key 'ProcessCreationIncludeCmdLine_Enabled' is set to 1 under the path 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\Audit'. It first checks for necessary prerequisites, sets the registry value, and then verifies that the setting is correct.
None This script does not require any parameters. It performs the fix and verification automatically.
This script fixes the windows CIS Benchmark check 18.9.4.1: "Ensure 'Encryption Oracle Remediation' is set to 'Enabled: Force Updated Clients'."
This script fixes the windows CIS Benchmark check 18.9.4.2: "Ensure 'Remote host allows delegation of non- exportable credentials' is set to 'Enabled'."
This script fixes the windows CIS Benchmark check 18.9.5.1: "Ensure 'Turn On Virtualization Based Security' is set to 'Enabled'."
This script fixes the windows CIS Benchmark check 18.9.5.2: "Ensure 'Turn On Virtualization Based Security: Select Platform Security Level' is set to 'Secure Boot' or higher."
This script fixes the windows CIS Benchmark check 18.9.5.3: "Ensure 'Turn On Virtualization Based Security: Virtualization Based Protection of Code Integrity' is set to 'Enabled with UEFI lock'."
This script fixes the windows CIS Benchmark check 18.9.5.4: "Ensure 'Turn On Virtualization Based Security: Require UEFI Memory Attributes Table' is set to 'True (checked)'."