天天看點

如何修改Outlook2013/2016的OST檔案存儲路徑

PS:Outlook2016設定方法類同

To set the default location of an outlook data file you have to make a registry change. Once you make the change, anytime you create a new data file, Outlook will put the data file in that new location. 

These instructions will work in prior versions of office as well but the path to the office key will be slightly different.

1) Start - Regedit - Double-Click Regedit - Accept the Elevation Prompt - Drill Down / Navigate To: Computer\HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Outlook

<a href="http://s3.51cto.com/wyfs02/M02/11/6B/wKiom1LPWW-htuHwAAQwBFNhZno584.jpg" target="_blank"></a>

2) Right-Click Outlook Select New then String Value

3) Type “ForceOSTPath” without the quotes for the variable name and press Enter then Double-ClickForceOSTPath to Edit the string

4) Type the location you want your data files to use. In my case it was D:\_Profile\Mail

5) Click OK {You can close Registry Editor now}  You will need to close Outlook in order for Outlook to use this new setting. Now when you create a new OST data file Outlook will put it in the new location. Close Outlook and move any .PST files to the new location if you like.

Unfortunately to use the new location for your existing accounts, you will need to create a new profile. When a profile is created, it saves the default location :( To utilize the new location for the OST’s you need to let outlook recreate them.

6) Start - Control Panel - View By small Icons/ - Mail (on Windows 8 you can also get there by just clicking Start - Type Mail- Click Settings - Click Mail)

<a href="http://s3.51cto.com/wyfs02/M01/11/6B/wKioL1LPWXOwsSEFAAH88RNAXrs536.jpg" target="_blank"></a>

This screenshot is Windows 8 but Windows 7 will be very similar Now we will create a new profile and let the OST be rebuilt.

7) Click Add, Type in the Name you would like to give the profile (in my case I used “Dan Stolts”) then click OK

<a href="http://s3.51cto.com/wyfs02/M00/11/6B/wKiom1LPWY_iZn1MAAE25GkfNIk889.jpg" target="_blank"></a>

This will start the Auto account Setup wizard

8) Setup your first email account (Exchange or ActiveSync) by filling out your name, email address and password.

<a href="http://s3.51cto.com/wyfs02/M01/11/6B/wKioL1LPWY_xbrdmAAEwrTrRKuU314.jpg" target="_blank"></a>

The account setup should be fully automated.

<a href="http://s3.51cto.com/wyfs02/M02/11/6B/wKioL1LPWaLjIECuAAEoKZHC3_o327.jpg" target="_blank"></a>

Notice if you like you can change the account settings or add another account from the wizard. just click Finish to complete this account setup.

9) We need to set the new profile to be the default.  Do this by clicking the dropdown for “Always use this profile” and select the one we just created.

10) Cleanup - you can now delete the old profile if you like. Deleting the profile will not remove the data files. You will have to go back and do that manually. By default the old data files were at %USERPROFILE%\Local Settings\Application Data\Microsoft\Outlook (in my case that was: C:\Users\dstolts\Local Settings\Application Data\Microsoft\Outlook)

If you want to see the change you can drill down to the outlook data file settings from the mail control panel app Profile - Properties - Data files - Settings - Outlook Data File Settings

<a href="http://s3.51cto.com/wyfs02/M00/11/6B/wKioL1LPWbGRKHKyAAJ88NZGBt0013.jpg" target="_blank"></a>

You can also get the information from the Account settings screen. Profile - Properties - Email Accounts- E-Mail Tab- Click the account and the location of the data file will be listed.

<a href="http://s3.51cto.com/wyfs02/M01/11/6B/wKioL1LPWcDzTTTJAAId6l4GOEE949.jpg" target="_blank"></a>

You can now go ahead and create additional accounts if needed.

If you want to copy the old OST file you can copy it to the new location as long as it is not in use. If it is in use, try closing any apps that might have it open. If that fails try restarting your computer and not running outlook until after you create the new profile. I have not personally tried this so let me know if you have success. This may save you some time downloading a large mailbox.

Tip: If you find the OST is still put in the %USERPROFILE%\Local Settings\Application Data\Microsoft\Outlook folder it is likely because there is already an .OST file of the same name in the destination folder. Try moving it somewhere else. You can try copying it back once the account is successfully setup.

原文位址:

<a href="http://blogs.technet.com/b/danstolts/archive/2012/11/07/how_2d00_to_2d00_change_2d00_default_2d00_data_2d00_file_2d00_ost_2d00_location_2d00_in_2d00_office_2d00_2013.aspx" target="_blank">http://blogs.technet.com/b/danstolts/archive/2012/11/07/how_2d00_to_2d00_change_2d00_default_2d00_data_2d00_file_2d00_ost_2d00_location_2d00_in_2d00_office_2d00_2013.aspx</a>

本文轉自 lorysun 51CTO部落格,原文連結:http://blog.51cto.com/lorysun/1323457

繼續閱讀