18.9.59.3.11.2 (L1) Ensure 'Do not use temporary folders per session' is set to 'Disabled'

Information

By default, Remote Desktop Services creates a separate temporary folder on the RD Session Host server for each active session that a user maintains on the RD Session Host server. The temporary folder is created on the RD Session Host server in a Temp folder under the user's profile folder and is named with the sessionid. This temporary folder is used to store individual temporary files.
To reclaim disk space, the temporary folder is deleted when the user logs off from a session.
The recommended state for this setting is: Disabled.

Rationale:
Disabling this setting keeps the cached data independent for each session, both reducing the chance of problems from shared cached data between sessions, and keeping possibly sensitive data separate to each user session.

Solution

To establish the recommended configuration via GP, set the following UI path to Disabled:
Computer Configuration\Policies\Administrative Templates\Windows Components\Remote Desktop Services\Remote Desktop Session Host\Temporary Folders\Do not use temporary folders per session
Note: This Group Policy path is provided by the Group Policy template TerminalServer.admx/adml that is included with all versions of the Microsoft Windows Administrative Templates.

Impact:
None - this is the default behavior.

Default Value:
Disabled. (Per-session temporary folders are created.)

References:
1. CCE-34531-4

See Also

https://workbench.cisecurity.org/benchmarks/14249