Help with event id 1526 "Windows did not load your roaming profile


We are running Presentation Server 4.5 with now almost 50 machines in our farm.

We get this in the event log (randomly) and sometimes 20 users in a day and sometimes just 5. Event ID: 1526

Windows did not load your roaming profile and is attempting to log you on with your local profile. Changes to the profile will not be copied to the server when you logoff. Windows did not load your profile because a server copy of the profile folder already exists that does not have the correct security. Either the current user or the Administrator's group must be the owner of the folder. Contact your network administrator.

 

We have tried using the xcacls from http://www.brianmadden.com/forums/t/26502.aspx for all users on the tsprofiles server and then deleting their profile on all 50 servers in \documents adn settings\%username% and that works for that user for a day, or even a week and then it starts over again.  Any ideas as to how to finally make this go away for good.  This is really getting annoying in farm of almost 50 servers and 2500 users.  

We do have a GPO that is setup as

 Administrative Templateshide
Policy definitions (ADMX files) retrieved from the local machine.System/Group Policyhide
Policy Setting Comment
User Group Policy loopback processing mode Disabled  

System/User Profileshide
Policy Setting Comment
Delete cached copies of roaming profiles Enabled  

Windows Components/Terminal Services/Terminal Server/Connectionshide
Policy Setting Comment
Set rules for remote control of Terminal Services user sessions Enabled

and also a redirect policy for the users with:

Windows Settingshide
Folder Redirectionhide
Documentshide
Setting: Basic (Redirect everyone's folder to the same location)hide
Path: \\meanserver\Private$\%USERNAME%\MyDocs
Optionshide
Grant user exclusive rights to Documents Disabled
Move the contents of Documents to the new location Disabled
Also apply redirection policy to Windows 2000, Windows 2000 server, Windows XP, and Windows Server 2003 operating systems Enabled
Policy Removal Behavior Restore contents

Musichide
Setting: Follow the Documents folder
Pictureshide
Setting: Follow the Documents folder
Videoshide
Setting: Follow the Documents folder

if that helps.  Please help! thanks!

LVL 1
The_SpazAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

amichaellCommented:
Are you running UPHClean on your servers?  If not, give that a shot.  Sometimes a profile will not delete itself as it may have a handle open.  UPHClean closes those handles allowing the profile to delete itself upon user logoff.  
0
Robin CMSenior Security and Infrastructure EngineerCommented:
Yes use UPHClean always (even if you're not getting this problem).
http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=1b286e6d-8912-4e18-b570-42470e2f3582

How are you setting the location to store the roaming profiles?
Group policy or via the user account configuration in active directory?
Check permissions on that folder/share.
Are any profiles being saved back?
Could be AV scanning on the file server used to hold the roaming profiles locking one of the files and preventing the terminal server copying it at user logon. Try temporarily excluding the profiles folder. Check for locked files on the file server and see what has them locked (probably use process explorer).
0
The_SpazAuthor Commented:
Sorry forgot to mention that
yes. We are already running UPHClean on all machines and the setting for roaming profiles is in Active Directory.  Also, incase you are going to ask if the place for the profile and the tsprofile are in different places that answer is also yes (as recommended by Citrix).

0
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

Robin CMSenior Security and Infrastructure EngineerCommented:
ok:
Are any profiles being saved back?

Could be AV scanning on the file server used to hold the roaming profiles locking one of the files and preventing the terminal server copying it at user logon. Try temporarily excluding the profiles folder. Check for locked files on the file server and see what has them locked (probably use process explorer from sysinternals (free)).
Is it a Windows server holding the romaing profiles?
0
The_SpazAuthor Commented:
We have verified the AV server is not Holding the profile(s) and yes all 50 (almost) are running Windows Server 2003 with the latest patches with Presentation Server 4.5.

Keep bringing the suggestions this way, please...
0
The_SpazAuthor Commented:
Here is what I have done which we will find out in a few days if it has resolved the issue. I deleted all the users profiles from each server in c:\documents and settings\%username% and then created a script that goes thru on the tsprofile server and runs the following for each user.
subinacl.exe /file e:\data\tsprofiles\%1 /setowner=Administrators
subinacl.exe /subdirectories e:\data\tsprofiles\%1\*.* /setowner=Administrators
XCACLS e:\data\tsprofiles\%1 /C /G BCH\%1:F system:F %COMPUTERNAME%\Administrators:F "CORP\domain admins":F /T /y
This is essentialy based of the Knowledge base article
http://support.microsoft.com/default.aspx?scid=kb;en-us;327462
but it then also gives the Domain Admins rights to their TSProfiles incase we need to fix down the road.   Since we have over 400 users and soon to be 2500 I created a users.txt file that had all the users in it that called the above.  Here is that script:
@echo off
for /f %%i in (users.txt) do call fixservers.cmd %%i
and the permission part above is called fixservers.cmd.   Again, I will look again at this in a few days and repost if it has fixed the problem for all or not.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Robin CMSenior Security and Infrastructure EngineerCommented:
Check the permissions on the folder that is shared out for the roaming profiles (i.e. e:\data\tsprofiles).
Should be:
Administrators: full control
Creator Owner: full control
Users: Special (list and create folders only)
This assumes your users are a member of domain users, and domain users is a member of the local users group no the server hosting e:\
There is a policy setting you should apply to your terminal servers to give admins access to profiles:
Computer configuration, administrative templates, system, user profiles:
Add the Administrators security group to roaming user profiles
You might also like to use the Delete cached copies of roaming profiles policy, and if you get it all working also turn on the Do not log users on with temporary profiles policy. I have all three on and have no problems. The latter is handy as it doesn't confuse your users with wierd looking desktops - though it assumes that your profiles share is pretty highly available.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Citrix

From novice to tech pro — start learning today.