<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://wiki.ledhed.net/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.ledhed.net/index.php?action=history&amp;feed=atom&amp;title=Clear_Outlook_Cache_with_Group_Policy</id>
		<title>Clear Outlook Cache with Group Policy - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.ledhed.net/index.php?action=history&amp;feed=atom&amp;title=Clear_Outlook_Cache_with_Group_Policy"/>
		<link rel="alternate" type="text/html" href="https://wiki.ledhed.net/index.php?title=Clear_Outlook_Cache_with_Group_Policy&amp;action=history"/>
		<updated>2026-04-05T04:29:02Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.23.2</generator>

	<entry>
		<id>//wiki.ledhed.net/index.php?title=Clear_Outlook_Cache_with_Group_Policy&amp;diff=2459&amp;oldid=prev</id>
		<title>Ledhed at 18:45, 3 August 2010</title>
		<link rel="alternate" type="text/html" href="https://wiki.ledhed.net/index.php?title=Clear_Outlook_Cache_with_Group_Policy&amp;diff=2459&amp;oldid=prev"/>
				<updated>2010-08-03T18:45:45Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 18:45, 3 August 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 31:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 31:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; wscript.echo strCachePath&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; wscript.echo strCachePath&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;== Files ==&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Media:ClearOutlookCache.zip|ClearOutlookCache.zip]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Ledhed</name></author>	</entry>

	<entry>
		<id>//wiki.ledhed.net/index.php?title=Clear_Outlook_Cache_with_Group_Policy&amp;diff=2457&amp;oldid=prev</id>
		<title>Ledhed: Created page with 'There is a limit to the number of duplicate files Outlook can store in cache. If the same file is regularly emailed the attachment will fail to deliver. To remedy this the Outloo...'</title>
		<link rel="alternate" type="text/html" href="https://wiki.ledhed.net/index.php?title=Clear_Outlook_Cache_with_Group_Policy&amp;diff=2457&amp;oldid=prev"/>
				<updated>2010-08-03T18:40:01Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;#039;There is a limit to the number of duplicate files Outlook can store in cache. If the same file is regularly emailed the attachment will fail to deliver. To remedy this the Outloo...&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;There is a limit to the number of duplicate files Outlook can store in cache.&lt;br /&gt;
If the same file is regularly emailed the attachment will fail to deliver.&lt;br /&gt;
To remedy this the Outlook cache needs to be cleared regularly, this can be accomplished with a Logon script.&lt;br /&gt;
&lt;br /&gt;
== Logon/off Script ==&lt;br /&gt;
&lt;br /&gt;
 On Error Resume Next&lt;br /&gt;
 &lt;br /&gt;
 Dim strCachePath&lt;br /&gt;
 Dim strOLPath&lt;br /&gt;
 Dim strVersion&lt;br /&gt;
 Dim strRegKey&lt;br /&gt;
 Dim ma&lt;br /&gt;
 &lt;br /&gt;
 Set wshObject = WScript.CreateObject(&amp;quot;WScript.Shell&amp;quot;)&lt;br /&gt;
 Set FsoObject = CreateObject(&amp;quot;Scripting.FileSystemObject&amp;quot;)&lt;br /&gt;
 &lt;br /&gt;
 strOLPath = wshObject.RegRead(&amp;quot;HKLM\Software\Microsoft\Windows\CurrentVersion\App Paths\OUTLOOK.EXE\Path&amp;quot;)&lt;br /&gt;
 &lt;br /&gt;
 Set regx = New RegExp&lt;br /&gt;
 regx.Pattern = &amp;quot;\d{1,2}&amp;quot;&lt;br /&gt;
 set ma = regx.Execute(strOLPath)&lt;br /&gt;
 &lt;br /&gt;
 strVersion = ma(ma.count -1) &amp;amp; &amp;quot;.0&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 strCachePath = wshObject.RegRead(&amp;quot;HKCU\Software\Microsoft\Office\&amp;quot; &amp;amp; strVersion &amp;amp; &amp;quot;\Outlook\Security\OutlookSecureTempFolder&amp;quot;)&lt;br /&gt;
 &lt;br /&gt;
 if (FsoObject.FolderExists(strCachePath)) then	'Check if the folder exists&lt;br /&gt;
 	FsoObject.DeleteFile strCachePath &amp;amp; &amp;quot;*.*&amp;quot;, True	'If the folder exists, then delete everything in it&lt;br /&gt;
 end if&lt;br /&gt;
 &lt;br /&gt;
 wscript.echo strCachePath&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category: Exchange_2007]]&lt;/div&gt;</summary>
		<author><name>Ledhed</name></author>	</entry>

	</feed>