These two articles lead to the "solution":

http://blogs.msdn.com/b/askie/archive/2012/09/13/things-to-do-when-troubleshooting-internet-explorer-terminal-server-and-profiles.aspx
http://support.citrix.com/article/CTX127874?_ga=1.220881887.652752673.1439035624

I created a GPO to reset IE. The GPO contains two logon scripts:

Script1:

"C:\Windows\SysWOW64\ie4uinit.exe" -UserIconConfig
"C:\Windows\System32\ie4uinit.exe" -BaseSettings
"C:\Windows\SysWOW64\ie4uinit.exe" -BaseSettings
"C:\Windows\System32\ie4uinit.exe" -UserIconConfig
"C:\Windows\System32\regsvr32.exe" /s /n /i:/UserInstall 
C:\Windows\system32\themeui.dll
"C:\Windows\System32\regsvr32.exe" /s /n /i:U shell32.dll
"C:\Windows\System32\regsvr32.exe" /s /n /i:/UserInstall 
C:\Windows\system32\themeui.dll
"C:\Windows\System32\regsvr32.exe" /s /n /i:U shell32.dll
"C:\Windows\SysWOW64\rundll32.exe" C:\Windows\SysWOW64\mscories.dll;Install
"C:\Windows\System32\rundll32.exe" C:\Windows\system32\mscories.dll;Install
"C:\Windows\System32\unregmp2.exe" /FirstLogon /Shortcuts /RegBrowsers /ResetMUI
"C:\Windows\System32\unregmp2.exe" /FirstLogon /Shortcuts /RegBrowsers /ResetMUI
"C:\Program Files\Windows Mail\WinMail.exe" OCInstallUserConfigOE
"C:\Program Files (x86)\Windows Mail\WinMail.exe" OCInstallUserConfigOE

Script2:

Runonce.exe with parameter /AlternateShellStartup

Running these allows IE10 to work every time. Why this is needed is beyond me. 
Some people say it is a registry permissions issue when creating/updating the 
profile but it happens even for domain admins.

All we care is that the users are back testing the new environment.

Thanks


Webster
From: listsadmin@lists.myitforum.com [mailto:listsadmin@lists.myitforum.com] On 
Behalf Of James Rankin
Sent: Tuesday, October 13, 2015 3:04 PM
To: ntsys...@lists.myitforum.com
Subject: [NTSysADM] RE: Issue with WebCacheV01.dat for IE10 and IE11

Bummer. According to the MS docs the index.dat file for cookie storage was 
reinstated but only for users with roaming profiles.

Do you think maybe you could try and set the user profile state Registry key to 
214 (hex) 532 (decimal) in HKLM\Software\Microsoft\Windows 
NT\CurrentVersion\ProfileList\[USERSID]\State (it's a DWORD value) just after 
they log in (but before they launch IE) and see if that makes a difference? 
Long shot, but that might allow you to spoof a roaming profile type for the 
session?


From: listsadmin@lists.myitforum.com<mailto:listsadmin@lists.myitforum.com> 
[mailto:listsadmin@lists.myitforum.com] On Behalf Of Webster
Sent: 13 October 2015 20:56
To: ntsys...@lists.myitforum.com<mailto:ntsys...@lists.myitforum.com>
Subject: [NTSysADM] RE: Issue with WebCacheV01.dat for IE10 and IE11

Unfortunately can't try that here.

From: listsadmin@lists.myitforum.com<mailto:listsadmin@lists.myitforum.com> 
[mailto:listsadmin@lists.myitforum.com] On Behalf Of James Rankin
Sent: Tuesday, October 13, 2015 2:54 PM
To: ntsys...@lists.myitforum.com<mailto:ntsys...@lists.myitforum.com>
Subject: [NTSysADM] RE: Issue with WebCacheV01.dat for IE10 and IE11

What happens if you switch one of the users to a standard roaming profile 
instead of a UPM profile?

I should be able to give this a try myself in a bit - I've been trying to get 
Microsoft to backtrack on their usage of Jet Blue databases for everything for 
a while now. There are three in the user profile in Windows 10 as standard.

Cheers,



JR

From: listsadmin@lists.myitforum.com<mailto:listsadmin@lists.myitforum.com> 
[mailto:listsadmin@lists.myitforum.com] On Behalf Of Webster
Sent: 13 October 2015 20:49
To: ntsys...@lists.myitforum.com<mailto:ntsys...@lists.myitforum.com>
Subject: [NTSysADM] RE: Issue with WebCacheV01.dat for IE10 and IE11

It made no difference so I have taken it out of the policy.


Webster

From: listsadmin@lists.myitforum.com<mailto:listsadmin@lists.myitforum.com> 
[mailto:listsadmin@lists.myitforum.com] On Behalf Of James Rankin
Sent: Tuesday, October 13, 2015 1:13 PM
To: ntsys...@lists.myitforum.com<mailto:ntsys...@lists.myitforum.com>
Subject: [NTSysADM] RE: Issue with WebCacheV01.dat for IE10 and IE11

Excellent...I am spinning up some test VMs now to try and see how it goes.

In a few hours they may finish installing their Windows Updates :-0

From: listsadmin@lists.myitforum.com<mailto:listsadmin@lists.myitforum.com> 
[mailto:listsadmin@lists.myitforum.com] On Behalf Of Webster
Sent: 13 October 2015 16:19
To: ntsys...@lists.myitforum.com<mailto:ntsys...@lists.myitforum.com>
Subject: [NTSysADM] RE: Issue with WebCacheV01.dat for IE10 and IE11

We have added the file to be synchronized in the UPM GPO. Will let you know 
results soon.


Webster

From: listsadmin@lists.myitforum.com<mailto:listsadmin@lists.myitforum.com> 
[mailto:listsadmin@lists.myitforum.com] On Behalf Of James Rankin
Sent: Tuesday, October 13, 2015 10:03 AM
To: ntsys...@lists.myitforum.com<mailto:ntsys...@lists.myitforum.com>
Subject: [NTSysADM] RE: Issue with WebCacheV01.dat for IE10 and IE11

Very good question. As far as I know, the file name and path are the same, just 
the IE10 seems to default to 32MB whereas the IE11 one defaults to 34MB.

Will have a test later

From: listsadmin@lists.myitforum.com<mailto:listsadmin@lists.myitforum.com> 
[mailto:listsadmin@lists.myitforum.com] On Behalf Of Webster
Sent: 13 October 2015 15:26
To: ntsys...@lists.myitforum.com<mailto:ntsys...@lists.myitforum.com>
Subject: [NTSysADM] RE: Issue with WebCacheV01.dat for IE10 and IE11

Have an exclusion set for AppData\Local with the exception of some Outlook 
files.

I can set UPM to roam it but is the file the same for IE10 and IE11? I know it 
is the same name but can the same file be used for 10 and 11?

Thanks


Webster

From: listsadmin@lists.myitforum.com<mailto:listsadmin@lists.myitforum.com> 
[mailto:listsadmin@lists.myitforum.com] On Behalf Of James Rankin
Sent: Tuesday, October 13, 2015 9:19 AM
To: ntsys...@lists.myitforum.com<mailto:ntsys...@lists.myitforum.com>
Subject: [NTSysADM] RE: Issue with WebCacheV01.dat for IE10 and IE11

Out of meeting :)

That file is in %LOCALAPPDATA%, so unless you've specifically set up Citrix UPM 
to roam it, it will be getting recreated each time as it's not roamed by 
default.

If you put a file/directory inclusion into UPM for the file, it should work OK 
I think. Bear in mind it can get quite big though (default is 32MB, I've seen 
it upwards of 128MB).

I'd be interested in hearing more details about this - I'm planning to revisit 
the whole IE 10 Cookies/History thing soon because I believe some things have 
now changed.

Cheers,


JR

From: listsadmin@lists.myitforum.com<mailto:listsadmin@lists.myitforum.com> 
[mailto:listsadmin@lists.myitforum.com] On Behalf Of Webster
Sent: 13 October 2015 14:52
To: ntsys...@lists.myitforum.com<mailto:ntsys...@lists.myitforum.com>
Subject: [NTSysADM] Issue with WebCacheV01.dat for IE10 and IE11

Server 2012 with IE10 and 2012 R2 with IE11 all running XenApp 7.6. All servers 
have been fully patched along with all recommended RDS hotfixes and Citrix 
hotfixes.

Folder Redirection and Citrix User Profile Management are in use.

When a user launches IE or a web app that uses IE (some use Firefox and some 
use Chrome), the first time the app is launched, IE appears to start and then 
exits. The following event is recorded for each user:

taskhostex (6704) WebCacheLocal: Database 
'c:\users\cwebster\AppData\Local\Microsoft\Windows\WebCache\WebCacheV01.dat': 
The secondary index 'PartitionIdIndex' of table 'Containers' may be corrupt. If 
there is no later event showing the index being rebuilt, then please defragment 
the database to rebuild the index.

The second time IE or the app is launched, it runs successfully and any 
subsequent launches of IE that occur for that user on the same server run with 
no issues. Once the user exits IE or a web app their local cached profile is 
deleted. I am wondering if I remove the policy setting to delete the local 
cached copy of the profile, if that would keep this file from constantly having 
to be recreated on each server.

They only have 75 users so I don't believe the space required for the local 
cached profiles will be that much. The servers are virtual so additional space 
can be added to the C drive if needed.

Anyone else seen this issue with IE and this WebCacheV01.dat file? The 
interwebs turn up lots of hits but no real solution yet.

Thanks


Webster


Reply via email to