communication is an excellent way to stay connected over the
Internet. Also, various email services like Microsoft Outlook allows
users to transfer documents, images, and other crucial data items by
the way of attachments. So, if you are one of those users who use
Outlook as their email client and receive several emails with
attachments daily then, this article must be useful for you. This is
so because here I’m going to demonstrate some simple techniques to
Outlook attachment to desktop
or some other location in your computer rather than keeping them in
How to Save Attachment From Outlook to Desktop (Fixed)
The steps mentioned here for how to save attachments from Outlook to desktop automatically are tested in Microsoft Outlook 2007 and 2010. So, let’s see how to save Outlook email attachments to hard drive.
First of all, launch Microsoft Visual Basic for Applications (VBA) by pressing Alt and F11 keys in Outlook to save Outlook attachment to folder
Paste the following script in the Modules section from the left side. If there is no any Modules in the Module section, create on via hitting a right-click on Modules. Click Insert >> Module
Public Sub saveAttachtoDisk (itm As Outlook.MailItem) Dim objAtt As Outlook.Attachment Dim saveFolder As String saveFolder = "c:\temp\" For Each objAtt In itm.Attachments objAtt.SaveAsFile saveFolder & "\" & objAtt.DisplayName Set objAtt = Nothing Next End Sub
After that, paste the following script in the main window of VBA to save Outlook attachment to desktop and close it
Now, you need to create a Rule that will call the script to save outlook attachments to folder automatically. For this, click on Tools >> Rules and Alerts. Select New Rule… option
In new rule wizard, select Check messages when they arrive option
Then, you can specify certain criteria for emails to save outlook email attachment to local folder,
Pro Tip: For the search string to save .txt files, you must try ‘with specific words in the message header’ along with .txt.
From the third screen, select ‘run a script’ option. After clicking on the ‘script’ you need to check the pasted script in VBA console
Hit the Finish button and test what you’ve done to automatically save outlook attachments to hard drive
In case if you receive several email messages with the same file name but, do not want to overwrite their attachments with the already saved attachments then, add the following code in previous code.
Dim dateFormat dateFormat = Format(Now, "yyyy-mm-dd H-mm")
After this, you need to replace the ‘objAtt.SaveAsFile‘ code with the following code to make outlook save email attachment to folder automatically:
There might be some users who may need to save certain type of attachments then, they can use the following code within the ‘For Each’ loop (rather than the mentioned code) to save Outlook attachment to desktop:
if InStr(objAtt.DisplayName, '.xml') Then objAtt.SaveAsFile saveFolder & "\" & objAtt.DisplayName end if
While executing the above steps to save outlook email attachments, I faced a strange issue that I was not getting the Rule to work with it. If the same thing is happening with you, then you need to adjust the Outlook Security Settings. Now, if you’re thinking how to do this exactly then, follow the steps below:<
Microsoft Outlook and click on the File
tab and select Outlook
Outlook Options wizard, select Trust
and click on Trust
the left side, you’ll get the Macro
Notifications for all the macros
so that outlook
macro can save attachments to hard drive
before macro runs, Outlook will ask you to confirm if you want to
run the macro to automatically
save outlook attachments to hard drive
Re-launch your Outlook application to apply the configuration change
So, this was the manual way I tried to save Outlook attachment to desktop. Nevertheless, if you are not so technically savvy and finding this manual technique somehow complicated then, I’ve another amazing solution for you to save outlook attachments to folder automatically.
Outlook Attachment Extractor: An Automatic Solution
It is a powerful tool to extract Outlook attachments from multiple emails with managing their folder hierarchy. The software gives three different options to manage the folder structure of resultant attachments: Folder Hierarchy, Folder Hierarchy (Subject Wise), and No Folder Hierarchy. Using these handy options, you can simply manage the output files and save Outlook attachment to desktop even without any kind of data loss. The complete process to save outlook email attachment to local folder using this software can be done in a few simple steps:
Launch Outlook Attachment Extractor and click on Open to add the PST that comprises attachments
the appropriate Folder
option and Browse
a destination location for output attachments
button and Outlook attachments saving process will begin right after
outlook email attachments process
gets completed successfully and navigate to the output location and
access all the resultant Outlook attachments effortlessly
In this article, I’ve shared my personal experience to resolve a common Outlook issue i.e., save Outlook attachment to desktop. Here, I’ve discussed a manual technique for how to save attachment from outlook to desktop automatically without any kind of data loss. Despite this, an automated solution also mentioned here to automatically save outlook attachments to hard drive.
Frequently Asked Questions
How to bulk download attachments from Outlook?
Download SysTools Outlook Attachment Downloader and add your Outlook PST in it from which you want to export attachments. Click on Extract button and successfully extract attachments from Outlook PST.
Can I save multiple pictures from an Outlook email at once?
Yes, for this open your Outlook email and select a picture/ image. Hit a right-click on the picture and choose Save All Attachments. Browse a destination location in your computer and all your pictures will get saved at once.
Where can I find PST files in Windows 10?
The default location of Outlook PST in Windows 10 is drive >> users >> >> AppData >> Local >> Microsoft >> Outlook
Do attachments also expires in Microsoft Outlook?
Since attachments are a part of email so, as long as you have the email you have attachments too. But, sometimes the basic properties of attached files can be missing like font, layout etc.
About The Author
Being a Chief Technical Operator, I am aware of the technicalities faced by the user while working with multiple technologies. So, through my blogs and articles, I love to help all the users who face various challenges while dealing with technology.