[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


IE Cookies need to persist through reboot

Posted on 2008-11-05
Medium Priority
Last Modified: 2013-12-08
I have a HP t5730 running Windows XPe with IE7 installed (factory). We have a program that runs through IE and needs to have a cookie saved on the unit. The problem is that the cookies are dumped after every reboot because the default location is on the Z drive which is ramdisk. When I try to change the location of the Cookie Shell Folder or Cache Shell Folder in:
HKU\(userid)\Software\MIcrosoft\Windows\CurrentVersion\Explorer\Shell Folders\
The next time I open IE, it will change right back to the Z drive. This is even with the EWF disabled.
I just need to save one cookie and let it persist through reboots.

The registry change worked on the t5720 models that we have but they are also running IE6. I don't kow if this is an IE7 issue or a t5730 issue.

Does anyone have any ideas how to change the cookies folder in IE7? (Moving the Cache folder does not redirect the cookie folder.)
Question by:sooper_rebel
  • 2
LVL 50

Expert Comment

ID: 22890882
sooper_rebel--A program such as CCleaner will allow you to keep one cookie and delete all the rest.  See
http://forum.piriform.com/index.php?showtopic=18486  especially post #2
There are other programs that will permit this

Author Comment

ID: 22894963
Hey jcimarron- The cookie is automatically deleted by IE on reboot because the cookies are being saved to RAMDISK. I don't think CCleaner will prevent IE from deleting it.

Accepted Solution

sooper_rebel earned 0 total points
ID: 22896925
I finally found the fix on my own...
With IE6 you could change the shell folders registry values to the path and they would save, however, in IE7, apparently you must change the user shell folders and it will overwrite whatever vlue is in the shell folders value.

For reference,
HKU\(userid)\Software\MIcrosoft\Windows\CurrentVersion\Explorer\User Shell Folders\

From here you can change the path to the cookies and cache folders.

As we in the South say... "SHEW!"

Expert Comment

ID: 23654802
Hi sooper rebel,

I have the exact same problem as you did but I am unable to resolve.  I followed your directions on the registry but unable to resolve

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

IF you are either unfamiliar with rootkits, or want to know more about them, read on ....
Unable to change the program that handles the scan event from a network attached Canon/Brother printer/scanner. This means you'll always have to choose which program handles this action, e.g. ControlCenter4 (in the case of a Brother).
Shows how to create a shortcut to site-search Experts Exchange using Google in the Chrome browser. This eliminates the need to type out site:experts-exchange.com whenever you want to search the site. Launch the Search Engine Menu: In chrome, via you…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question