What parts of a Roaming Profile get uploaded in Windows 7?

In previous versions of Windows, the Roaming Profile is uploaded only when the user logs off. However, in Windows 7, a Group Policy setting can allow the registry file to be uploaded in the background. The setting is called Background upload of roaming user profile’s registry file while user is logged on.

However, with this setting set, the Win32_UserProfile LastUploadTime field in WMI still only reflects the last log off. I assume that this is because more than just the registry file need to be uploaded to the server in order to qualify as a full upload.

So, my question is: What other parts of the profile are uploaded on log off?


Solution 1:

Everything in the local user profile folder (pointed to by the environment variable %USERPROFILE%) gets synchronized with the roaming profile on the file server at logoff, except folders configured in the exclusion list.

On Windows 7 the exclusion list contains by default:

  • $Recycle.bin
  • AppData\Local
  • AppData\LocalLow

On Windows 10 1511 the exclusion list contains by default:

  • $Recycle.bin
  • AppData\Local
  • AppData\LocalLow
  • OneDrive
  • Work Folders

The list is stored in the registry, at

HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Winlogon\ExcludeProfileDirs

It can be configured via the Group Policy setting

User Configuration\Administrative Templates\System\User Profiles\Exclude directories in roaming profile.

For more information please see my article How to Reduce the Size of Roaming Profiles and Microsoft Knowledge base articles KB315415 and KB814592.

Solution 2:

Lots of things - it sounds like your understanding of Roaming Profiles is fairly lacking. The user registry (Which is really NTUSER.DAT) is only one half of the story. I'd suggest browsing to your roaming profiles location (The one on the server, rather than the workstation) and you'll all of the other stuff such as Application Data and maybe the Desktop etc etc.

All of the things you see there are uploaded at log off, and downloaded at log on.