This script fixes the windows CIS Benchmark check 18.9.28.2: "Ensure 'Do not display network selection UI' is set to 'Enabled'."
The script modifies the registry to set the DontDisplayNetworkSelectionUI value to 1 under the specified path. It then checks the value to confirm it is correctly set. This addresses the CIS check for ensuring the network selection UI is not displayed.
This script fixes the windows CIS Benchmark check 18.9.28.3: "Ensure 'Do not enumerate connected users on domain-joined computers' is set to 'Enabled'."
This script fixes the windows CIS Benchmark check 18.9.28.5: "Ensure 'Turn off app notifications on the lock screen' is set to 'Enabled'."
This script fixes the windows CIS Benchmark check 18.9.28.6: "Ensure 'Turn off picture password sign-in' is set to 'Enabled'."
This script fixes the windows CIS Benchmark check 18.9.31.1: "Ensure 'Allow Clipboard synchronization across devices' is set to 'Disabled'."
This script fixes the windows CIS Benchmark check 18.9.31.2: "Ensure 'Allow upload of User Activities' is set to 'Disabled'."
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'."