Link to home
Start Free TrialLog in
Avatar of productivetech
productivetech

asked on

Outlook Secure Temp Folder Full

I have a user who periodically cannot open attachments in Outlook. I know what the problem is, and it is that the outlooksecuretempfolder is full or close? I resolve the issue but deleting, or emptying the folder but every three months she calls me and says she has the same problem. I don't mind doing it, I just can't find rhyme or reason for the folder to fill up. It is a temp folder so by default it should delete items when they are not being used.

Can any one help?

Thanks in advance
Joe
Avatar of war1
war1
Flag of United States of America image

Greetings productivetech !

The Outlook secure temp folder fills up quickly if users open a lot of attachments.  But this temp folder does not auto delete. So you have to manually delete the files.  What you are doing is correct.

Best wishes, war1
Avatar of productivetech
productivetech

ASKER

I am trying to correct it from filling up. It gets to about 15 MBs every 3 months and I have to either empty it, delete it, or change it. It does not do this on any other system that I have seen ever so I don't understand why I would need to delete the items. I would figure it would keep filling up until the drive is full, but it seems when it gets to 15 MBs that when I have to apply the fix.
15 MB is a lot of attachments.  User opens many attachments in a 3 months period.
ASKER CERTIFIED SOLUTION
Avatar of GuruGary
GuruGary
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I will just write the batch file to delete it. I was hoping for a better fix but I guess it is just as good as anything else so. I did see that MS Tech doc GuruGary, I was stumped that they acknowledged the problem, but haven't fixed it.
For a solution how about this in a batch file (that can be run as a scheduled task, or at logoff, etc.:
@echo off
for /f "tokens=3 delims=      " %%a in ('reg.exe query hkcu\Software\Microsoft\Office\11.0\Outlook\Security /v OutlookSecureTempFolder ^|findstr REG_SZ') do rd "%%a" /q /s

Depending on which version of Outlook she is running, you may need to change the 11.0 in the registry key.
The temp folder gets full  because outlook can only handle 100 images with the same name.  We have the same problem with our employees.  

For example, if a company has an embedded logo in the signature of every message called image1.jpg.  Every new email you open creates a new image1.jpg file in the temp folder like this.

image1.jpg
image1 (02).jpg
image1 (03).jpg.
image1 (04).jpg
....
....
image1 (99).jpg

Once outlook hits 99 it can't make any new ones and you get the X on picture when viewing the email.

A good way to tell if this is the issue is to click forward.  If the image then shows up you know the temp folder has filled up with the image name.  Our solution is to clean the folder through the login script by reading the location from the registy and then deleting all files in the folder.