Added to product since then. Deprecated this article.
Product Version: 5.5 and up
Expires on: 365 days from publish date
Updated: June 19, 2014
Internet Explorer ( v. 10 and 11 ) cookies and history do not persist from one user session to another
It was noted Microsoft changed the behavior around handling of history and cookies after IE 9, where the browsers now use a webcache file/DB. This file has issues as it remains locked even after browser close. As a result we’ve found this file to be locked at system exit and not available for portability.
The issue here is that webCache file is locked by the system.
This is a known Windows issue and the suggested solution is a workaround to that problem.
The mentioned file is located in the following directory.
There are two known workarounds to the issue.
--- FIRST ---
It is possible to resolve this issue by using Folder Redirection for Local Application Data . This can be to a UNC, a VHD drive or to a mapped drive.
For more information:
- Redirection to a VHD drive
- Redirection to a mapped drive (steps 1 through 3)
--- SECOND ---
If it is not possible to redirect application data because of some environmental requirements the following method will help solving the problem.
- Create a Application Launcher rule (this step is required to fix history)
2. Add/change the ruleset for Internet Explorer (this step is needed for both the cookies and the history)
Please remove the following entries from Registry Ruleset
a. Exclude Tree HKCU Software\Microsoft\Windows\CurrentVersion\Internet Settings\5.0
b. Exclude Tree HKCU Software\Microsoft\Windows\CurrentVersion\Internet Settings\CACHE
Please make sure the File System ruleset looks like the below example.
3. Create a user defined scrip rules to run a command line scrip (pre-logoff) (this step is required to fix cookies)
- Copy/paste - taskkill.exe /F /im iexplore.exe
- Copy/paste - taskkill.exe /F /im taskhost.exe
- Copy/paste - taskkill.exe /F /im dllhost.exe
- Copy/paste - taskkill.exe /F /FI "USERNAME eq SYSTEM" /IM dllhost.exe