Solved

Windows 7 User Profile Service Error

Posted on 2010-11-09
4
1,568 Views
Last Modified: 2012-05-10
I enabled "Delete User Profiles Older than X number of days" on four test machines. These machines are running Windows 7 Enterprise.

At first, no old profiles were being deleted. I disabled Windows Defender (as a test) because it was scanning the NTuser.dat file in each local profile. This would change the modify date on the profile which prevented the User Profile Service from deleting it.

Now, the user profile service is cleaning up old profiles but it always leaves the old profile behind with a few empty folders under AppData. Event viewer shows error messages for each profile. They read.

Event 1533: User Profile Service

Windows cannot delete the profile directory C:\Users\USERNAME\. This error may be caused by files in this directory being used by another program.

DETAIL - The directory is not empty.
0
Comment
Question by:Joseph Moody
  • 3
4 Comments
 
LVL 24

Expert Comment

by:Awinish
ID: 34093275
Some files in profile is in use so it find difficult to delete as they are in access, as i have seen inorder to delete someone else profile sometime server has to be booted into normal or safe mode.

You can use UPHclean.

http://blogs.technet.com/b/uphclean/
http://sgwindowsgroup.org/blogs/arther/archive/2009/11/26/uphclean-beta-build-2-0-48-0.aspx
0
 
LVL 24

Accepted Solution

by:
Awinish earned 500 total points
ID: 34093303
0
 
LVL 24

Expert Comment

by:Awinish
ID: 34093365
0
 
LVL 22

Author Closing Comment

by:Joseph Moody
ID: 34136393
I ended up using this as a user profile management script. Thanks!
0

Join & Write a Comment

Introduction You may have a need to setup a group of users to allow local administrative access on workstations.  In a domain environment this can easily be achieved with Restricted Groups and Group Policies. This article will demonstrate how to…
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…
This Micro Tutorial will give you basic overview of the control panel section on Windows 7. It will depth in Network and Internet, Hardware and Sound, etc. This will be demonstrated using Windows 7 operating system.

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now