Profile Management 2103

Include and exclude items

As a prerequisite, ensure that you understand how inclusions and exclusions work. For more information, see Include and exclude items. For information on the default included and excluded items, see Default inclusions and exclusions.

Use Enter to separate multiple entries when you include and exclude items.

To include items

Tips: If desired, you can include specific top-level folders. In a collaborative environment, this step has the advantage of flagging critical folders to other administrators.

  1. Under Profile Management > Registry, double-click the Inclusion list policy.

  2. Select Enabled.

  3. Add any profile-related registry keys in the HKEY_CURRENT_USER hive that you want to be processed during logoff. Example: Software\Adobe.

  4. Under Profile Management > File system > Synchronization, double-click the Directories to synchronize policy.

  5. Select Enabled.

  6. Add any folders that you want Profile Management to process but that are located in excluded folders.

    Profile Management synchronizes each user’s entire profile between the system it is installed on and the user store. It is not necessary to include subfolders of the user profile by adding them to this list. Paths on this list can be absolute or relative. Relative paths are interpreted as being relative to the user profile. Example:

    • Desktop\exclude\include - ensures that the subfolder called include is synchronized even if the folder called Desktop\exclude is not.
  7. Under Profile Management > File system > Synchronization, double-click the Files to synchronize policy.

  8. Select Enabled.

  9. Profile Management synchronizes each user’s entire profile between the system it is installed on and the user store. It is not necessary to include files in the user profile by adding them to this list.

    This setting allows for the inclusion of files inside excluded folders. Paths on this list can be absolute or relative. Relative paths are interpreted as being relative to the user profile. Wildcards can be used but are allowed only for file names. Wildcards cannot be nested and are applied recursively. Examples:

    • AppData\Local\Microsoft\Office\Access.qat - specifies a file inside a folder that is excluded in the default configuration.
    • AppData\Local\MyApp\*.cfg - specifies all files with the extension .cfg in the profile folder AppData\Local\MyApp and its subfolders.
    • AppData\Local\CiscoSpark\*spark_roaming_store.db - specifies the spark_roaming_store.db file in a subfolder under AppData\Local\CiscoSpark, for example, AppData\Local\CiscoSpark\<example subfolder>\spark_roaming_store.db.

If Inclusion list is not configured here, the value from the .ini file is used. If this setting is not configured here or in the .ini file, the entire HKEY_CURRENT_USER hive is processed.

If Directories to synchronize is not configured here, the value from the .ini file is used. If this setting is not configured here or in the .ini file, only non-excluded folders in the user profile are synchronized. Disabling this setting has the same effect as enabling it and configuring an empty list.

If Files to synchronize is not configured here, the value from the .ini file is used. If this setting is not configured here or in the .ini file, only non-excluded files in the user profile are synchronized. Disabling this setting has the same effect as enabling it and configuring an empty list.

For your changes to take effect, run the gpupdate /force command from the command prompt as documented at https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/gpupdate.

To exclude items

  1. Under Profile Management > Registry, click the Exclusion list policy.

  2. Select Enabled.

  3. Click Show and add any registry keys in the HKCU hive that you do not want to be processed during logoff. Example: Software\Policies.

  4. Under Profile Management > File system, double-click the Exclusion list - directories policy.

  5. Select Enabled.

  6. Add any folders that you do not want Profile Management to process. Folder names can be specified as absolute paths or as paths relative to the user profile (%USERPROFILE%). Use that variable to locate the profile but do not enter the variable itself in this policy. Omit initial backslashes from paths.

    Examples:

    • Desktop. Does not process the Desktop folder in the user profile.
    • MyApp\tmp. Does not process the folder %USERPROFILE%\MyApp\tmp.
  7. Under Profile Management > File system, double-click the Exclusion list - files policy.

  8. Select Enabled.

  9. Add any files that you do not want Profile Management to process. File names can be specified as absolute paths or as paths relative to the user profile (%USERPROFILE%). Use that variable to locate the profile but do not enter the variable itself in this policy. Wildcards are allowed and are applied recursively.

    Examples:

    • *.tmp ignores all temp files in %USERPROFILE%.
    • appData\roaming\MyUnwantedApp*.tmp ignores all files with the extension .tmp in %USERPROFILE% for the specified application.

If Exclusion list is disabled, no registry keys are excluded. If this setting is not configured here, the value from the .ini file is used. If this setting is not configured here or in the .ini file, no registry keys are excluded.

If Exclusion list - directories is disabled, no folders are excluded. If this setting is not configured here, the value from the .ini file is used. If this setting is not configured here or in the .ini file, no folders are excluded.

If Exclusion list - files is disabled, no files are excluded. If this setting is not configured here, the value from the .ini file is used. If this setting is not configured here or in the .ini file, no files are excluded.

For your changes to take effect, run the gpupdate /force command from the command prompt as documented at https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/gpupdate.

Include and exclude items