CertCities.com  -- The Ultimate Site for Certified IT Professionals
Free CertCities.com Newsletter via E-mail Share share | bookmark | e-mail
 Microsoft®
 Cisco®
 Security
 Oracle®
 A+/Network+™
 Linux/Unix
 More Certs
 Newsletters
 Salary Surveys
 Forums
 News
 Exam Reviews
 Tips
 Columns
 Features
 PopQuiz
 RSS Feeds
 Press Releases
 Contributors
 About Us
 Search
 

Advanced Search
 Free Newsletter
  Sign-up for the #1 Weekly IT
Certification News
and Advice.
Subscribe to CertCities.com Free Weekly E-mail Newsletter
CertCities.com

See What's New on
Redmondmag.com!

Cover Story: IE8: Behind the 8 Ball

Tech-Ed: Let's (Third) Party!

A Secure Leap into the Cloud

Windows Mobile's New Moves

SQL Speed Secrets


CertCities.com
Let us know what you
think! E-mail us at:
ccfeedback@certcities.com


 
 
...Home ... Editorial ... Columns ..Column Story Friday: July 30, 2010
TechMentor Conferences


 Tip o'the Week  
Zubair      Alexander
Zubair Alexander


  • PRINTABLE FORMAT
  • E-MAIL STORY
  • POST YOUR COMMENTS
  • MORE COLUMNS
  •  Deleting Old User Profiles in Windows 2000/XP/2003
    Is there a script to get rid of old profiles?
    by Zubair Alexander  
    5/14/2008 -- There are several old profiles taking up disk space on our workstations that we would like to get rid of. Is there a script or any other easy way that we can delete these old profiles?

    Solution:
    Microsoft offers a utility in the Windows Server 2003 Resource Kit called the User Profile Deletion Utility (DelProf.exe). It's a command-line tool that you can use to delete your old profiles on Windows 2000/XP/2003 computers. You can use this utility to delete user profiles on local or remote computers.

    Make sure that you're logged in as a member of the Administrators group to use this utility. Because this tool will delete everything in the user's profile, you might want to make sure that there's no data or favorites that you need to back up for the user before you use DelProf.exe.

    At the command prompt, type delprof /? in the folder where the tool was installed. Here's what the syntax looks like:

    delprof /q /i /p /r /c:\\computer name /d:days

    • /q: Runs Delprof.exe in quiet mode so you won't be prompted to confirm the deletion of each profile.
    • /i: Ignores errors.
    • /p: Specifies that a message is displayed that prompts you to confirm the deletion of each profile.
    • /r: Specifies to delete the roaming profile cache only so the local profiles on the computer won't be deleted.
    • /c:\\computer name: Specifies the name of the computer where you want to run delprof.exe.
    • /d:days: Specifies the number of days after which delprof.exe considers the profiles as inactive and will delete the profiles that are older than the specified value.

    Check out the file DelProf.mht file included with this tool for more information and step-by-step instructions.


    Zubair Alexander, MCSE, MCT, MCSA and Microsoft MVP is the founder of SeattlePro Enterprises, an IT training and consulting business. His experience covers a wide range of spectrum: trainer, consultant, systems administrator, security architect, network engineer, author, technical editor, college instructor and public speaker. Zubair holds more than 25 technical certifications and Bachelor of Science degrees in Aeronautics & Astronautics Engineering, Mathematics and Computer Information Systems. His Web site, www.techgalaxy.net, is dedicated to technical resources for IT professionals. Zubair may be reached at alexander@techgalaxy.net.

     


    More articles by Zubair Alexander:
  • FrontPage Server Extensions on 64-bit Windows Server 2008
  • Synching Outlook 2007 Contacts with SharePoint
  • Saving SharePoint Files to the Server
  • Moving, Deleting a File That's Always in Use

  • -- advertisement --


    There are 2 CertCities.com user Comments for “Deleting Old User Profiles in Windows 2000/XP/2003”
    Page 1 of 1
    5/16/10: Bhamun from Currently Viet Nam says:Hi everyone. I'm new here. Just wanted to say hi
    6/19/10: Rayz Bare from United States says: #.com.vn Mình mới biết đến diễn đàn này, mình rất muốn tham gia, và được chia sẻ với các bạn trong diễn đàn
    Your comment about: “Deleting Old User Profiles in Windows 2000/XP/2003”
    Name: (optional)
    Location: (optional)
    E-mail Address: (optional)
    Comment:
       

    top