Windows

How to keep roaming profiles from being cached

How to keep roaming profiles from being cached

We have covering roaming profiles in a few other posts and as most admins already know, roaming profiles can be a literal nightmare to manage or troubleshoot. ย The whole purpose behind roaming profiles is to have a method for your personal settings and files to follow you around when you move to another workstation. ย For instance the icons on your desktop, your “My Documents, Pictures, Downloads,” and other folders contents that are available on one workstation will be available on another. ย The problem happens however when these get out of sync. ย This is typically a common scenario unfortunately. ย Many users will experience very weird things that happen like deleted files or icons showing back up on their next login or things not getting saved like the user thinks they are.

Another issue with roaming profiles when it comes to a large user environment is the amount of disk space that is taken up by the roaming profile cache. ย The purpose of the roaming profile cache is for performance. ย If a user with a 2GB profile logs into a machine they have never logged into before, Windows will sit and copy that entire profile cache from the server down to the workstation the user is logging into. ย The benefits are clear as the next time the user logs in, only the changed data will need to be copied. ย However, what if you don’t want to have this huge cache of profiles on your workstations? ย Let’s say you have a computer lab or other large area of workstations that tens or even hundreds login to daily. ย How can you keep roaming profile data from being cached?

This is a simple registry setting that can be implemented. ย By creating a registry key and flipping the flag on we can set a policy value that tells Windows not to cache the roaming profile data and to purge this data when the user logs off.

  • Simply create aย DWORD registry value calledย DeleteRoamingCache and set the value atย 1

Also, if you can download this registry file here:ย DeleteRoamingCache.reg
Keep in mind, this is best suited for an environment where multiple end users are logging in (lab, kiosk, or commons area). ย This would not be well suited for a power user’s office workstation with a huge profile as this would keep the user’s profile from caching (as it should) and every time the user logs into their workstation, it would copy all the profile data from the server location.
Also, a best case scenario would be not to use roaming profiles and use folder redirection which effectively eliminates data having to move between the server and workstation.

Subscribe to VirtualizationHowto via Email ๐Ÿ””

Enter your email address to subscribe to this blog and receive notifications of new posts by email.



Brandon Lee

Brandon Lee is the Senior Writer, Engineer and owner at Virtualizationhowto.com, and a 7-time VMware vExpert, with over two decades of experience in Information Technology. Having worked for numerous Fortune 500 companies as well as in various industries, He has extensive experience in various IT segments and is a strong advocate for open source technologies. Brandon holds many industry certifications, loves the outdoors and spending time with family. Also, he goes through the effort of testing and troubleshooting issues, so you don't have to.

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.