7
2
9
0
This script fixes the windows CIS Benchmark check 18.9.33.6.1: "Ensure 'Allow network connectivity during connected-standby (on battery)' is set to 'Disabled'."
The script sets the registry value DCSettingIndex to 0 at the specified path and then verifies that the value is correctly applied.
This script fixes the windows CIS Benchmark check 18.9.33.6.2: "Ensure 'Allow network connectivity during connected-standby (plugged in)' is set to 'Disabled'."
This script fixes the windows CIS Benchmark check 18.9.33.6.3: "Ensure 'Allow standby states (S1-S3) when sleeping (on battery)' is set to 'Disabled'."
This script fixes the windows CIS Benchmark check 18.9.33.6.4: "Ensure 'Allow standby states (S1-S3) when sleeping (plugged in)' is set to 'Disabled'."
This script fixes the windows CIS Benchmark check 18.9.35.2: "Ensure 'Configure Solicited Remote Assistance' is set to 'Disabled'."
This script fixes the windows CIS Benchmark check 18.9.36.1: "Ensure 'Enable RPC Endpoint Mapper Client Authentication' is set to 'Enabled'."
This script fixes the windows CIS Benchmark check 18.9.47.5.1: "Ensure 'Microsoft Support Diagnostic Tool: Turn on MSDT interactive communication with support provider' is set to 'Disabled'."
This script fixes the windows CIS Benchmark check 18.9.47.11.1: "Ensure 'Enable/Disable PerfTrack' is set to 'Disabled'."
This script fixes the windows CIS Benchmark check 18.9.49.1: "Ensure 'Turn off the advertising ID' is set to 'Enabled'."
The script checks if it is running with administrative privileges, creates the necessary registry key if it does not exist, sets the "DisabledByGroupPolicy" DWORD value to 1 under the specified path, and then verifies that the value is correctly set. If the value is set as required, it reports a pass; otherwise, it reports a failure.
This script fixes the windows CIS Benchmark check 18.9.51.1.1: "Ensure 'Enable Windows NTP Client' is set to 'Enabled'."