Slow logon to Citrix XA6 published Desktop (windows server 2008 R2) - Internet explorer branding policy

Hi Guys,
I was looking for some expert advice. We have 5 Citrix servers in a farm using TS Roaming profiles. When a user logs into Citrix the log in process hangs for 1 minute on the internet explorer branding policy part. Now I have looked at several threads online regarding this issue and found several other people with the same problem. We are using internet explorer 8 but I have also tested it on a test server with ie9 and still with the same results.

I used GPLOGVIEW to find out what is happening and confirmed that it is the Branding policy that hangs.

To try and correct it I did the follwoing:

- Disabled all the GPOs that had any branding settings
- Added the reg key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\MAIN\FeatureControl\FEATURE_PARSING_BRANDING_CMDLINE_FLAGS_KB941158

I found references to a DLL file but I could not get a version that would work on our server as our server is 64bit.(iedkcs32.dll)

Is there anyone out there that knows or has been through this problem before?
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

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.

MSSC_supportAuthor Commented:
Also, this is the GPLogview result:

2012-03-29 11:21:37.345      5016      Completed Internet Explorer Branding Extension Processing in 37188 milliseconds.
Cláudio RodriguesFounder and CEOCommented:
Have you tried opening a command prompt as administrator and typing rundll32 iedkcs32.dll;Clear ?

Cláudio Rodrigues
Microsoft MVP - RDS
Citrix CTP
Ayman BakrSenior ConsultantCommented:
Do you have folder redirection set? Try adding the following key on the client PCs:


Inside that key add '*' as a REG_DWORD with value of 1.

Note you add the character * without the quotes.
Protecting & Securing Your Critical Data

Considering 93 percent of companies file for bankruptcy within 12 months of a disaster that blocked access to their data for 10 days or more, planning for the worst is just smart business. Learn how Acronis Backup integrates security at every stage

I have published desktops that had a similar issue and found using group policy preferences caused our slow logons.  We could not stop using the preferences so we found a work around.  Each session logon causes files/folders to be written to C:\ProgramData\Microsoft\Group Policy\History.  After a while there are thousands of files in there and each is enumerated during the logon process.  We set this simple script to run everyday to clear the directory and the user complaints went way down.

rd "C:\ProgramData\Microsoft\Group Policy\History" /s /q
MSSC_supportAuthor Commented:
rundll32 iedkcs32.dll;Clear did not work.

Also we have folder redirection but how does the client affect this?

lastly clearing "C:\ProgramData\Microsoft\Group Policy\History" did not work
Ayman BakrSenior ConsultantCommented:
If you have folder redirection then that's fine.

However, did you apply the registry setting I proposed?
MSSC_supportAuthor Commented:
tried the reg fix and this didn't work.
MSSC_supportAuthor Commented:
Anyone else?
MSSC_supportAuthor Commented:
managed to resolve this issue myself.

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
Ayman BakrSenior ConsultantCommented:
To benefit the community it would be ideal to present your solution here and then accept that comment as the solution to your issue.
MSSC_supportAuthor Commented:
resolved this issue myself
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
Windows Server 2008

From novice to tech pro — start learning today.