Improve company productivity with a Business Account.Sign Up

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

Local roaming profiles do not merge with server profiles after first logon

Using server 2003 and windows xp workstations and affecting all roaming profiles:
When logging in for the first time on a new workstation, the roaming profile downloads fine. When logging off, any changes made during that session are merged correctly with the server profile - for instance, deleting a favourite and adding a new one is reflected in the server profile after logoff.
But any subsequents logons to that workstation will only use the cached local profile and not merge any changes to the server profile. So if the user has added a printer or favourite while logged on to a different PC, this does not merge across when logging on to the original PC. Also, with the subsequent logons, any additional files and objects are uploaded to the server profile during logoff, but any deletions are not.
Users have full control on their profile folders. Users can also browse to their server profile and create/delete files there.

I want users to be able to delete printers and favourites on one PC and still have them removed when logging on to a different PC they have logged on before. Other folders are redirected (my documents, desktop).

Am I missing something here with the way roaming profiles work, or is there a problem with our roaming profiles?
Currently, we have to delete a cached profile before the user can log on and get the server profile (I checked that the server timestamps are more current than the local ones).

Any help much appreciated
0
DorisOnline
Asked:
DorisOnline
  • 6
  • 4
1 Solution
 
slam69Commented:
Hi,

if machines are always connected to domain for log on could you remove locally stored profiles at log off by removing cached profiles?

to test this edit

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Winlogon

and give value of 0
0
 
slam69Commented:
this will stop the machines from caching local profiles and shoudl request teh profile form teh server each time
0
 
DorisOnlineAuthor Commented:
slam69, I guess you setting the "cachedlogonvalues" to 0? If so, I tried that, and the behaviour did not change; local profiles are still cached and changes are still not replicated through the profile on the server.
0
Easily Design & Build Your Next Website

Squarespace’s all-in-one platform gives you everything you need to express yourself creatively online, whether it is with a domain, website, or online store. Get started with your free trial today, and when ready, take 10% off your first purchase with offer code 'EXPERTS'.

 
slam69Commented:
then you must have a gpo or something overriding as if you set that to 0 no profiles are cached locally
0
 
DorisOnlineAuthor Commented:
As a test, I created a new OU with a test account and two test computers and applied no gpo at all, also blocked inheritance of the default domain policy. Since our accounts regularly show event 1525 (source userenv) in the application event log, I also created a new share called profiles1 on the server and set the test account profile path to this share, making sure offline caching is turned of on this share. This did get rid of the 1525 event, but the original problem remains. Then I set the cachedlogonvalues to 0, removed the cached profile after a reboot, but after logging on and off, the newly created local profile remains.
I applied a new gpo on the test OU with "Delete cached copied of roaming profiles" set to enabled (I guess this does the same thing as setting cachedlogonvalues to 0?), still local profile remains.
Running the group policy results wizard against the pc shows that the gpo (and no other) is indeed applied.
Checking the eventlog does show the occasional event 1517 (source userenv) when user logs off; not sure that's relevant.
Running out of ideas here...
0
 
slam69Commented:
check the following seems to be pointed towards our issue, stated if you have that gpo turned on and no EFS key then this could cause the proble, are you suing efs? try the res anyway see if ti helps
0
 
slam69Commented:
also with same issue.. this basicallymeans the registry is not unloading properly and might be why teh profile is not being written back to server

http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Windows/XP/Q_22630407.html
0
 
DorisOnlineAuthor Commented:
spot on slam69!
I installed UPHClean on the 2 test pcs as advised in your link, and it immediately fixed every problem described so far. The 1517 events disappeared, the gpo to delete cached profiles worked and finally the roaming profiles worked as they should, even after I disabled the gpo to delete the cached profiles and put the pcs and test account back in the old OU.
Turns out, it's the virus scanner causing the problem; not allowing the profile to log off completely.
Here's what UPHClean writes to the eventlog at logoff:

Type:      Information
Source:      UPHClean
Event ID:      1401
Event Time:      12/06/2008 15:40:55
User:      TESTDOMAIN\testprofile
Computer:      testcomputer
Description:
The following handles in user profile hive TESTDOMAIN\testprofile (S-1-5-21-708935558-1860075212-635260049-8103) have been remapped because they were preventing the profile from unloading successfully:
Rtvscan.exe (1616)
  HKCU\Software\Intel\LANDesk\VirusProtect6\CurrentVersion\Custom Tasks\Default Scan Options (0x404)
  HKCU\Software\Intel\LANDesk\VirusProtect6\CurrentVersion\Custom Tasks\c79f36a3-4fd6-47e3-bf24-6bb9937d47df (0x90c)

RTvscan.exe is our AV client - symantec 10.0.0.359 and yest, it's way out of date.
I also tested a pc without installing UPHClean and disabling all symantec services in stead: this also fixed the problem.

This also explains another thing that was bugging us; we could never delete a local profile after logging off without restarting the pc because apparently rtvscan.exe was locking ntuser.dat. Now it deleted fine without a restart.

Thanks for the help slam69
0
 
slam69Commented:
always good to get there in the end, if you can please remember to close the question and attricute points id be grateful!!
0
 
DorisOnlineAuthor Commented:
Thank again
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

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