You open Outlook AutoArchive settings to change where your archived emails are saved, but the PST file path is grayed out and cannot be edited. This happens because Outlook stores the default archive location in a registry key that is locked once set, or because the current archive file is in use. This article explains why the path appears read-only and provides two methods to switch the archive location: using Outlook settings and editing the Windows Registry.
You will learn how to identify the root cause of the locked path and how to safely change it without losing archived data. By the end, you can point AutoArchive to a new PST file on a different drive or folder.
Key Takeaways: Switching the AutoArchive PST Location
- File > Options > Advanced > AutoArchive Settings > Browse: The standard method to change the archive PST path, but only works if the current archive file is not in use.
- Registry Editor: HKCU\Software\Microsoft\Office\16.0\Outlook\Preferences\ArchiveFile: Directly modify the archive path when Outlook settings are grayed out.
- Close Outlook and disable add-ins: Before editing the registry, exit Outlook fully and temporarily disable COM add-ins that might lock the archive file.
Why the AutoArchive PST Path Is Read-Only
When you open File > Options > Advanced and click AutoArchive Settings, the Browse button next to the archive PST path may be disabled. This occurs for three primary reasons:
First, the current archive PST file is open and in use by Outlook. Outlook locks the file to prevent corruption, so you cannot change the archive location while the file is active. Second, a registry entry named ArchiveFile under HKEY_CURRENT_USER\Software\Microsoft\Office\XX.0\Outlook\Preferences stores the path, and if Outlook detects that path is valid, it does not allow editing through the UI. Third, group policy settings from your IT department may enforce a fixed archive location, making all controls read-only.
The archive PST file itself is a personal folders file that Outlook uses to store moved items after the AutoArchive process runs. Changing the location requires either closing the file first or editing the registry directly.
Method 1: Change Archive Location Through Outlook Settings
This method works when the Browse button is clickable but the path field is grayed out. Follow these steps to switch the archive PST file location.
- Close Outlook completely
Exit Outlook from File > Exit. Then open Task Manager (Ctrl+Shift+Escape) and end any remaining Outlook.exe processes. This releases the lock on the current archive PST file. - Open Outlook and go to AutoArchive Settings
Launch Outlook. Go to File > Options > Advanced. Under the AutoArchive section, click AutoArchive Settings. - Click Browse and select a new location
In the AutoArchive dialog, next to the archive PST path, click Browse. Navigate to the folder where you want the new archive PST file. Enter a file name, such as Archive.pst, and click OK. - Apply the new settings
In the AutoArchive dialog, click OK. Then click OK in the Outlook Options window. Outlook creates a new PST file at the chosen location and moves future archived items there. Existing archived items remain in the old PST file.
Method 2: Change Archive Location via Registry Editor
Use this method when the Browse button is grayed out or when group policy blocks UI changes. Editing the registry directly overrides the path.
- Close Outlook and all Office apps
Exit Outlook, Word, Excel, and any other Office programs. Check Task Manager to ensure no Office processes are running. - Open Registry Editor
Press Windows+R, typeregedit, and press Enter. Click Yes if prompted by User Account Control. - Navigate to the Outlook Preferences key
Go toHKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Outlook\Preferences. For Outlook 2019 or 2016, the version number is 16.0. For Outlook 2013, use 15.0. For Outlook 2010, use 14.0. - Modify the ArchiveFile value
Double-click theArchiveFilestring value in the right pane. In the Value data field, enter the full path to the new archive PST file. For example:C:\Archives\OutlookArchive.pst. If the folder does not exist, create it before setting the path. Click OK. - Restart Outlook
Close Registry Editor and open Outlook. Go to File > Options > Advanced > AutoArchive Settings to verify the new path is displayed.
Common Issues After Changing the Archive Location
Outlook does not create the new PST file
If the folder specified in the registry does not exist, Outlook cannot create the file. Create the folder manually, then repeat the registry edit. Ensure the folder path contains no special characters or trailing spaces.
Old archive PST file still appears in Outlook
Changing the archive location does not remove the old PST file from the Outlook profile. To remove it, go to File > Account Settings > Account Settings > Data Files tab. Select the old archive PST and click Remove. Items in the old file are not deleted, but you must open the file manually to access them.
Group policy prevents any registry change
If your computer is managed by an organization, group policy may enforce a fixed archive location. Contact your IT administrator to request a policy change. Editing the registry under these conditions may be overwritten on the next policy refresh.
AutoArchive Settings vs Manual Archive: Key Differences
| Item | AutoArchive | Manual Archive |
|---|---|---|
| Trigger | Runs automatically based on age and schedule | User initiates via File > Info > Tools > Clean Up Old Items |
| Archive PST file location | Set in AutoArchive Settings or registry | Chosen each time you run the manual archive |
| Item deletion | Can delete expired items instead of archiving | Always moves items to the archive PST |
| Folder scope | Applies to all folders or individually configured folders | Applies to the selected folder only |
| Registry override | Uses ArchiveFile value | No registry dependency |
After completing either method, Outlook will use the new archive PST file for future AutoArchive runs. To verify the change, run the AutoArchive process manually by going to File > Options > Advanced > AutoArchive Settings and clicking Apply Archive Settings Now. Check the new folder location for the PST file. If you encounter errors, ensure the path in the registry matches an existing folder and that you have write permissions to that location. As an advanced tip, you can also change the ArchivePath value under the same registry key to point to a network share, but this requires Outlook to have permission to write to that share.