How can I stop certain folders being replicated as part of the user profile?

A. Service Pack 4 introduced a new registry setting, ExcludeProfileDirs, which can be used to exclude certain directories from the replication of user profiles.

To implement perform the following:

  1. Start the registry editor (regedit.exe)
  2. Move to HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Winlogon
  3. From the Edit menu select New - String value
  4. Enter a name of ExcludeProfileDirs and press Enter
  5. Double click the new value and set to the relevant areas, separating them by semi-colons, for example
    Local Settings\Application Data\Microsoft\Outlook;Temporary Internet Files;Personal
    Click OK
  6. Close the registry editor

This can also be done via a system policy:

  1. Start the Policy Editor (poledit.exe)

  2. Create a new policy (or open an existing one providing it was created after SP4 installation)

  3. Double click Default User

  4. Expand 'Windows NT User Profiles'

  5. Check the 'Exclude directories in roaming profile'

  6. In the data box type the name of the directories to be excluded
    Click here to view image

  7. Click OK

  8. Save the policy to the netlogon share of the PDC

Hide comments


  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.