there are several methods to hide local hard drives in xenapp or terminal services for your end users, but i feel only one is superior, group policy loopback processing combined with the new group policy preferences item-level targeting available in server 2008. instead of modifying all of your users individual gpo’s or configuring registry hacks or writing a bunch of bandaid scripts, you need only modify one gpo which is applied to your citrix servers. therefore this cuts down on administration and increases simplicity (kiss). since i haven’t seen many articles explaining this method, here is my first post of march 2013.
essentially what group policy loopback processing does is allow you to completely override or merge user or computer level policies on computers where it is enabled. for clarity i should point out now that this will not prevent users from reading/writing to the drive, as this is a procedure to hide the drive letter from the explorer.exe shell. this will help eliminate end user confusion as many people mistake c:\ in an ica/rdp session to be their local c:\ on their desktop or laptop. in this post, i will hide the drive c:\ for all xenapp users who are not members of domain admins.
create a gpo and link it to the ou where your xenapp/ts server is located. edit and navigate to computer configuration > policies > administrative templates > system > group policy and enable ‘user group policy loopback processing mode’ with the mode set to merge. setting it to merge instead of replace will ensure that all of your existing user policies will remain applied.
in the same gpo, navigate to user configuration > preferences > windows settings > drive maps. right click in the white area new > mapped drive. select the drive you wish to hide and set hide this drive.
go to the common tab and select item-level targeting. new item > security group. item options > is not. select your domain admins group or a group you wish this policy to not apply, such as your technical support team.
if you have any questions, leave a comment below and be sure to share this on your favorite social media platform to help support my ad-free website.