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'."
This script fixes the windows CIS Benchmark check 18.10.77.1: "Ensure 'Enables or disables Windows Game Recording and Broadcasting' is set to 'Disabled'."
This script fixes the windows CIS Benchmark check 18.10.79.1: "Ensure 'Allow suggested apps in Windows Ink Workspace' is set to 'Disabled'."
This script fixes the windows CIS Benchmark check 18.10.79.2: "Ensure 'Allow Windows Ink Workspace' is set to 'Enabled: On, but disallow access above lock' OR 'Enabled: Disabled'."
This script fixes the windows CIS Benchmark check 18.10.81.1: "Ensure 'Enable MPR notifications for the system' is set to 'Disabled'."
This script fixes the windows CIS Benchmark check 18.10.81.2: "Ensure 'Sign-in and lock last interactive user automatically after a restart' is set to 'Disabled'."
This script fixes the windows CIS Benchmark check 18.10.86.2: "Ensure 'Turn on PowerShell Transcription' is set to 'Enabled'."
This script fixes the windows CIS Benchmark check 18.10.88.1.3: "Ensure 'Disallow Digest authentication' is set to 'Enabled'."
The script ensures that the registry key for WinRM Client is configured to disallow Digest authentication by setting the 'AllowDigest' value to 0. It then verifies the setting to confirm the CIS check passes.
This script fixes the windows CIS Benchmark check 18.10.88.2.4: "Ensure 'Disallow WinRM from storing RunAs credentials' is set to 'Enabled'."
The script sets the registry key DisableRunAs to 1 under the specified path and checks if the change was successful. It ensures the script runs with administrative privileges and handles errors appropriately.