Windows 7 Registry Tweaks

Guy recommends :
Free Solarwinds
VM Console

Solarwinds VM Console Free Download

Find out which of your VMs are a waste of space and which VMs need more resources.



Delete Roaming Profile Cache

Delete Roaming Profile Cache

Having a roaming profile save time for users who hot-desk.  However, a roaming profile can cause confusion and slow logon when misused.  The killer reason to delete roaming profiles is where you have a 'Kiosk' machine with mainly one-off users.  What can happen is that the disk fills up with roaming profiles that will never be used again.

Other scenarios where deleting roaming profiles helps are, if you get calls to the helpdesk about broken shortcuts, or error messages saying: 'Roaming profile cannot be found.'

Topics for Deleting Roaming Profile Cache

 ♦

Update on Delete Roaming Profile Cache

This DeleteRoamingCache registry tweak works in Windows NT 4.0 and Windows 2000.  However, it does not seem delete the roaming profile cache in XP, Vista or Windows 7.

My advice is to abandon the registry and check your Group Policies, look for:
Delete cached copies of roaming profiles

Logic for Delete Roaming Profiles

The key question with tweaking the registry setting to delete roaming profiles is: 'Where does the cache get deleted?  On the server or the Windows 7 computer?'  The answer is on the machine where you set the value, DeleteRoamingCache=1.

Here is a classic case of checking that your logic matches the registry's; in this instance, a value of 1 means: no roaming caches gets saved.  To be doubly clear, 1 means that all roaming profiles get deleted on that computer

On the other hand, changing to DeleteRoamingCache=0, would be a double negative, (don't delete), therefore you would end up with roaming profiles!

Background to Delete Roaming Cache

This registry dword, DeleteRoamingCache, controls whether or not, the local computer saves a copy of a user's roaming profile when users logoff.

Roaming profiles are stored on a server.  However, by default, when a user with a roaming profile logsoff, the system saves an additional copy of their profile on the local hard drive.  This scheme was designed to give roaming users faster logon, especially when network traffic was busy.

The incentive to change the default behaviour occurs when lots of roaming users logon to one 'kiosk' machine.  As a result, the disk fills up with profiles, and if it's unlikely they will ever logon again, you may as well make a registry tweak which deletes these unwanted roaming profiles.

Registry Instructions for DeleteRoamingCacheDelete Roaming Profile Cache

  1. Launch Regedit. (See more details on starting regedit)
  2. Navigate to this path:
    **HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
  3. Create a new DWORD called DeleteRoamingCache 
  4. Setting a hex value of 00000001 deletes all local roaming profiles.
  5. See Screenshot below.

Registry Screenshot of DeleteRoamingCache

DeleteRoamingCache No Roaming Cache

Here is an alternative location for DeleteRoamingCache
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\System

While it worked in Windows 2000, again creating a delete roaming profile value in the registry seems to have no effect in XP, Vista or Windows 7.

Registry Screenshot of DeleteRoamingCache No Roaming Cache

Free Permissions Analyzer for Active DirectoryGuy Recommends: Permissions Analyzer - Free Active Directory Tool

I like the Permissions Monitor because it enables me to see quickly WHO has permissions to do WHAT.  When you launch this tool it analyzes a users effective NTFS permissions for a specific file or folder, takes into account network share access, then displays the results in a nifty desktop dashboard!

Think of all the frustration that this free utility saves when you are troubleshooting authorization problems for users access to a resource.

Download Permissions Analyser - Free Active Directory Tool

Key Learning Points

  • Check your logic.  Especially with the double-negative behavior of: DeleteRoamingCache = 0
  • Do you find the DeleteRoamingCache value in HKCU** or HKLM? 
    Answer: HKLM.
  • Should you create a value, or modify an existing setting? 
    Answer: Create a DWORD called: DeleteRoamingCache. 
    Then assign it a hex value of 00000001 
  • Is DeleteRoamingCache a String Value or a DWORD? 
    Answer: DWORD.
  • Do you need to Restart, or merely Log Off / On? 
    Answer: Restart the local machine.
  • Tip: Add this Value, DeleteRoamingCache to Regedit's Favorites menu.

** HKLM is an abbreviation of HKEY_LOCAL_MACHINE, and HKCU is shorthand for HKEY_CURRENT_USER.  These acronyms are so well-known that you can even use them in .reg files; Vista will understand and obey the registry instruction.

Creating a .Reg File

This page explains how to create, and then edit .reg files for your computer.  As it's easy to import the contents of a .reg file into the registry, do take extra care with procedures.  Example DeleteRoamingCache  .reg file.

Summary of  How to Delete a Roaming Profile Cache on a Windows 7 Computer

This registry tweak had its hey day in Windows 2000.  While you can still add DeleteRoamingCache to the registry in Windows 7 it does not seem to have the desired effect of deleting roaming profiles.

If you like this page then please share it with your friends

 


More Windows 7 Registry Tweaks

 *


Custom Search

Guy Recommends: SolarWinds Free IP SLA MonitorSolarwinds IP Sla Monitor

SolarWinds IP SLA Monitor offers so much more than just uncovering network bottlenecks, the real joy is learning about router traffic.

To find out what's happening on the network between your computers and their routers, download your free copy of the of IP SLA Monitor.

Home Copyright © 1999-2012 Computer Performance LTD All rights reserved

Please report a broken link, or an error.