Cprofile
Cleans specified profiles of wasted space and, if user-specific file associations are disabled, removes these associations from the registry. Profiles that are currently in use are not modified.
Syntax
cprofile [/l] [/i] [/v] [FileList]
cprofile [/i] [/v] FileList
Parameters
/l
Cleans all local profiles. You can also specify a list of additional profiles in the FileList parameter.
/i
Interactively prompts the user with each profile.
/v
Displays information about the actions being performed.
FileList
A list of files from which you want to remove user-specific file associations. Separate each file in the list with a space. File names can contain wildcard characters.
/?
Displays help at the command prompt.
Remarks
Only administrators can run cprofile.
A terminal server uses file associations to determine which application to use to access files of various types. File types are registered using Windows Explorer.
Per-user file associations allow each user to have a different application associated with a specific file type. For example, one user could have .doc files associated with Microsoft Word and another user could have .doc files associated with Windows WordPad.
If user-specific file associations are enabled, cprofile only removes the unused space from the user profile. If user-specific file associations are disabled, cprofile also removes the corresponding registry entries.
Examples
To clean all local profiles without being prompted about each one, type:
cprofile /l
cprofile /l /i
|