Information
This policy setting allows you to manage configuration of remote access to all supported shells to execute scripts and commands.
The recommended state for this setting is: Disabled.
Note: The GPME help text for this setting is incorrectly worded, implying that configuring it to Enabled will reject new Remote Shell connections, and setting it to Disabled will allow Remote Shell connections. The opposite is true (and is consistent with the title of the setting). This is a wording mistake by Microsoft in the Administrative Template.
Rationale:
Any feature is a potential avenue of attack, those that enable inbound network connections are particularly risky. Only enable the use of the Windows Remote Shell on trusted networks and when feasible employ additional controls such as IPsec.
Solution
To establish the recommended configuration via GP, set the following UI path to Disabled:
Computer Configuration\Administrative Templates\Windows Components\Windows Remote Shell\Allow Remote Shell Access
Note: This Group Policy path is provided by the Group Policy template WindowsRemoteShell.admx/adml that is included with all versions of the Microsoft Windows Administrative Templates.
Impact:
New Remote Shell connections are not allowed and are rejected by the workstation.
Default Value:
Enabled. (New Remote Shell connections are allowed.)