Solved

Problems with deleteing cached copies of roaming profiles

Posted on 2004-09-15
7
2,568 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
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
XP won't boot 27 134
Remote Exchange powershell-ing 25 104
Exe program is not a valid Win 32 application 15 104
Windows XP - Change Motherboard CPU and RAM infinite restart 19 98
Ok I have been working on this for some time having learned and gained certification in XenDesktop 4 along came version 5 which was released last month. Since then I have been working to deploy XenDesktop 5 in a small environment with only 2 virt…
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…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

910 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

21 Experts available now in Live!

Get 1:1 Help Now