Keeping The Windows Vista User Folder Clean
Because I’m a stickler for clean UI, I want to ensure users don’t see extra files or folders in their User folder on Windows Vista. I’m trying to avoid something similar to what you can see in the screenshot below, which looks a little out of place:
This location in the UI replaces the Documents folder as the top level navigation tool but it essentially gives you a view of the user profile (%USERPROFILE%). As such, this location cannot be redirected to the network, so it would be advantageous to prevent users from adding data to this folder - otherwise you will need to manage that data. Leaving it inside the roaming profile is probably not the best solution.
Fortunately, Microsoft provide a Group Policy setting that will prevent users from adding files to to this location:
- User Configuration / Policies / Administrative Templates / Windows Components / Windows Explorer / Prevent users from adding files to the root of their User Files folder
When this policy is enabled users will see this behaviour when attempting to copy files into their User folder:
This works well for Explorer but unfortunately I’m struggling to find applications that honour this setting, with Office Communicator and even Windows Live Messenger 9 the biggest culprits so far. These applications create a Tracing folder that is used for diagnostic logging. These keys control where the log is created:
- HKCU\Software\Microsoft\Tracing\uccapi\WindowsLiveMessenger\FileDirectory
- HKCU\Software\Microsoft\Tracing\uccp\Communicator\FileDirectory
- HKCU\Software\Microsoft\Tracing\WPPMedia\WPPFilePath
- HKCU\Software\Microsoft\Tracing\WPPMedia\Debug\WPPFilePath
For each key I’ve changed %USERPROFILE% to %APPDATA% (scripted of course..)
So as we rollout Windows Vista, I’m going to have to keep an eye on more applications but I think I could be in for a losing battle.