How to Use Delprof.exe to Delete User Profiles After a Specified Period of Inactivity

The following example describes how to use Delprof.exe to delete user profiles on the local computer that have been inactive for 30 days:

  1. Click Start, point to Programs, point to Accessories, and then click Command Prompt.
  2. At the command prompt, type delprof /p /d:30, and then press ENTER. For each user profile that has not been used on the computer for 30 days, a message is displayed that prompts you to confirm its deletion. For example, you receive a message that is similar to the following message:Delete \\MYCOMPUTER\D$\Documents and Settings\User2? (Yes/No/All)
  3. Complete one of the following actions for each user profile that you are prompted to delete:
    • Type y, and then press ENTER if you want to delete the profile.
    • Type n, and then press ENTER if you do not want to delete the profile.
  4. Type exit, and then press ENTER to quit the command prompt.



Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title="" rel=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>