← All posts

Outlook archive tool

Backing up a Microsoft 365 primary mailbox together with an Online In-Place Archive into a clean local archive should be straightforward—yet in practice it is one of the most frustrating tasks in Exchange Online. Mailbox & In-Place Archive Backup Manager is a native Windows desktop application (.NET Framework 4.8) built to solve that exact problem safely, reliably, and without a single line of PowerShell.

Zero PowerShell
Standalone C# WinForms app on .NET Framework 4.8—just run the executable.
Non-Destructive Backup
Originals in your Mailbox & In-Place Archive are only copied, never altered.
EML, PST, MBOX & ZIP
Open-standard local backups plus Classic Outlook PST with size/year splitting.
Network-Share Ready
Per-user settings & local defaults; safe to run directly from a read-only share.

Mailbox and In-Place Archive Backup Manager main window showing folder tree, 4-step workflow, live parallel download progress, ETA, and detailed log
Main workspace: interactive folder tree across Primary Mailbox, In-Place Archive, and temporary ExportTemp* folders on the left; guided 4-step workflow, live speed/ETA progress, and detailed log on the right.

Why Traditional Microsoft 365 Archive Exports Fail

Anyone who has tried to export years of email out of an Exchange Online In-Place Archive quickly runs into the same roadblocks:

  • Classic Outlook struggles with Online Archives: In-Place Archives aren’t cached in the local OST file. Running Outlook’s built-in PST Export Wizard against thousands of archived messages frequently stalls, drops RPC connections, or silently skips items.
  • New Outlook lacks full offline PST export: Users migrating away from Classic Outlook often have no built-in way to generate a portable local backup.
  • Admin eDiscovery isn’t available to regular users: Microsoft Purview Content Search requires compliance administrator privileges and complex server-side jobs.
  • PowerShell & EWS scripts break easily: Modern Authentication (MFA), execution policies, missing modules, and fragile terminal scripts are a poor fit for everyday users and helpdesk teams.

How this tool solves it: The application signs you in directly via Microsoft’s official MSAL library with an embedded WebView2 browser (full MFA & SSO support) and communicates with the OWA web service using your own account—requiring no admin role, no Azure app registration, and no PowerShell.

A Safe, Resumable 4-Step Workflow

Every stage of the backup is visually tracked with live status badges (Pending, Running…, Done, Cancelled, or Error) and backed by a local state database (archive_state.json) so interrupted runs resume cleanly without creating duplicates.

Step 1

Copy Selected Folders to ExportTemp

  • Copies messages only (CopyItem)—original folders remain 100% untouched.
  • Preserves your original subfolder hierarchy (Mailbox\… and Archive\…).
  • Optional From–To Date Filter to back up only a specific time range.
  • Automatically reuses any existing empty ExportTemp* folder.
  • Tracks copied message IDs in archive_state.json so re-runs only copy new mail.
Step 2

Parallel .eml Download to Disk

  • Downloads raw RFC 822 .eml files across 1–5 parallel threads (default: 3).
  • Mirrors the exact subfolder tree locally with clean, date-prefixed filenames.
  • Skips already-downloaded messages automatically using SHA-256 hashing.
  • Built-in exponential backoff handles network hiccups and HTTP 429/503 throttling.
  • One-click Retry Failed (N) button retries only individual failed items.
Step 3

Clean Up Temporary Copies

  • Clean Copies in ExportTemp*: Safely moves temporary copies to Deleted Items after confirmation—originals stay intact.
  • Delete Empty ExportTemp*: Finds strictly empty ExportTemp* folders (in Inbox, Mailbox Root, and Deleted Items) and removes them permanently (HardDelete).
  • Keeps primary mailbox quota free when archiving tens of gigabytes in batches.
Step 4 • Optional

Package into PST, MBOX, or ZIP

  • PST (Classic Outlook): Builds a Unicode .pst preserving subfolders, splits by size (GB) or year, handles oversized corporate headers (up to 4 MB), and cleanly detaches the PST when done.
  • MBOX (No Outlook): Standard RFC 4155 archive ready for Thunderbird and other clients.
  • ZIP Archive (No Outlook): Single compressed bundle of the complete .eml tree.

Completed 4-step workflow with Date Filter enabled, PST Split by Size configured, and green Done badges on every step
A completed end-to-end backup with the Date Filter enabled, PST size-splitting configured at 10 GB, all four steps verified green, and a full timestamped log.

Built-In Mailbox Management via Right-Click

Beyond backup and export, the folder tree doubles as a fast server-side organizer. Right-clicking any folder in your Primary Mailbox, In-Place Archive, or ExportTemp* branch unlocks two handy actions:

  • Move folder contents… — Bulk-moves all emails from any non-empty folder to any other folder in your Primary Mailbox or In-Place Archive via a searchable destination picker (ideal for reorganizing old folders or moving mail back out of an archive).
  • Permanently delete empty folder — Permanently removes (HardDelete) any strictly empty user-created folder (0 items and 0 subfolders) after an explicit warning confirmation. Critical Exchange system folders (Inbox, Sent Items, Deleted Items, Drafts, Junk Email, Sync Issues, etc. in both English and Czech) are automatically protected and cannot be deleted.
Move Folder Contents destination picker dialog showing Primary Mailbox and In-Place Archive folders with search box
Right-click Move folder contents… lets you move all messages to any destination folder across Primary Mailbox and In-Place Archive.
Built-in bilingual User Guide dialog accessible via Help button or F1 shortcut
Press F1 or click ? Help anytime for the built-in bilingual User Guide, complete with a one-click Copy Guide button.

Engineered for Reliability on Real-World Mailboxes

Exporting tens of thousands of corporate emails exposes edge cases that toy scripts never handle. Several reliability safeguards are built right into the core:

Resilient Outlook PST Engine

Converts .eml to .msg via MsgKit/MimeKit with a raised 4 MB header limit plus header sanitization for malformed corporate mail, releases COM handles aggressively, skips unreachable network PST stores, and automatically reconnects if Outlook RPC drops.

Live Speed, ETA & Sleep Guard

Shows real-time items/minute and estimated time remaining, prevents Windows from entering sleep during long exports (SetThreadExecutionState), and checks free local disk space before Steps 2 and 4 begin.

Auto Token Refresh & Pause/Resume

OAuth tokens renew silently before expiration (and on HTTP 401). If you cancel mid-run—or your laptop loses Wi-Fi—local state tracking lets you pick up right where you left off.

Instant Bilingual UI (EN ⇄ CS)

Defaults to English with a single-click EN ⇄ CS toggle in the header that switches every button, dialog, log entry, and the built-in Help guide between English and Czech on the fly.

Live Folder Tree Search

Instantly filter large mailboxes with hundreds of nested folders using the search bar above the tree, while keeping parent hierarchy and item counts visible.

Ready for Shared Network Drives

Includes loadFromRemoteSources support, isolates per-user settings and WebView2 cache inside %LOCALAPPDATA%\ArchiveToolGui, and defaults exports to a local fixed drive—even when Windows Documents is redirected to a file server.

Full Czech localization toggled live in Mailbox and In-Place Archive Backup Manager
Instant bilingual switching: click EN ⇄ CS in the top-right header to switch the entire interface and built-in documentation between English and Czech without restarting.

Choosing the Right Export Format

Step 2 always gives you clean, future-proof .eml files on disk. If you also want a single consolidated archive in Step 4, pick whichever format fits your workflow:

Format Requires Outlook? Preserves Subfolders Splitting Best For
Raw .eml (Step 2) No Yes Individual files Long-term open-standard archiving, full-text search, compliance storage
Outlook .pst Classic Outlook Yes Single / By GB / By Year Re-opening or importing directly in Microsoft Outlook
MBOX (RFC 4155) No Header metadata Single file Mozilla Thunderbird, Apple Mail, Linux & cross-platform mail clients
ZIP Archive No Yes Single archive Fast transfer, cold backup, or sharing a full folder hierarchy

System Requirements & Deployment

  • Operating System: Windows 10 or Windows 11 (with built-in .NET Framework 4.8 and Microsoft Edge WebView2 Runtime).
  • Microsoft Outlook: Optional—required only if you choose PST packaging in Step 4. EML, MBOX, and ZIP exports work completely without Outlook.
  • Zero-Install Rollout: Copy the distribution folder to a local PC or a read-only shared network drive. Users simply launch ArchiveToolGui.exe; their settings, WebView2 profile, and exported archives stay isolated in their own local Windows profile.

Tip for very large In-Place Archives: Because Step 1 temporarily copies emails into ExportTemp inside your primary mailbox before downloading them, process massive archives (20+ GB) a few folders at a time—running Step 2 (Download) and Step 3 (Clean Copies) between batches so you never hit your primary mailbox quota.

Leave a Reply

Your email address will not be published. Required fields are marked *