Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Delete copy of local profile not working

05 Mar 2012   #1
ince

Windows 7
 
 
Delete copy of local profile not working

We have the GPO setup at our company which deletes a copy of local profile after 1 day. All our PC are XP Win7

What we are finding is for some reason on log off or on startup it is trying to delete a profile but cant and event viewer show errors either with event code 1533 or 1530

Description:
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.


This isn't happening to all users but we can see many instantance of this issue.

When it cant delete the profile it the goes to put a local copy of the profile in the users folder as username.001, .002 etc

All that is left is a couple of empty folders. (each time the folders are different) the are no security on this folder and they can be delete manually.

Now i did google this and i know this is quite a know issue with the profiles not always being delete. I know about the tools used like uphclean etc which help with this problem alot of people face but its there a permanant fix for this or is this just typical behaviour that we all must live with??

Any help or advice would we great.

Thanks

Steve


My System SpecsSystem Spec
.

06 Mar 2012   #2
Dave Atkin

Windows 7 Ultimate x64
 
 

Hello,

What settings are you applying on the GPO?

Are you diong this:
Using Group Policy to delete cached copies of roaming profiles

I think that the reason its not deleting the profile is because the files are still being used during the log off/log on.


Dave
My System SpecsSystem Spec
06 Mar 2012   #3
ince

Windows 7
 
 

Yes that is the setting we have set, and it works for everyone. We are just noticing sometimes it doesn't work successfully on log off or startup and is just giving a few user profile error as the above event ID. I wont to know why this is happening the event do say what it is struggling with and since there in nothing in the folders to delete what is it actually stuggling with?
My System SpecsSystem Spec
.


06 Mar 2012   #4
Dave Atkin

Windows 7 Ultimate x64
 
 

Have a look on here:
Delete cached copies of roaming profiles – Not behaving

Can you confirm that you are applying the GPO to Computers and not Users?


Thanks
My System SpecsSystem Spec
06 Mar 2012   #5
ince

Windows 7
 
 

Yes i can confirm it is applied to computers and not users
My System SpecsSystem Spec
06 Mar 2012   #6
Dave Atkin

Windows 7 Ultimate x64
 
 

My System SpecsSystem Spec
06 Mar 2012   #7
ince

Windows 7
 
 

Yes i know about UPHcleanup as stated in my original post but my question about is this normaly behaviour and therefore you need to use the cleanup programs when trying to delete cached roaming profiles?
My System SpecsSystem Spec
06 Mar 2012   #8
Dave Atkin

Windows 7 Ultimate x64
 
 

Sorry I shuold have re-read your original post.

It sounds like that is the case. I have not implimented this on any sites in the past though so there is nothing that I can personally relate to. From reading a few other forums it does seam like a common occurence.

I can understand why its not working because the profiles wont dismount whilst being used. Offline files apparently also have an affect on this - Do you have these setup on any of the user accounts?



Dave
My System SpecsSystem Spec
Reply

 Delete copy of local profile not working




Thread Tools





Similar help and support threads
Thread Forum
Copy an Old WIN 7 Profile over to New Win7
I am not sure if this post belongs here but here's my situation. Hard drive crashed. I DO NOT have any Windows Backup in order to restore the user profiles to the new drive. However, I do have a copy (a manual backup) of a profile that contains all the folders (i.e My Documents, My Pictures,...
Backup and Restore
"copy this network profile to a usb flash drive" not working
when i clicked on it, nothing happened...
Network & Sharing
Cannot copy user profile
Frustration. Windows 7 Home premium. I have done everything I can think of and am stumped. The old XP way of creating the new user account, logging into it to create a profile, then copying one profile to another doesn't work. Perhaps there is a good reason. In desperation I even enabled the built...
General Discussion
Local accounts and custom profile
Hi I have Windows 7 SP1 and I want to create a custom default profile so that, when I will have to create the local accounts, they already will have the custom profile. Thanks Bye
Installation & Setup
Use same Local profile for all AD users
Hello: I have a group of computers joined to an AD domain that are running windows 7 Enterprice and the DCs are windows 2008 R2. My objective is to get all of these computers (about 50 of them) so that when any AD user logs in they all use the same profile folder under C:\Users. This means that...
Network & Sharing
Profile: Copy to... greyed out
I've used the Copy to... feature for a while now and never had any problems until now. Ive tried these things: -Created a new account (the one I want to copy the old profile to) as administrator -Logged in that newly created account to prepare desktop -Restarted the computer. -Logged into...
General Discussion

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 19:10.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App