Office-kb2 Outlook display image red X problem
From JBKB
Version: 1.0.2
Difficult level: 2/5
Forum to discuss this KB: n/a
Status: Tested and works.
[edit] Introduction
Outlook 2003 sometimes cannot display embedded images in emails, they appear as red X instead.
When you reply or forward the message the images suddenly reappear again but the original email still displays with red X:s.
If this describes your problem then this KB have a solution for you, one manual and one scripted.
They both do the same; delete Outlook Secure Temporary files.
[edit] Manually fix the problem
- Close Outlook
- Locate the Outlook Secure Temp Folder with reading registry key HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Outlook\Security\OutlookSecureTempFolder
- Navigate to the value (the folder) of this Key. It should be something like: %USERPROFILE%\Local Settings\Temporary Internet Files\OLKxxxxx\ (remember it is a system hidden folder so it might not show default, either enter the name or copy and paste the value from the registry)
- Delete all the files in the folder
- Start Outlook
[edit] Script to fix the problem
Open notepad and copy the text below and name the file such as JBKBFixOutlook2003RedXProblem.vbs
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' ' JBKBFixOutlook2003RedXProblem.vbs ' ' Author John Bryntze http://john.bryntze.net/jbkb ' ' Version 1.0 - May 27th 2009 ' ' VBS script to: ' ' 1. Find secure temp folder by reading regigistry ' 2. Close open Outlook.exe processes ' 3. Delete files in %USERPROFILE%\Local Settings\Temporary Internet Files\OLKxxxx to clear Outlook Red X problem problem ' ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' Option Explicit Dim JBKBShell, JBKBRegValue, objWMIService, strComputer, colProcessList, objProcess, oFSO, oFileCollection, oFile, oFolder 'Find out where Outlook Secure Temp Folder is Set JBKBShell = CreateObject("WScript.Shell") JBKBRegValue = JBKBShell.RegRead ("HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Outlook\Security\OutlookSecureTempFolder") 'Kill process Outlook.exe strComputer = "." Set objWMIService = GetObject("winmgmts:" & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2") Set colProcessList = objWMIService.ExecQuery ("SELECT * FROM Win32_Process WHERE Name = 'outlook.exe'") For Each objProcess in colProcessList objProcess.Terminate() Next 'Delete all Outlook Secure Temp Files Set oFSO = CreateObject("Scripting.FileSystemObject") set oFolder = oFSO.GetFolder(JBKBRegValue) if oFolder.Files.count > 1 then set oFileCollection = oFolder.Files For each oFile in oFileCollection oFile.Delete(True) Next ' clean up Set oFile = Nothing Set oFileCollection = Nothing End If 'Clean up Set oFolder = Nothing Set oFSO = Nothing
run the script and problem should go away.

