#19099 - 2002-03-25 05:55 PM
does anybody know where the IE cache settings are stored?
|
Keerat
Fresh Scripter
Registered: 2002-03-18
Posts: 15
Loc: London
|
Does anybody know where the Internet Explorer cache settings are stored in Regedit?
Ive been looking for them... have found some cache settings, but cannot make any sense of them...
any ideas chaps?
thanks once again
|
|
Top
|
|
|
|
#19100 - 2002-03-25 06:38 PM
Re: does anybody know where the IE cache settings are stored?
|
Anonymous
Anonymous
Unregistered
|
Here's the setting to automatically clear the cache in IE 5.x when you exit IE. What settings are you looking for?
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Cache] "Persistent"=hex:01,00,00,00
|
|
Top
|
|
|
|
#19102 - 2002-03-26 04:00 AM
Re: does anybody know where the IE cache settings are stored?
|
MCA
KiX Supporter
   
Registered: 2000-04-28
Posts: 5152
Loc: Netherlands, EU
|
Dear,
There are different settings for cache possible. For IExplorer 5.0 we have create a list of all modified entries during an Apply to Internet Options - Advanced menu.
code:
SetValueEx HKCU\Software\Microsoft\Ftp\Use Web Based FTP SUCCESS no SetValueEx HKCU\SOFTWARE\Microsoft\Internet Explorer\Main\Anchor Underline SUCCESS yes SetValueEx HKCU\SOFTWARE\Microsoft\Internet Explorer\Main\Disable Script Debugger SUCCESS yes SetValueEx HKCU\SOFTWARE\Microsoft\Internet Explorer\Main\Display Inline Images SUCCESS yes SetValueEx HKCU\SOFTWARE\Microsoft\Internet Explorer\Main\Display Inline Videos SUCCESS yes SetValueEx HKCU\SOFTWARE\Microsoft\Internet Explorer\Main\Error Dlg Displayed On Every Error SUCCESS no SetValueEx HKCU\SOFTWARE\Microsoft\Internet Explorer\Main\Expand Alt Text SUCCESS no SetValueEx HKCU\SOFTWARE\Microsoft\Internet Explorer\Main\Friendly http errors SUCCESS yes SetValueEx HKCU\SOFTWARE\Microsoft\Internet Explorer\Main\Move System Caret SUCCESS no SetValueEx HKCU\SOFTWARE\Microsoft\Internet Explorer\Main\NoJITSetup SUCCESS 0x0 SetValueEx HKCU\SOFTWARE\Microsoft\Internet Explorer\Main\NotifyDownloadComplete SUCCESS no SetValueEx HKCU\SOFTWARE\Microsoft\Internet Explorer\Main\NoUpdateCheck SUCCESS 0x1 SetValueEx HKCU\SOFTWARE\Microsoft\Internet Explorer\Main\NscSingleExpand SUCCESS 0x1 SetValueEx HKCU\SOFTWARE\Microsoft\Internet Explorer\Main\Page_Transitions SUCCESS 0x1 SetValueEx HKCU\SOFTWARE\Microsoft\Internet Explorer\Main\Play_Animations SUCCESS yes SetValueEx HKCU\SOFTWARE\Microsoft\Internet Explorer\Main\Play_Background_Sounds SUCCESS yes SetValueEx HKCU\SOFTWARE\Microsoft\Internet Explorer\Main\Print_Background SUCCESS no SetValueEx HKCU\SOFTWARE\Microsoft\Internet Explorer\Main\Show image placeholders SUCCESS 0x0 SetValueEx HKCU\SOFTWARE\Microsoft\Internet Explorer\Main\ShowGoButton SUCCESS yes SetValueEx HKCU\SOFTWARE\Microsoft\Internet Explorer\Main\SmoothScroll SUCCESS 0x1 SetValueEx HKCU\Software\Microsoft\Internet Explorer\Security\P3Global\Enabled SUCCESS 0x1 SetValueEx HKCU\SOFTWARE\Microsoft\Internet Explorer\Show_FullURL SUCCESS 0x0 SetValueEx HKCU\SOFTWARE\Microsoft\Internet Explorer\SmartDithering SUCCESS 0x1 SetValueEx HKCU\SOFTWARE\Microsoft\Java VM\EnableJavaConsole SUCCESS 0 0 0 0 SetValueEx HKCU\SOFTWARE\Microsoft\Java VM\EnableJIT SUCCESS 1 0 0 0 SetValueEx HKCU\SOFTWARE\Microsoft\Java VM\EnableLogging SUCCESS 0 0 0 0 SetValueEx HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\AutoComplete\Append Completion SUCCESS no SetValueEx HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\BrowseNewProcess\BrowseNewProcess SUCCESS yes SetValueEx HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\CLSID\{871C5380-42A0-1069-A2EA-08002B30309D}\ShellFolder\Attributes SUCCESS 0x22 SetValueEx HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Cache\Persistent SUCCESS 0x1 SetValueEx HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\CertificateRevocation SUCCESS 0x0 SetValueEx HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\DisableCachingOfSSLPages SUCCESS 0x1 SetValueEx HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\EnableHttp1_1 SUCCESS 0x1 SetValueEx HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Fortezza SUCCESS 0x1 SetValueEx HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\ProxyHttp1.1 SUCCESS 0x0 SetValueEx HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\SecureProtocols SUCCESS 0x28 SetValueEx HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\UrlEncoding SUCCESS 0x0 SetValueEx HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\WarnonBadCertRecving SUCCESS 0x1 SetValueEx HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\WarnOnPostRedirect SUCCESS 0x1 SetValueEx HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\WarnonZoneCrossing SUCCESS 0x1 SetValueEx HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\\IntranetName SUCCESS 0x1 SetValueEx HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\\ProxyBypass SUCCESS 0x1 SetValueEx HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\\UNCAsIntranet SUCCESS 0x1 SetValueEx HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Webcheck\NoChannelLogging SUCCESS 0x0 SetValueEx HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Webcheck\NoScheduledUpdates SUCCESS 0x0 SetValueEx HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\WinTrust\Trust Providers\Software Publishing\State SUCCESS 0x22A08
greetings.
btw: for removing CACHE contents we are deleting only the contents of CACHE directory, which location you can find by: HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders:Cache and HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders:Cache
|
|
Top
|
|
|
|
#19103 - 2002-03-26 11:16 AM
Re: does anybody know where the IE cache settings are stored?
|
Keerat
Fresh Scripter
Registered: 2002-03-18
Posts: 15
Loc: London
|
Thanks for the replies guys.
Basically, what Im trying to do, is set the size of the cache to 5mb for all network users.
but cannot find the entry in the regedit!
|
|
Top
|
|
|
|
#19104 - 2002-03-26 11:44 AM
Re: does anybody know where the IE cache settings are stored?
|
Keerat
Fresh Scripter
Registered: 2002-03-18
Posts: 15
Loc: London
|
sorry about the short kinda rude reply.. had to quickly setup a user.
Yeah, basically, the administrator wants all the browsers to have a 5mb cache size rather than the default 200+mb.. makes it quicker when scanning for cached pages etc..
The replies are still usefull though. The reply from MCA is scarey!! I didnt realise changing the cache setting altered so much
|
|
Top
|
|
|
|
#19105 - 2002-03-27 12:55 AM
Re: does anybody know where the IE cache settings are stored?
|
Keerat
Fresh Scripter
Registered: 2002-03-18
Posts: 15
Loc: London
|
actually...
Im having the same issue with trying to find the history settings!
I did ask the administrator about using Policies to set this up, but he mentioned that Policies has always raised issues on the network??
|
|
Top
|
|
|
|
#19107 - 2002-03-27 07:02 AM
Re: does anybody know where the IE cache settings are stored?
|
MCA
KiX Supporter
   
Registered: 2000-04-28
Posts: 5152
Loc: Netherlands, EU
|
Dear,
To set the limit of your cache you need following code:
code:
$cache_limit_size="5120" $debug_mode="yes" ; $ikey="HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Internet Settings" ; - NT/95 - IF (existkey($ikey) = 0) $completed="no" $index=0 DO $icode=ENUMKEY($ikey, $index) IF (@error = 0) IF (len($icode) <> 0) AND (Instr("123456789",SubStr($icode,1,1)) <> 0) IF ($debug_mode = "yes") ? $ikey+"\"+$icode ENDIF $ikey2=$ikey+"\"+$icode+"\Cache\Content" IF (existkey($ikey2) = 0) $null=WriteValue($ikey2,"CacheLimit","$cache_limit_size","REG_DWORD") ENDIF $ikey2=$ikey+"\"+$icode+"\Cache\Cookies" IF (existkey($ikey2) = 0) $null=WriteValue($ikey2,"CacheLimit","$cache_limit_size","REG_DWORD") ENDIF $ikey2=$ikey+"\"+$icode+"\Cache\History" IF (existkey($ikey2) = 0) $null=WriteValue($ikey2,"CacheLimit","$cache_limit_size","REG_DWORD") ENDIF ENDIF ELSE $completed="yes" ENDIF $index=$index+1 UNTIL ($completed = "yes") ENDIF
The value of variable "$cache_limit_size" is a decimal value. Script works for all internet explorer versions. Script verified for Kixtart 3.63 and 4.x greetings.
btw: don't get scary of it. just remember that some software can and may influence a great amount of registry settings. Just you latest reply specifies exactly what you are wanting.
|
|
Top
|
|
|
|
#19108 - 2002-03-27 11:51 AM
Re: does anybody know where the IE cache settings are stored?
|
Keerat
Fresh Scripter
Registered: 2002-03-18
Posts: 15
Loc: London
|
MCA you are a star!!!
|
|
Top
|
|
|
|
#19109 - 2002-03-27 11:54 AM
Re: does anybody know where the IE cache settings are stored?
|
Keerat
Fresh Scripter
Registered: 2002-03-18
Posts: 15
Loc: London
|
MCA you are a star!!!
It works like a dream! Although I dont fully understand the ifs and elses.. but give it a bit of time and I should understand whats going on.
Many thanks guys!! MUCH appriciated!
|
|
Top
|
|
|
|
#19110 - 2002-03-28 04:30 AM
Re: does anybody know where the IE cache settings are stored?
|
MCA
KiX Supporter
   
Registered: 2000-04-28
Posts: 5152
Loc: Netherlands, EU
|
Dear,
Good news. Thanks for your feather, but still we can't fly.
The only special IF/ENDIF is:
IF (len($icode) <> 0) AND (Instr("123456789",Substr($icode,1,1)) <> 0)
Explanation:
- (len($icode) <> 0)
an empty entry may result in a registry key like: "HKLM\...\CurrentVersion\Internet Settings\\Cache\Content" which isn't a legal key. - (Instr("123456789",Substr($icode,1,1)) <> 0)
internet explorer is using different subkeys for different internet versions f.e. 5.0, 5.5, 6.0. To speed up and to prevent unexpected effects we only want to serach through subkeys starting with a number.
All the other statements are used for verifing ExistKey function and for showing some debugging information. greetings.
|
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 484 anonymous users online.
|
|
|