Hide Specified Drives Group Policy
If you need to hide specific or system drives on a computer or RDS server you can use group policy to do this easily.
First create and link a group policy to the OU in Active Directory where the computer or server resides.
Next enable Loop back processing in replace mode and this will mean that any user who logs into that computer will also get the user section of the policy applied to them when they login.
Next in the policy navigate to:
User Configuration -> Policies -> Administrative Templates -> Windows Components -> File Explorer
Locate the setting ‘Hide these specified drives in My Computer’ and edit it.
Next select the ‘Enabled’ radial button and use the dropdown to specify the drives you need. In my case I chose to restrict all drives then press ok.
The next time someone logs into that computer the setting will apply because loopback processing is enabled.