Link to home
Start Free TrialLog in
Avatar of AdoBeebo
AdoBeebo

asked on

Partially exclude a directory from a roaming profile

Hi

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.

Thanks

AdoBeebo
ASKER CERTIFIED SOLUTION
Avatar of Mike Kline
Mike Kline
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
How about writing a script or batch file to clear out the log files when the program is closed (if they are not needed)?
This question has been classified as abandoned and is being closed as part of the Cleanup Program. See my comment at the end of the question for more details.