JSI Tip 5277. How do I remove wasted space in user profiles by using Windows 2000 Terminal Services?
Jerold Schulman
May 6, 2002
1 Min Read
The Cprofile command removes wasted space from user profiles, and if user-specific file associations are turned off, it also removes file associations from the user's profile.
When you open a CMD prompt and type cprofile /?, you receive:
Cleans the specified profiles of wasted space and removes user-specific fileassociations from the registry when disabled.CPROFILE [/L] [/I] [/V] filelistThis tool will not modify profiles that are currently in use. /L Clean all local profiles (filelist need not be specified). /I Interactively prompt the user with each profile. /V Provide verbose output.
When using filelist to add additional profiles, separate each profile with a space, as in:
"c:documents and settingstuser.dat" "c:documents and settingstuser.dat" OR"\C$Documents and Settingstuser.dat" "\C$Documents and Settingstuser.dat"
Since cprofile will not modify profiles that are in use, you could schedule the command to run during off hours. Make sure you DO NOT use the /I switch when scheduling the cprofile command.
About the Author
Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.
You May Also Like