REMPROF is a command-line utility to delete local user profiles that are NOT in use when this command is executed. This utility was written to replace the command DELPROF.EXE currently found in the MS Windows Resource Kit. This utility offers extra features that will be of benefit to all admins. REMPROF has the ability to delete user profiles on the local machine based on age, username, or SID association. If a username has been deleted from a Domain or Workgroup, the profile often still exists with only a SID assigned to identify it. REMPROF can delete these profiles completely from the file system and registry regardless of the profile age, and without removing existing profiles of the same age. This tool could be simply run from the command line at any time, or added as a SCHEDULED TASK for regular cleaning of user profiles, reducing the overall disk space used for locally based profiles. REMPROF will only function when executed by a user with ADMIN rights to the profile directory. Usage: REMPROF [/LIST|username|/A|/D:days|/AD:days] [/EXCLUDE:usernames] [/?] /LIST - List all user profiles currently not in use (Default). username - Delete user profile based on username. /A - Delete all user profiles that have no username association including abandoned profile folders. i.e. The username has been deleted in Active Directory but a profile still exists in form of a SID or the profile did not unload correctly and a residue profile folder exists. /D:days - Delete all user profiles equal to or older than the number of days specified. NB: /D: without a number is equal to /D:0. /D:0 will remove CURRENT user profiles not in use. /AD:days - Delete all user profiles that have no username association and are equal to or older than the number of days specified. NB: /AD: without a number is equal to /AD:0. /EXCLUDE:username/s - Exclude particular users from being deleted. Can accept multiple entries, seperated by comma. Must be last command line argument. Unassociated profiles cannot be excluded. Do not include the Domain Name. /? - show this help file REMPROF without parameters will execute the /LIST switch by default. E.G. REMPROF /D:10 /EXCLUDE:bob,mary This command will delete any profile equal or older than 10 days, excluding any profile whose username is bob or mary. This utility is FREEWARE and was written by Warren Simondson of Ctrl-Alt-Del IT Consultancy, Australia. www.ctrl-alt-del.com.au Although written for Terminal Server and Citrix environments, this application will function on non-TS/Citrix workstations and servers. This application has been tested on the following platforms: Windows 2008 Server Windows 2003 Server SP1 Windows 2003 Server SP1 w/ Citrix PS 4.0/ XA 5.0 Windows 2003 Server SP1 (Terminal Server Application Mode) Windows 2000 Server SP4 Windows 2000 Server SP4 w/ Citrix MF XP Windows 2000 Server SP4 (Terminal Server Application Mode) Windows 2000 Server SP4 w/ Citrix MF 1.8 Windows XP Professional (domain member) Windows Vista (domain member) The freeware version is offered AS IS. Ctrl-Alt-Del IT Consultancy has made every effort possible to ensure that REMPROF is free of any bugs or errors, however in no way is REMPROF to be considered error or bug free. You assume all responsibility for any damages or lost data that may result from any errors or bugs in REMPROF. IN NO EVENT WILL CTRL-ALT-DEL IT CONSULTANCY BE LIABLE TO YOU FOR ANY GENERAL, SPECIAL, INDIRECT, CONSEQUENTIAL, INCIDENTAL OR OTHER DAMAGES ARISING OUT OF THIS PRODUCT.