[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Windows 7 User Profile Service Error

Posted on 2010-11-09
4
Medium Priority
?
1,615 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 2000 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

Featured Post

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to deal with a specific error when using the Enable-RemoteMailbox cmdlet to create a mailbox in the cloud-based service, for an existing user in an on-premises Active Directory.
Wouldn't it be nice if objects in Active Directory automatically moved into the correct Organizational Units? This is what AutoAD aims to do and as a plus, it automatically creates Sites, Subnets, and Organizational Units.
This Micro Tutorial will give you a basic overview of Windows DVD Burner through its features and interface. This will be demonstrated using Windows 7 operating system.
The viewer will learn how to successfully download and install the SARDU utility on Windows 7, without downloading adware.

656 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