Citrix: Remove Favorites from the Explorer in Windows 7/ Windows 2008 R2

Share Button

I often publish a desktop in my projects and most of the times the new favorites folder in the explorer has to be removed because it’s not easily managed. I found the following method is pretty straightforward and works too.

Yuri Haak and a couple of other smart guys figured this out on the RESUG forum so I took their tips and made some automation possible. To change the reg keys that can remove the favorites from the explorer you first have to change the rights on the registry key, I did this by using Helge Klein’s SetACL which is an easy tool for such small (but tricky) adjustments.


The following command lines can be used:

“SetACL_x64.exe -on “HKEY_LOCAL_MACHINESOFTWAREClassesCLSID{323CA680-C24D-4099-B94D-446DD2D7249E}ShellFolder” -ot reg -actn ace -ace “n:Administrators;p:full”

“SetACL_x64.exe -on “HKEY_LOCAL_MACHINESOFTWAREClassesCLSID{323CA680-C24D-4099-B94D-446DD2D7249E}ShellFolder” -ot reg -actn ace -ace “n:Administrators;p:full”

After setting the appropriate rights you can change the reg keys so that the Favorites aren’t displayed anymore, I did this by using the following reg file:

Windows Registry Editor Version 5.00





To use this you can save the text into a .reg file and import the file by using the following command:

regedit -s Disable_Favorites.reg

After a reboot the Favorites folder won’t be displayed in the Explorer anymore.

Note: Do this on a test server first before you implement this on your production environtment.



Share Button
  1. k.baggermank.baggerman11-29-2011

    Hi Iain, you’re spot on. Changed the examples. Thanks!

  2. Iain BrightonIain Brighton11-29-2011

    Hi Kees,

    I think the first SetACL command should read “SetACL_x64.exe -on “HKEY_LOCAL_MACHINESOFTWAREClassesCLSID{323CA680-C24D-4099-B94D-446DD2D7249E}ShellFolder” -ot reg -actn ace -ace “n:Administrators;p:full” (no Wow6432Node)?

    Thanks, Iain

Leave a Reply