We use roaming profiles on our network. One of the applications we support generates logs which end up in the user's profile. These log files grow to epic proportions, often over 2GB in size across many daily log files. This causes slow and unreliable logons for the users and take up huge amounts of space on the profile share.
The solution is to exclude the directory in GP. However, there is one file and one subdirectory (called 'prefs') which need to continue roaming with the user. How can I exclude all of the files and folders with one file and one folder exception? In the GPMC there is only an option to exclude entire directories, and sadly the log files that are causing the issue are all at the root of the directory.