Microsoft KB Archive/186509

= Terminal Server Commands: CPROFILE =

Article ID: 186509

Article Last Modified on 11/1/2006

-

APPLIES TO


 * Microsoft Windows NT Server 4.0, Terminal Server Edition

-



This article was previously published under Q186509



SUMMARY
CPROFILE cleans the specified profiles of wasted space and removes user- specific file associations from the registry when the file associations are disabled. Profiles that are currently in use will not be modified.

Syntax
cprofile [/l] [/i] [/v] [/?] filelist

Parameter
filelist

A list of files from which you want to remove user-specific file associations.

/l

Cleans all local profiles (filelist does not need to be specified).

/i

Interactively prompts the user with each profile.

/v (verbose)

Displays information about the actions being performed.

/?

Displays the syntax for the command and information about the command's options.

Security Restrictions
Only administrators can run cprofile.

CPROFILE -- Additional Notes
File associations allow users to associate a specific application with a specific file type. File association allows the Terminal Server to know what application to use to access files of a particular type. File types are registered using 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 Word Viewer.

User-specific file associations are disabled by executing peruser /disable. If the user-specific file associations are not disabled, cprofile removes only the wasted space from the user's profile. When items are removed from a user's profile, the corresponding registry does not reduce in size. Cprofile is useful in clearing wasted space from the registry.

Note: This command will not modify profiles that are currently in use.

Keywords: kbinfo KB186509

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.