Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2594
  • Last Modified:

Problems with deleteing cached copies of roaming profiles

I have the following setting in my group policy :

Delete cached copies of roaming profiles - Enabled

However, the profiles are not getting deleted at user logoff.  Instead they are not getting deleted until the machine is rebooted.

I found this note on Microsoft's site:

If a profile is marked for deletion at logoff, when the reference count drops to zero, it will be unloaded and deleted. In the event that the application never releases the registry key, Windows XP will delete all profiles marked for deletion at the next machine boot.

Note that if a roaming user logs onto back onto a machine that failed to unload her profile previously, and the profile has still not unloaded, the user will receive the currently loaded profile. If the user has logged onto another computer in the meantime, and made changes to their profile, the changes will not be available on the machine with the “locked” profile.


However, there was no solution posted.

Additionally I know that the files that are locked in the profile are these 2:

1) ntuser.man
2) ntuser.man.log

Any ideas as to what program is locking these files?

Thanks
0
mrichmon
Asked:
mrichmon
1 Solution
 
Fatal_ExceptionCommented:
It could be the cause of a conflicting GPO.  Try creating a test user in a new security group, and apply just that GPO to that test user and see what happens...  If it works, then you must look carefully at the policies you have in place on the old OU..

FE
0
 
tebacherCommented:
You can also try running Microsoft's utility UPHClean... It releases the locked files in roaming profiles when users log off.

Get it here:
http://www.microsoft.com/downloads/details.aspx?FamilyID=1b286e6d-8912-4e18-b570-42470e2f3582&displaylang=en
0
 
mrichmonAuthor Commented:
tebacher,

Yes someone else sent me taht link as well.

I'll try it and if it works give you the points.

The interesting thing is we don't necessarily want to remove this "bug/feature", but do want to know what is causing the locks to remian.
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
mrichmonAuthor Commented:
Okay I found the problem by closer examination of the Application Log in Event Viewer

It was the fact that windows itself puts a lock on the files if the share location where the profiles are kept does not have the following setting set:

Go to Properties of the Share --> Sharing --> Offline Settings --> FIles or programs from the share will not be available offline

If you do not have this setting as above on a share that houses roaming profiles then Micorsoft says there is the potential for file corruption.

(I guess windows locks the files to try to prevent this)

Anyway, changing the setting to the above will fix the problem.
0
 
Fatal_ExceptionCommented:
Good for you mr..  no objections to closing this...
0
 
PashaModCommented:
Closed, 500 points refunded.
PashaMod
Community Support Moderator
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now