[How To Fix] Error Opening Attachments in Outlook 2007, 2010 in Windows 7


If you use Outlook, you probably double click attachments all the time. And if you do that all the time, you probably would get error message from time to time saying that it can’t create the file and to that you need check the permissions on the folder you want to save it, etc..

As we are all aware, this is nothing to do with the permission. It’s the issue that Outlook couldn’t copy and open a file into its designated folder anymore. Therefore, simply put, you can make the problem go away temporary by cleaning up the Outlook temporary files.

The default location of Outlook 2010 temporary file in Windows 7 is in a random folder under the following path:

%userprofile%\AppData\Local\Microsoft\Windows\Temporary Internet Files\Content.Outlook


To make this easier, as the problem will periodically come back, you can make a batch file with the following command and save it on your desktop. So when it happens, you can simply run this batch file to make the problem go away. Or you can make a schedule to run the batch file to automate the process. Thanks to a user contributed this solution here.

Set _OLKTemp=%userprofile%\Local Settings\Temporary Internet Files\Content.Outlook\
For /F “tokens=*” %%I In (‘Dir /b /ad “%_OLKTemp%”‘) Do RD /Q /S “%_OLKTemp%%%I”
Del /F /Q “%_OLKTemp%*.*”

Or, if you don’t mind having another tool installed on your computer, you can use OutlookTempCleaner to automate the cleanup maintenance for you.

The main application.

And that’s about it. Hope Microsoft can fix this problem permanently in the next version of Office.



Please enter your comment!
Please enter your name here