You used the Windows 2000 Resource Kit Utility DelProf to delete old profile folders in Windows 2000/XP/Server 2003. You may not need it in Windows Vista, as Windows Vista includes a new Group Policy setting to automatically delete user profile folders that are older than a specified number of days.
The new Group Policy setting is "Delete user profiles older than a specified number of days on system restart".
CAUTION: There seems to be a bug in the above GPO which causes unexpected deletion of user profiles that have been used within the specified period. This bug is documented in KB945122. There is no official word on whether or not the bug fix is included in Windows Vista Service Pack 1. Therefore, before using this GPO, you need to obtain and apply the Hotfix 945122 from Microsoft.
(This article applies to Windows Vista Ultimate, Business and Enterprise Editions. Note that Windows Vista Home editions don’t include the Group Policy Editor.)
1. Click Start, type GPEDIT.MSC and press ENTER
2. Expand Computer Configuration | Administrative Templates | System
3. Click User Profiles
4. Double-click Delete user profiles older than a specified number of days on system restart
5. Select Enabled, Specify the number of days and click OK.

More information on this GPO is available from Microsoft Knowledge Base article 940017.
Related Posts
- Fix Windows Easy Transfer Error “You’re Currently Logged on Using a Temporary Profile” In Windows 7
- “Open With” Window Appears When Opening Command Prompt
- Do Not Move Special Folders in Windows to the Root!
- How to Fix a Corrupted Recycle Bin in Windows 7 and Windows Vista
- How to Recover Windows Mail Data and Settings From a Corrupted User Profile
If you enjoyed this post, make sure you subscribe to our RSS feed! We feature Tips, Troubleshooting information, Scripts and Utilities for Microsoft Windows Operating Systems!
Prefer an E-mail subscription?



