Is there a tool I can use to delete user profiles?

A. Microsoft provides the user profile deletion tool, which you can download at . 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 Files\Windows Resource Kits\Tools>delprof /p /d:7
Delete C:\Documents and Settings\john? (Yes/No/All) n
Delete C:\Documents and Settings\Administrator? (Yes/No/All) n

Hide comments


  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.