A one-click batch tool that raises the Outlook PST size limit to 512 GB and automatically mounts any PST in its folder. USB-portable — built for IT support desk use.
When migrating users or recovering email archives, Outlook's default PST size cap (~50 GB) blocks large .pst files from opening correctly, and manually mounting each PST through Outlook's UI is tedious when you're processing many of them across machines. IT support needed a repeatable, zero-install tool they could carry on a USB stick.
A single setup.bat that:
- Raises the size limit — sets the
MaxLargeFileSizeregistry key to support up to 512 GB PST files (Outlook 365 / 2016+) - Auto-mounts — detects any
.pstfile in the same folder as the script and adds it to the current Outlook profile - Launches Outlook — so the mailbox is immediately accessible
- Copy to USB — copy
setup.batand thisREADME.mdto your USB drive. - Add the PST — place your large
.pstfile in the same folder assetup.bat. - Run — double-click
setup.bat.
| Step | Action |
|---|---|
| Registry update | Sets MaxLargeFileSize to the 512 GB value in the current user's Outlook registry hive |
| Auto-detect | Scans the script's own folder for .pst files |
| Mount | Adds the detected PST to the active Outlook profile via the Outlook automation interface |
| Launch | Starts Outlook so the mailbox is visible immediately |
Windows Batch · Windows Registry · Outlook COM automation
- "Failed to mount PST" — ensure Outlook is installed and you're logged in to a profile.
- Security warning — you may need to "Run as Administrator" if registry keys are locked, though this usually runs fine as a standard user for the current user's registry hive.
MIT.