Solved

Problems with deleteing cached copies of roaming profiles

Posted on 2004-09-15
7
2,574 Views
Last Modified: 2012-08-14
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
Comment
Question by:mrichmon
7 Comments
 
LVL 40

Expert Comment

by:Fatal_Exception
ID: 12068289
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
 
LVL 5

Expert Comment

by:tebacher
ID: 12068425
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
 
LVL 35

Author Comment

by:mrichmon
ID: 12069288
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
Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

 
LVL 35

Author Comment

by:mrichmon
ID: 12069548
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
 
LVL 40

Expert Comment

by:Fatal_Exception
ID: 12070165
Good for you mr..  no objections to closing this...
0
 

Accepted Solution

by:
PashaMod earned 0 total points
ID: 12094507
Closed, 500 points refunded.
PashaMod
Community Support Moderator
0

Featured Post

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How do I initiate a time sync command to a remote computer? 5 142
Application Not Found 3 102
Looking to disable remote computers 6 78
difference between registeries 3 94
We have adopted the strategy to use Computers in Student Labs as the bulletin boards. The same target can be achieved by using a Login Notice feature in Group policy but it’s not as attractive as graphical wallpapers with message which grabs the att…
It is only natural that we all want our PCs to be in good working order, improved system performance, so that is exactly how programs are advertised to entice. They say things like:            •      PC crashes? Get registry cleaner to repair it!    …
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

839 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