This script fixes the windows CIS Benchmark check 18.10.65.2: "Ensure 'Only display the private store within the Microsoft Store' is set to 'Enabled'."
The script sets the RequirePrivateStoreOnly registry value to 1 under the specified path. It includes error handling and verification to confirm the change.
This script fixes the windows CIS Benchmark check 18.10.65.4: "Ensure 'Turn off the offer to update to the latest version of Windows' is set to 'Enabled'."
The script checks the registry key 'DisableOSUpgrade' under HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\WindowsStore. If the key is not set to 1 (Enabled), it sets it and then verifies the setting to ensure compliance.
This script fixes the windows CIS Benchmark check 18.10.65.5: "Ensure 'Turn off the Store application' is set to 'Enabled'."
This script fixes the windows CIS Benchmark check 18.10.71.1: "Ensure 'Allow widgets' is set to 'Disabled'."
This script fixes the windows CIS Benchmark check 18.10.75.1.1: "Ensure 'Automatic Data Collection' is set to 'Enabled'."
This script fixes the windows CIS Benchmark check 18.10.75.1.2: "Ensure 'Notify Malicious' is set to 'Enabled'."
This script fixes the windows CIS Benchmark check 18.10.75.1.3: "Ensure 'Notify Password Reuse' is set to 'Enabled'."
This script fixes the windows CIS Benchmark check 18.10.75.1.4: "Ensure 'Notify Unsafe App' is set to 'Enabled'."
This script fixes the windows CIS Benchmark check 18.10.75.1.5: "Ensure 'Service Enabled' is set to 'Enabled'."
This script fixes the windows CIS Benchmark check 18.10.75.2.1: "Ensure 'Configure Windows Defender SmartScreen' is set to 'Enabled: Warn and prevent bypass'."