Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Problems with deleteing cached copies of roaming profiles

Posted on 2004-09-15
7
Medium Priority
?
2,589 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

 
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

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)

Question has a verified solution.

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

There are 2 things you must have in order to connect to the internet behind a router, The "Gateway IP" of the router, which is usually something like 192.168.xxx.1, I've seen routers with default values of: 192.168.0.1, 192.168.1.1, 192.168.11.1, …
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…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…

688 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