Software

Tech Tip: Automatically clean up roaming profiles

User profiles are downloaded from the server to the local machine when a roaming user logs on to a system. When the roaming user logs off, the system saves a copy of the user's roaming profile in a special cache on the local hard drive.

This cache helps the user log on to the system in the event that the server that stores the roaming profile is slow to respond or unavailable when the user logs on again. However, when many roaming users access the same system, the roaming profile cache on the local hard drive can become quite large.

Here's how to automatically delete the roaming profile when the roaming user logs off:

  1. Launch the Registry Editor (Regedit.exe).
  2. Go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows
    NT\CurrentVersion\Winlogon.
  3. Right-click the Winlogon key, and select New | DWORD value.
  4. Name the value DeleteRoamingCache, and press [Enter] twice to access the Edit DWORD Value dialog box.
  5. Type 1 in the Value Data text box, and click OK.
  6. Close the Registry Editor.

You may need to restart the system or log out of Windows XP for the change to take effect.

Note: Editing the registry is risky, so make sure you have a verified backup before saving any changes.

Editor's Picks