Solved

Problems with deleteing cached copies of roaming profiles

Posted on 2004-09-15
7
2,562 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 
LVL 35

Author Comment

by:mrichmon
Comment Utility
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
Comment Utility
Good for you mr..  no objections to closing this...
0
 

Accepted Solution

by:
PashaMod earned 0 total points
Comment Utility
Closed, 500 points refunded.
PashaMod
Community Support Moderator
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Can you find a fax from a vendor you saved a decade ago in seconds? Have you ever cursed your PC under your breath during an audit because you couldn’t find the requested statement or driver history?  If you answered no to the first question or yes …
When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup". After a while, you have entered a loop for Auto repair which does not fix anything and you will be in a  panic as all your work w…
This video discusses moving either the default database or any database to a new volume.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

763 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

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now