Is there a tool I can use to delete user profiles?
John Savill
June 24, 2006
1 Min Read
A. Microsoft provides the user profile deletion tool, which you can download at http://www.microsoft.com/downloads/details.aspx?familyid=901A9B95-6063-4462-8150-360394E98E1E&displaylang=en . The tool lets you use a command line to delete user profiles. It has a number of switches that, for example, can remove all profiles that are inactive for a configurable amount of time and can operate on both local and remote computers.
By default, the tool simply runs through all profiles, and when used with the /p switch, will prompt whether the profile should be deleted or not. Used with the /d switch to specify a number of days of inactivity, the utility becomes more useful, as this sample execution shows:
C:Program FilesWindows Resource KitsTools>delprof /p /d:7Delete C:Documents and Settingsjohn? (Yes/No/All) nDelete C:Documents and SettingsAdministrator? (Yes/No/All) n
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