#176683 - 2007-06-01 04:47 PM
Re: Internet Explorer Settings
[Re: BradV]
|
masken
MM club member
   
Registered: 2000-11-27
Posts: 1222
Loc: Gothenburg, Sweden
|
This isn't all that trivial. The changes must be done in 2 registry keys, both values must match, and both values must be an even Mb value.
These settings aren't supported by default via group policies (not even for IE7, which sux), but I've written my own ADM for this. Note that these settings are "tatooing" - ie, if you remove the policy, the settings won't be removed. But that's the case with normal registry editing too...
From this GPO you can see how changing the cache size works:
;=============================================================================== ;=== ADM NAME: IE Cache Settings ;=== LOCATiON: User Configuration\Administrative Templates\ ;=== Windows Components\Internet Explorer\Cache Settings ;=== TATOOiNG: Yes (Preference) ;=== DESCRiPTiON: ADM to handle the Internet Explorer cache settings. ;=== AUTHOR: masken - mastermasken@lycos.com ;=== DATE: 2006-08-15 ;=== FiLENAME: ie_cache_settings.adm ;=== PURPOSE: IE cache settings aren't covered by the standard ADM's. The ;=== standard Windows setting often causes fragmented hdd's and ;=== slow page loading times. If you've got a decent broadband, ;=== it is recommended to set the cache to 30-50mb. ;=== DEPENDENCiES: WinXP/Srv 2003+ ;=== COMMENTS: * Please note that the GPO cache value must be set to an ;=== even Mbyte value. For instance, if you wish to set the ;=== users values to 50Mb, then you must enter "5120" as the ;=== GPO value. Otherwise, it will not work. The values for ;=== IE 5.x and General must also be set to the exact same ;=== even Mb value. ;=== * This is a "tatooing" setting, which means that there's no ;=== real policy support for the corresponding registry hive. In ;=== effect, this means that if the policy is removed, the ;=== clients settings will not be reverted. ;=== * To see tatooing settings in the Group Policy Object Editor, ;=== you need to uncheck View > Filtering... > ;=== [ ] Only show policy settings that can be fully managed. ;=== REViSiONS: Rev 00: Initial version. ;=== TODO: --- ;===============================================================================
CLASS USER
CATEGORY !!Cat_WindowsComponents CATEGORY !!Cat_InternetExplorer CATEGORY !!Cat_IE_Cache
POLICY !!Pol_IE_Cache_Size KEYNAME "Software\Microsoft\Windows\CurrentVersion\Internet Settings" #if version >= 4 SUPPORTED !!Sup_Text #endif EXPLAIN !!Exp_IE_Cache_Size PART !!Lbl_IE_Cache_Size TEXT END PART PART !!Lbl_Blank TEXT END PART PART !!PolPart_IE5_CacheSizeInKB NUMERIC MIN 1024 MAX 102400 DEFAULT 51200 VALUENAME "CacheLimit" KEYNAME "Software\Microsoft\Windows\CurrentVersion\Internet Settings\5.0\Cache\Content" END PART PART !!PolPart_IE_CacheSizeInKB NUMERIC MIN 1024 MAX 102400 DEFAULT 51200 VALUENAME "CacheLimit" KEYNAME "Software\Microsoft\Windows\CurrentVersion\Internet Settings\Cache\Content" END PART END POLICY
POLICY !!Pol_IE_Cache_Location KEYNAME "Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" #if version >= 4 SUPPORTED !!Sup_Text #endif EXPLAIN !!Exp_IE_Cache_Location PART !!Lbl_IE_Cache_Location TEXT END PART PART !!Lbl_Blank TEXT END PART PART !!PolPart_Cache_Location EDITTEXT VALUENAME "Cache" DEFAULT "%USERPROFILE%\Lokala inställningar\Temporary Internet Files" END PART END POLICY
POLICY !!Pol_IE_Empty_Cache_on_Exit KEYNAME "SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Cache" VALUENAME "Persistent" EXPLAIN !!Exp_IE_Empty_Cache_on_Exit VALUEON NUMERIC 0 VALUEOFF NUMERIC 1 END POLICY
END CATEGORY END CATEGORY END CATEGORY
[STRINGS] Cat_WindowsComponents="Windows Components" Cat_InternetExplorer="Internet Explorer" Cat_IE_Cache="Cache Settings" Sup_Text="At least Microsoft Windows XP Professional or Windows Server 2003 family,\nwith Internet Explorer v5.01 or higher." Pol_IE_Cache_Size="Change Internet Explorer cache size" Exp_IE_Cache_Size="Maximum cache size in even Mb, specified in kilobytes (ie, 50mb equals 51200 kilobytes) for Internet Explorer. Note that the kilobyte value must match an even Megabyte value or the setting will not go in effect.\n\nThe two different cache size limits (first is for IE 5.x, second general) must be set to the same value (both must be set for IE to read the setting).\n\nMinimum is 1024kb and maximum 102400.\n\nOnly use a higher cache value if you're on a slow Internet Connection. Also keep in mind that a large cache causes hard drive defragmentation, often leading to longer loading time from the local hard drive than from a broadband Internet connection." Lbl_IE_Cache_Size="Set the cache size in even Mb's, specified in kilobytes (both matching):" Lbl_Blank=" " PolPart_IE5_CacheSizeInKB="Internet Explorer 5.x:" PolPart_IE_CacheSizeInKB="Internet Explorer general:"
Pol_IE_Cache_Location="Change Internet Explorer cache folder location" Exp_IE_Cache_Location="Specify a path for the Cache folder (Temporary Internet Files). Note that the default value entered in this policy is for Swedish Windows. For English Windows, the default path is %USERPROFILE%\Local Settings\Temporary Internet Files." Lbl_IE_Cache_Location="Specify the location of the Cache folder:" PolPart_Cache_Location="Path:"
Pol_IE_Empty_Cache_on_Exit="Empty Temporary Internet Files folder when browser is closed" Exp_IE_Empty_Cache_on_Exit="It is generally not recommended to empty the Temporary Internet Files when closing Internet Explorer. It could be useful for Terminal Services Servers, public computers or large roaming profiles.\n\nIf you're activating/reducing the cache size limit, then it could also be useful to temporarily activate this setting to clear old cache files on the clients and thereby freeing disk space. \n\nKeeping this setting disabled prevents Internet Explorer from persistenly downloading frequently accessed web content." PolPart_IE_Empty_Cache_on_Exit="Enable this setting:"
Edited by masken (2007-06-04 03:35 PM)
_________________________
The tart is out there
|
|
Top
|
|
|
|
Moderator: Arend_, Allen, Jochen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Mart
|
0 registered
and 2220 anonymous users online.
|
|
|