Optional overrides for Microsoft Security Baseline¶
Since Microsoft Security Baselines are geared towards Enterprise level security, some functionalities that home users might require are disabled. Use the following overrides in the Harden Windows Security module to bring back those functionalities. Some of these are necessary when using the module in Azure VMs.
Important
All of the features and functionalities listed below are enabled by default in Windows.
1. Windows Game Recording and Broadcasting¶
This setting enables or disables the Windows Game Recording and Broadcasting features. If you disable this setting, Windows Game Recording will not be allowed. If the setting is enabled or not configured, then Recording and Broadcasting (streaming) will be allowed.
Policy path:
Computer Configuration\Administrative Templates\Windows Components\Windows Game Recording and Broadcasting
2. Prohibit use of Internet Connection Sharing on your DNS domain network¶
Determines whether administrators can enable and configure the Internet Connection Sharing (ICS) feature of an Internet connection and if the ICS service can run on the computer.
ICS lets administrators configure their system as an Internet gateway for a small network and provides network services, such as name resolution and addressing through DHCP, to the local private network.
If you enable this setting, ICS cannot be enabled or configured by administrators, and the ICS service cannot run on the computer. The Advanced tab in the Properties dialog box for a LAN or remote access connection is removed. The Internet Connection Sharing page is removed from the New Connection Wizard. The Network Setup Wizard is disabled.
If you disable this setting or do not configure it and have two or more connections, administrators can enable ICS. The Advanced tab in the properties dialog box for a LAN or remote access connection is available. In addition, the user is presented with the option to enable Internet Connection Sharing in the Network Setup Wizard and Make New Connection Wizard. (The Network Setup Wizard is available only in Windows XP Professional.)
By default, ICS is disabled when you create a remote access connection, but administrators can use the Advanced tab to enable it. When running the New Connection Wizard or Network Setup Wizard, administrators can choose to enable ICS.
Note: Internet Connection Sharing is only available when two or more network connections are present.
Note: When the "Prohibit access to properties of a LAN connection," "Ability to change properties of an all user remote access connection," or "Prohibit changing properties of a private remote access connection" settings are set to deny access to the Connection Properties dialog box, the Advanced tab for the connection is blocked.
Note: Non-administrators are already prohibited from configuring Internet Connection Sharing, regardless of this setting.
Note: Disabling this setting does not prevent Wireless Hosted Networking from using the ICS service for DHCP services. To prevent the ICS service from running, on the Network Permissions tab in the network's policy properties, select the "Don't use hosted networks" check box.
Policy path:
Computer Configuration\Administrative Templates\Network\Network Connections\Prohibit use of Internet Connection Sharing on your DNS domain network
3. Firewall local rule merging¶
This can prevent Hyper-V default switch from working properly, please see this forum post on Microsoft Tech Community for more info.
The Group policies that we change back to default values are located in:
Computer Configuration\Windows Settings\Security Settings\Windows Defender Firewall with Advanced Security\
From there you need to select properties and then in each relevant profile tab, you need to select Customize and change the 2 settings for Rule merging to Yes (Default) and also set Display a notification to Yes, which is the default value in Windows.
Here is an screenshot of the settings for the Public Profile tab:
4. Deny write access to removable drives not protected by BitLocker¶
Disabling this policy because it can cause inconvenience and if your flash drive is BitLocker encrypted, it can't be used as a bootable Windows installation USB flash drive.
Policy path:
Computer Configuration\Administrative Templates\Windows Components\BitLocker Drive Encryption\Removable Data Drives\Deny write access to removable drives not protected by BitLocker
5. Set the status of these 4 Xbox services back to their default states¶
XboxGipSvc
, XblAuthManager
,XblGameSave
,XboxNetApiSvc
Microsoft Security Baseline sets their status to disabled.
Policy path:
6. Enable Clipboard and Drive redirection when using Remote Desktop connection¶
It is necessary when using Hyper-V VM Enhanced session mode and you want to copy items between guest and host OS.
Policy path:
Computer Configuration\Administrative Templates\Windows Components\Remote Desktop Services\Remote Desktop Session Host\Device and Resource Redirection\
7. Enable the XblGameSave Standby Task¶
The scheduled task is disabled as a result of applying the Microsoft Security Baselines. Using the optional overrides, it will be enabled and its status will be set back to the default state. The task syncs Xbox game saves on PC.
PowerShell command
8. Enable Microsoft Defender exclusion lists to be visible to Local Admins¶
Disables this policy which is located in the following Group Policy path
Computer Configuration\Administrative Templates\Windows Components\Microsoft Defender Antivirus\Control whether or not exclusions are visible to Local Admins
9. Disabled "Turn off Microsoft Consumer Experiences"¶
It disables some important features in Windows Settings -> Bluetooth & Devices -> Mobile Devices
More info in this PR
10. Disabled "Configure password backup directory"¶
Microsoft Security Baselines set its value to "Active Directory", but since the Harden Windows Security module does not apply to computers managed by domain controllers or Entra ID, there is no need for this policy to be active.
11. Enabled "Apply UAC restrictions to local accounts on network logons"¶
A Security feature that is enabled by default and should stay enabled.
12. Restores the ability of Administrator to enable Sudo¶
Microsoft Security baselines disable the usage of Sudo which also makes the Sudo option hidden from Windows settings.
Computer Configuration\Administrative Templates\System\Configure the behavior of the sudo command --> Maximum allowed sudo mode