Microsoft KB Archive/182310

{| = How to Exclude Temporary Internet Files from a Roaming Profile =
 * width="100%"|

Last reviewed: April 20, 1998

Article ID: Q182310 BETA INFORMATION BETA INFORMATION  BETA INFORMATION  BETA

This article discusses a Beta release of a Microsoft product. The information in this article is provided as-is and is subject to change without notice.

No formal product support is available from Microsoft for this Beta product. For information about obtaining support for a Beta release, please see the documentation included with the Beta product files, or check the Web location from which you downloaded the release.

BETA INFORMATION BETA INFORMATION  BETA INFORMATION  BETA The information in this article applies to:


 * Microsoft Windows 98
 * Microsoft Internet Explorer version 4.01 for Windows 95
 * Microsoft Internet Explorer version 4.01 for Windows NT 4.0

IMPORTANT: This article contains information about editing the registry. Before you edit the registry, make sure you understand how to restore it if a problem occurs. For information about how to do this, view the "Restoring the Registry" Help topic in Regedit.exe or the "Restoring a Registry Key" Help topic in Regedt32.exe.

SUMMARY
This article describes how to exclude temporary Internet files from your roaming profile on a network that enables roaming profiles.

NOTE: This article only applies if you have not yet created roaming profiles.

MORE INFORMATION
You can configure Internet Explorer to keep temporary Internet files on your local computer using one of the following methods:


 * Modify your Internet properties to configure your temporary Internet file settings.
 * Create a set of registry (.reg) files that contain the local temporary Internet file settings to import into the local. registry
 * Disable the per-user cache and force all users to share the same local cache.

Modify Internet Properties
You can set the location for the Temporary Internet Files folder in the Internet Options dialog box. To do so, follow these steps:


 * 1) Right-click Internet Explorer on the desktop, and then click Properties.
 * 2) On the General tab, click Settings, and then click Move Folder.
 * 3) Click Yes if you are prompted "Moving the location of Temporary Internet Files folder will delete all your subscription data. Do you wish to continue?"
 * 4) Browse to the local folder location you want to use, and then click OK.
 * 5) Click OK.

Use a .reg File
WARNING: Using Registry Editor incorrectly can cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk.

For information about how to edit the registry, view the "Changing Keys And Values" Help topic in Registry Editor (Regedit.exe) or the "Add and Delete Information in the Registry" and "Edit Registry Data" Help topics in Regedt32.exe. Note that you should back up the registry before you edit it.

Modify the following keys in the registry to point to the local Temporary Internet Files folders:

HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Cache\Paths\path1\CachePath

HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Cache\Paths\path2\CachePath

HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Cache\Paths\path3\CachePath

HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Cache\Paths\path4\CachePath

HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders\Cache

HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders\Cache If you want to implement these changes as part of a network distribution, export these keys as .reg files and import the .reg files as part of the installation of Internet Explorer. You can also add these keys as part of an unattended Setup of Windows NT. For more information about how to automate the installation of programs as part of an unattended Setup of Windows NT, see the following article in the Microsoft Knowledge Base: ARTICLE-ID: Q158447 TITLE    : How to Run a Program Only Once After Unattended Setup of               WinNT

Disable Per-User Cache
WARNING: Using Registry Editor incorrectly can cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk.

For information about how to edit the registry, view the "Changing Keys And Values" Help topic in Registry Editor (Regedit.exe) or the "Add and Delete Information in the Registry" and "Edit Registry Data" Help topics in Regedt32.exe. Note that you should back up the registry before you edit it.

Add the User Profiles binary value with a data value of "00" (without quotation marks) in the following registry key:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Cache Note that this setting does not disable the caching of temporary Internet files. A roaming profile keeps your personalized settings on a network server. These settings are copied to each computer as you log into the network. When you browse the Internet with Internet Explorer, all the files on each Web page are copied to the Temporary Internet Files folder on your computer. When you are set to use a roaming profile, these files become part of the information copied to your home directory (which stores your personalized information). When you log in to the network from a different computer, these temporary files are copied to the local computer. Each time you browse new Web pages, the number of files increases. Having more temporary files can increase the time it takes to log in to each local computer.
 * }