How to Move IE Temporary Internet Files Folder to Default Location

Screenshots showing how to change the location of the temporary internet files in IE in Windows XP
Temporary Internet Files Location Information.

By default, the Temporary Internet Files folder in Internet Explorer is located in the C:\Documents and Settings\[username]\Local Settings folder in Windows XP. As the name would suggest, the IE browser uses this folder to store temporary internet files.

If for some reason the location of that folder has moved — like due to a malware issue or a change you made yourself — some very specific issues and error messages can occur, the ieframe.dll DLL error being a common example.

Moving this folder back to its default location is easy through Internet Explorer's own settings, so you don't have to remove and reinstall Internet Explorer or reset all of its options.

Tip: If you don't remember changing this folder location yourself, and especially if your computer is behaving abnormally, be sure to run a malware scan to remove any potentially unwanted program that could have changed the folder location without you knowing.

Reset the Internet Files Folder to Its Default Location

You can move the Internet Explorer Temporary Internet Files folder to its default location in Windows XP through the Internet Options window.

  1. Configure Windows XP to show hidden files and folders. Some steps below require that hidden folders are viewable so this prerequisite is a must-do.
  2. Click Start and then Run....
  3. Type inetcpl.cpl in the Open: text box.
  4. Click OK.
  5. Click the first Settings button.
    1. This button is in the Browsing history section.
  6. Click Move folder.
    1. This option is near the bottom of the Temporary Internet Files section of the Temporary Internet Files and History Settings window.
  7. Click + next to the C: drive to open that folder.
  8. Click + next to Documents and Settings and then click + again next to the folder corresponding to your username.
    1. For example, I would expand the folder Tim since that's my username.
  9. Click Local Settings under your username's folder.
    1. Note: There's no need to click on the + next to the Local Settings folder. Just highlight the actual Local Settings folder.
    2. Note: Don't see the Local Settings folder? Windows XP may not be configured to show hidden files and folders. See Step 1 above for more information. If you show hidden files and folders at this step, you have to jump back to Step 6 to refresh the folders.
  1. Click OK in the Browse for Folder window.
  2. Click OK in the Temporary Internet Files and History Settings window.
  3. Click Yes if prompted to log off to finish moving temporary internet files.
    1. Important: Your computer will immediately log off, so be sure to save and close any files you might be working in before clicking Yes.
  4. Log back onto Windows XP and test to see if returning the Temporary Internet Files folder to its default location has solved your problem.
  5. Configure Windows XP to hide hidden files and folders.
    1. These steps demonstrate how to hide hidden files from normal view, undoing the steps you took in Step 1.

Another way to make this change is to use the Windows Registry. It's much easier to use Internet Explorer as described above, but if you can't for some reason, try this method.

Screenshot showing the Windows Registry location in XP for changing the Internet Explorer temporary internet files folder location
Temporary Internet Files Location Information (Windows Registry).
  1. Open Registry Editor.
  2. Navigate to the HKEY_CURRENT_USER hive and then follow this path:
    Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders
  3. Double-click Cache on the right side of Registry Editor.
  4. Type this value:
    %USERPROFILE%\Local Settings\Temporary Internet Files
  5. Click OK.
  6. Repeat Steps 3 and 4 but under this path, also in the HKEY_CURRENT_USER hive:
    Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
  7. Close Registry Editor.
  8. Restart your computer.

Still Can't Change the Folder?

If after making the changes above, the location of the Temporary Internet Files folder still won't change, even after a reboot, there are a couple things to look at that could be the cause.

For starters, check that your antivirus program is running and actively scanning to catch malware. It's possible that a virus on your computer is to blame for these settings not changing when you tell them to.

With that being said, some antivirus programs are over-protective of the registry and will prevent changes, so even if you're making the change yourself, the antivirus program might be blocking your attempts. If you're sure you're not currently suffering from malware, temporarily disable your antivirus program and try again.

If the folder can be altered while your antivirus program is off, reboot and check again just to be sure. If the new folder location stays, turn your security software back on. The change you made should stick since the antivirus program wasn't active during the change.