This script fixes the windows CIS Benchmark check 18.9.20.1.7: "Ensure 'Turn off printing over HTTP' is set to 'Enabled'."
The script ensures that the registry key DisableHTTPPrinting is set to 1 under the specified path, which corresponds to enabling the setting. It also verifies the change and reports the result.
This script fixes the windows CIS Benchmark check 18.9.20.1.8: "Ensure 'Turn off Registration if URL connection is referring to Microsoft.com' is set to 'Enabled'."
This script fixes the windows CIS Benchmark check 18.9.20.1.9: "Ensure 'Turn off Search Companion content file updates' is set to 'Enabled'."
This script fixes the windows CIS Benchmark check 18.9.20.1.10: "Ensure 'Turn off the "Order Prints" picture task' is set to 'Enabled'."
This script fixes the windows CIS Benchmark check 18.9.20.1.11: "Ensure 'Turn off the "Publish to Web" task for files and folders' is set to 'Enabled'."
This script fixes the windows CIS Benchmark check 18.9.20.1.12: "Ensure 'Turn off the Windows Messenger Customer Experience Improvement Program' is set to 'Enabled'."
This script fixes the windows CIS Benchmark check 18.9.20.1.13: "Ensure 'Turn off Windows Customer Experience Improvement Program' is set to 'Enabled'."
This script fixes the windows CIS Benchmark check 18.9.20.1.14: "Ensure 'Turn off Windows Error Reporting' is set to 'Enabled'."
The script creates or modifies the registry key to set 'Turn off Windows Error Reporting' to enabled (which disables error reporting). It then verifies the registry value to confirm the setting is correct.
This script fixes the windows CIS Benchmark check 18.9.24.1: "Ensure 'Enumeration policy for external devices incompatible with Kernel DMA Protection' is set to 'Enabled: Block All'."
This script fixes the windows CIS Benchmark check 18.9.25.1: "Ensure 'Configure password backup directory' is set to 'Enabled: Active Directory' or 'Enabled: Azure Active Directory'."