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
Profile Migration from local to domain Profile.
HI Guys Hope that you can assist me. I need to merge a local profile on a computer it's domain profile. Example local\test1 to domain\0004 Each computer will have its own domain profile, it will not be a roaming profile.
General Discussion
Remove PC from Domain and keep domain profile as local profile?
I want to remove a PC from a domain and keep the actual domain-profile as a local profile. I would like to keep all the settings for the installed programs and all my data in the various user folders like \documents, \music, \videos, \pictures ... Do you have any tutorial like this one to do...
Installation & Setup
Local or Roaming Profile?
I'm creating a 2nd User acct, haven't done this in awhile and not real sure about some logistics thereof. In the User Acct setup I noticed an option to make a User Acct either Local or Roaming. I have a peer to peer workgroup of 3 nodes in my home (no server). When I look on my C drive in the...
General Discussion
"copy this network profile to a usb flash drive" not working
when i clicked on it, nothing happened...
Network & Sharing
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


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 01:09.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App