Windows 7 Forums


Windows 7: Delete copy of local profile not working

05 Mar 2012   #1

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 Windows 7

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

Windows 7 Ultimate x64
United Kingdom
 
 

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

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

Windows 7 Ultimate x64
United Kingdom
 
 

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

Windows 7
 
 

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

Windows 7 Ultimate x64
United Kingdom
 
 

My System SpecsSystem Spec
06 Mar 2012   #7

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

Windows 7 Ultimate x64
United Kingdom
 
 

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 problems?



Thread Tools



Similar help and support threads for: Delete copy of local profile not working
Thread Forum
Cannot copy user profile General Discussion
Local accounts and custom profile Installation & Setup
Use same Local profile for all AD users Network & Sharing
Speed up VDI logon by pointing all users to an existing local profile Installation & Setup
Profile: Copy to... greyed out General Discussion


All times are GMT -5. The time now is 12:50 AM.


Seven Forums Android App Seven Forums IOS App Follow us on Facebook

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
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32