/

How to Restore a Deleted Email in Outlook 365

by Ann Conte, IT Technical Writer
How to Restore a Deleted Email in Outlook 365 blog banner image
How to Restore a Deleted Email in Outlook 365 blog banner image

Try our #1 rated endpoint management platform on G2

NinjaOne dashboard screenshot

Automate the Hardest Parts of IT

Key Points

  • Outlook desktop and web app (GUI): Recover a deleted email by checking the Deleted Items folder first, then using “Recover items recently deleted from this folder” if it’s no longer there; the same steps work whether you’re using the Outlook desktop app or the web version.
  • PowerShell (admin-level recovery): Administrators can recover a user’s deleted email using the Get-RecoverableItems and Restore-RecoverableItems cmdlets in Exchange Online PowerShell
  • Registry Editor: Enable the DumpsterAlwaysOn registry value to make “Recover Deleted Items” available in every Outlook folder, not just the Deleted Items folder.
  • Command Prompt: While CMD can’t directly recover deleted emails, it can repair a corrupted Outlook profile or rebuild the search index when missing emails are actually an indexing issue.
  • Group Policy: IT administrators can enforce organization-wide email retention and recovery settings, such as requiring a backup before permanent deletion, in enterprise environments.

Many users want and need to learn how to recover deleted emails in Outlook. This can help minimize data loss from accidental or malicious deletions, ensure compliance with organizational retention policies, and help administrators resolve support tickets about accidental email deletion.

Different ways to recover a deleted email in Outlook

Individual users can recover deleted emails through the Outlook app or through the web version. Administrators, on the other hand, can recover emails through Windows PowerShell using Exchange Online Management.

To manage recovery features, users have different options. They can use the Windows Registry, Command Prompt, or Group Policies.

Prerequisites:

  • You will need an active Microsoft 365 subscription and an Outlook account.
  • You will need to have the appropriate permissions to use Windows PowerShell, GPO, and the Windows Registry.

Recommended deployment strategies:

Click to Choose a MethodBest for Individual UsersBest for Enterprises
Method 1: Using Outlook Client (GUI) or Outlook Web App (OWA)✓
Method 2: Using PowerShell (Admin-level recovery)✓
Manage recovery features using Registry Editor (Enable deleted item retention UI)✓✓
Manage recovery features using CMD (Trigger office repair or reindex search)✓✓
Manage recovery features using Group Policy (Enable recover deleted items)✓

Method 1: Using Outlook Client (GUI)

Use Case: This method is ideal for users who have Outlook installed on their computers or use Outlook through web browsers.

  1. Open the Start Menu and search for Outlook to open the program.
    1. Alternatively, go to Outlook via your preferred web browser and sign in.
  2. Go to Deleted Items on the left-hand side.
  3. If the email was recently deleted, you will find it there. Right-click the email you wish to restore > Move > Inbox.

If the email has been permanently deleted, you may still be able to recover it. Click Recover items recently deleted from this folder.

Click Recover items recently deleted from this folder

  1. Find the email you want to restore, then select right-click > Restore.

Method 2: Using PowerShell (admin-level recovery)

Use Case: This method is available to IT administrators working in enterprise environments.

Prerequisite: You need to have Exchange Online Management installed. To install, run Windows PowerShell as an administrator, go here, copy the command under Install Module, and press Enter.

  1. Open the Start Menu and search for Windows PowerShell.
  2. Right-click Windows PowerShell > Run as administrator.
  3. Type Connect-ExchangeOnline and press Enter to connect to Exchange Online Management.
  4. Enter your Outlook credentials when prompted.
  5. Type this and press Enter:

Get-RecoverableItems -Identity “[email protected]” -SourceFolder DeletedItems

Restore-RecoverableItems -Identity

Replace “[email protected]” with your email address.

Ways to manage recovery features in Outlook 365

Method 1: Using Registry Editor (enable deleted item retention UI)

Use Cases: This method can be used by advanced users or by administrators working with managed devices to ensure that the “Recover deleted items” is available in all folders instead of just the deleted items folder.

Note: This method only applies to the Outlook app and not the web version.

  1. Open the Start Menu and search for Registry Editor to open the program.
  2. Navigate to this address: HKEY_LOCAL_MACHINE\Software\Microsoft\Exchange\Client\Options
  3. Find the DumpsterAlwaysOn value and double-click it. If you can’t locate it, follow these steps to create it:
    1. Right-click Options > New > DWORD (32-bit) Value.
    2. Name it DumpsterAlwaysOn.
  4. Change the value to 1,and the Recover Deleted Items option will be available in all folders instead of just the Deleted Items folder.
  5. Click OK.
  6. Restart Outlook to apply the changes.

Method 2: Using CMD (trigger office repair or reindex search)

Use Case: This method can be used by advanced users or by IT administrators.

Note: Command Prompt does not have a native feature to recover deleted emails. However, if you’re missing items due to index corruption or profile issues, it can repair that.

  1. Open the Start Menu and search for Command Prompt.
  2. Right-click Command Prompt > Run as administrator.
  3. Type one of the following commands, and press Enter:
    1. To repair your Outlook profile: control mlcfg32.cpl.
    2. To rebuild the Windows Search Index: control /name Microsoft.IndexingOptions.
    3. To launch Outlook and reset its profiles: outlook.exe /resetfolders.

Method 3: Using Group Policy (enable recover deleted items)

Use Case: This method allows IT administrators to enforce recoverable items functions in enterprise environments.

  1. Go to the Start Menu and search for Edit Group Policy to open the program.
  2. Navigate to User Configuration > Administrative Templates > Microsoft Outlook 2016 > Outlook Options > Preferences > E-mail Options.
  3. Enable the following policies:
    • Permanently delete instead of moving to Deleted Items
    • Do not permanently delete items until backup
  4. Open Command Prompt as an administrator and type gpupdate /force to apply the changes.

⚠️ Things to look out for

RisksPotential ConsequencesReversals
The recovery option can’t be found.The user will be unable to recover the email they need.Make sure the user has an Exchange Online mailbox, which is available in Microsoft Office Business and Enterprise plans. You can also check if the DumpsterAlwaysOn value is enabled in the Windows Registry.
The email cannot be restored.The user is unable to recover the email they need.It may be because it’s been purged, or it’s already outside the retention period. In that case, there’s no way to recover it anymore.
The user gets an error when running the Windows PowerShell script or changing the GPO.The user is unable to recover the email they need.The user may not have the necessary privileges. They need administrator privileges to use those methods.
A user may make an incorrect edit to the Windows Registry.Incorrect edits can lead to incorrect settings or system instability.Create a backup of the Registry that you can use to restore it in case any unintended changes are made.

Additional considerations when trying to restore deleted emails in Outlook

  • Microsoft 365 retention holds and litigation holds may affect recovery timelines.
  • Exchange Online retains emails in the Recoverable Items folder for 14-30 days, depending on the configuration. Administrators can change this according to their organization’s needs.
  • Administrators with the appropriate permissions can use eDiscovery in the Microsoft Purview portal to search for and export retained emails for legal or auditing purposes.

NinjaOne services supporting Outlook email recovery

NinjaOne can complement Outlook’s native email recovery features through the following:

  • Email Backup & Restore – NinjaOne offers email backup services that automatically take a snapshot of a user’s inbox without relying on Microsoft’s retention features.
  • Automated PowerShell Scripts – You will be able to run commands remotely across multiple endpoints.
  • GPO Deployment Automation – NinjaOne has a policy engine that lets you push registry edits or enforce Outlook retention settings.
  • Alerting & Monitoring – Administrators can set up an alert to be notifiedwhen user inboxes are approaching retention limits or when deletion anomalies are detected.

Quick-Start Guide

NinjaOne can help you with restoring a deleted email in Outlook 365 using SaaS Backup solution.

You have three restore options Using NinjaOne SaaS Backup:

  • Restore to default folder: Messages go back to their original folders.
  • Restore to existing folder: Choose an existing folder to restore to.
  • Restore to new folder: Create a new folder for the restored messages.

Restore deleted emails in your Outlook inbox and minimize data loss

Outlook has a native feature to recover deleted emails in both in its desktop app and web browser versions. Administrators can also use Online Exchange Management in Windows PowerShell to recover emails in their managed devices.

Users can also manage recovery email options in several ways. They can use the Registry Editor, Command Prompt, or manage Group Policies.

Related topics:

FAQs

Sometimes. If the email is still within your organization’s retention period, it may be recoverable through PowerShell, even if it’s no longer visible in the Deleted Items folder. Emails preserved by a retention policy or hold may also be searchable and exportable through eDiscovery in the Microsoft Purview portal. Once an email has been permanently removed and no retained or backup copy exists, it can’t be recovered. 

Yes. Recovering another user’s deleted email requires administrator-level access through Exchange Online PowerShell. Individual users can only recover their own emails through the Outlook desktop or web app.

A soft-deleted email is still recoverable because it’s sitting in the Recoverable Items folder. A purged email has been permanently removed and generally can’t be recovered through standard methods, except through specialized backup or legal hold tools if they were in place beforehand.

Yes. A litigation hold or retention policy can preserve emails beyond their normal deletion timeline, which sometimes makes recovery possible even after a user believes an email is gone for good. It can also work the other way, restricting what administrators are able to permanently delete.

You might also like

Ready to simplify the hardest parts of IT?