loading...


loading...


loading...

 

我的分类(专题)
loading...

日志更新
loading...

最新评论
loading...

留言板
loading...

链接

Blog信息
loading...







pst file in Outlook2003
Kevin Zhou 发表于 2006-2-9 21:38:34

Outlook版有人在问Outlook的PST文件超过2G怎么办,以及Outlook2003的PST容量问题,刚好有空,详细写一下答案在这里。

前一个问题,是很老的问题了,微软提供了专用工具,用来剪裁PST、OST文件,下载地址是:http://www.microsoft.com/downloads/release.asp?ReleaseID=44353&area=search&ordinal=1

后一个问题,有点复杂。微软的确宣称PST文件在Outlook2003下能使用更大的容量,比如到20G,但是虽然有几篇相关的KB,这个问题讲不是很清楚,我个人认为也许提出的时候是为了增加卖点,所以技术细节没有说明,甚至有点容易对用户造成误导。

KB830336:PST 文件在 Outlook 2003 中具有不同的格式和文件夹大小限制 中大概描述了新版本PST的特性以及与旧版本的区别:

Microsoft Office Outlook 2003 中的个人文件夹 (.pst) 文件的格式不同于较早版本中的 Microsoft Outlook,而且其个人文件夹的大小限制也放宽了。在 Outlook 2002 和更早的版本中,.pst 文件采用 American National Standards Institute (ANSI) 格式,文件夹大小限制为 2 GB。

在 Outlook 2003 中,.pst 文件默认为 UNICODE 格式,文件夹大小限制已经超过 20 GB。 Outlook 2003 支持 UNICODE 和 ANSI 两种格式,Outlook 2003 之前的版本不支持 UNICODE 格式,而且文件夹大小限制较小。

另外,微软在KB832925“如何在 Outlook 2003 中配置 (.pst) 和 (.ost) 文件的大小限制” 中也讲述了相关方法:

HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\11.0\Outlook\PST
HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Outlook\PST
下分别有四项注册表键值:
MaxFileSize 注册表项
WarnFileSize 注册表项
MaxLargeFileSize 注册表项
WarnLargeFileSize 注册表项

MaxFileSize 注册表项决定 .pst 和 .ost 文件可以增长到的最大绝对大小。达到此最大大小后,Outlook 2003 不允许文件大小的增长超过此大小。
WarnFileSize 注册表项决定 .pst 和 .ost 文件可以拥有的最大数据量。达到此最大数据量后,将不允许 .pst 和 .ost 文件再添加任何数据。但是,物理文件的大小仍会因内部进程而增长。

MaxLargeFileSize 注册表项和 WarnLargeFileSize 注册表项指的是 UNICODE 格式(新的 Large 格式)文件;MaxFileSize 注册表项和 WarnFileSize 注册表项指的是 ANSI 格式(早期的 Microsoft Outlook 格式)文件。UNICODE 值是以兆字节 (MB) 增量设置的,而 ANSI 值是以字节增量设置的。

名称 类型 有效数据范围 默认值
MaxLargeFileSize REG_DWORD 0x00000001 – 0x00005000 0x00005000 20,480 (20 GB)
WarnLargeFileSize REG_DWORD 0x00000000 – 0x00005000 0x00004C00 19,456 (19 GB)
MaxFileSize REG_DWORD 0x001F4400 – 0x7C004400 0x7BB04400 2,075,149,312 (1.933 GB)
WarnFileSize REG_DWORD 0x00042400 – 0x7C004400 0x74404400 1,950,368,768 (1.816 GB)


 

建议 MaxFileSize 注册表项与 WarnFileSize 注册表项之间的值以及 MaxLargeFileSize 注册表项与 WarnLargeFileSize 注册表项之间的值至少为 5%,以便不会阻碍内部进程继续执行。

如果 MaxFileSize 注册表项的值超过 .pst 或 .ost 文件的 ANSI 2 GB 限制,则忽略该值,将大小限制在 2 GB 以防止文件损坏。对于 UNICODE 文件,WarnFileSizeregistry 注册表项的默认值计算为 MaxFileSize 注册表项的 95%,而对于小的 ANSI 文件,它保留为 1,950,368,768 字节。

注意:可以将 UNICODE 限制设置为超出表中列出的值。但是,由于会引起性能下降,建议您不要这样做。

如果 .ost 文件或 .pst 文件达到 WarnFileSize 或 WarnLargeFileSize 注册表项中指定的限制,则触发压缩功能以尝试将文件大小减小到可用级别。当达到 WarnFileSize 或 WarnLargeFileSize 限制时,将无法发送电子邮件(假设已发送的电子邮件存储在“已发送的邮件”文件夹中),且无法在文件中复制或移动项目。如果此文件是用于自动存档的存档 .pst 文件,则自动存档操作将失败。但是,可以删除电子邮件或从当前作为默认传送位置使用的 .pst 或 .ost 文件来对其进行存档。

下面是文件达到注册表项中指定的最大值时可能出现的一些错误:

当尝试将项目移动到已达到限制的 .pst 或 .ost 文件中时,会收到以下错误信息:

Can't move the items.The file <path>\<filename>.pst has reached its maximum size.To reduce the amount of data in this file, select some items that you no longer need, and then permanently delete them.

当电子邮件传送到使用缓存 Exchange 模式的 .pst 或 .ost 文件,并且此文件已达到限制时,将启动“邮箱清除”向导。

 

看完以上两篇KB,应该对Outlook2003的PST文件为什么能达到20G以及更高的容量有了基本了解。但是,这两篇KB没有说清楚:PST文件的版本,不等于当前Outlook的版本。只有在Outlook2003中创建的新版本PST文件,才是真正的使用unicode码的2003版PST文件。这种文件无法被较低版本的Outlook版本所兼容。因为PST文件在Unicode码和ANSI码之间转换的话,有可能造成部分内容丢失,所以微软没有直接提供PST的版本转换功能。这也就是说,如果你的PST文件是在Outlook XP或更低版本下创建的,然后升级到Outlook 2003,你的PST文件不会自动升级到2003版,而仍是“97-2002版”。这个版本的PST是ANSI码,所以仍然是2G限制。

所以,尽管你使用的是Outlook2003,也不意味着你的PST文件能超2G。PST文件的版本取决于它被创建时选择的版本而不是你现在使用的Outlook版本。

那么,如何实现PST文件的版本转换呢?

OfficeOnline里面的一篇“Configuring Unicode Options for Outlook 2003 ”有提及。即使用组策略编辑器来完成,下面摘录全文:

Configuring Unicode Options for Outlook 2003

Microsoft Office Outlook® 2003 can now provide full Unicode® support. Using Outlook in Unicode mode is especially advantageous for organizations with multilingual needs and — because Outlook Unicode-formatted files have higher storage capacities than non-Unicode files — for users who need very large Outlook files.

Taking advantage of Unicode support in Outlook depends on users' Microsoft Exchange Server version and other criteria that are checked when users run Outlook. If the criteria for using Unicode are met and users are running in Unicode mode, Unicode is used throughout Outlook when used with Exchange Server (for e-mail messages, the Address Book, and so forth).

To determine whether to use Unicode mode or non-Unicode (ANSI) mode, Outlook evaluates a set of requirements and options. One requirement for Unicode mode is that users must have Exchange 2000 or later accounts. Outlook also checks the formats — Unicode or ANSI — of users' Offline Store (OST) files and the default archive files. Finally, Outlook checks the format of users' PST files that are used as a delivery location (if any).


Caution   Switching between Unicode mode and non-Unicode mode (ANSI) can cause data loss in multilingual text fields or prevent text from being readable. For this reason, users who begin using Outlook in Unicode mode should continue to use Unicode mode.


If you want users in your organization to use Unicode for Outlook, you can use several methods to deploy Outlook so users can run in Unicode mode. One deployment option is to encourage Unicode usage by establishing an environment in which, for most users, the criteria that Outlook checks to allow Unicode mode are met. Unicode is used by default if the criteria are met, unless you set options to use ANSI. Another option is to require Unicode for Outlook usage (when supported by an appropriate Exchange Server version) by setting options that create new Unicode user files automatically, if that is necessary for Outlook to run in Unicode mode. Or you can use a combination of these approaches.

Coordinating Cached Exchange Mode and Unicode deployment

If you plan to deploy Cached Exchange Mode with Outlook 2003, you may want to configure and deploy options for migrating users to Unicode mode first. Cached Exchange Mode synchronizes users OST and Offline Address Book (OAB) files with Exchange Server data. When you deploy Unicode options to users, synchronizing OST and OAB files might also be required.

For example, Outlook files are synchronized with Exchange Server in the following Unicode deployment scenarios:

                        When you deploy a new offline Outlook profile — for example, to move current offline users to Unicode mode — Outlook synchronizes OST and OAB files, after creating the new files for users as part of the new profile.

                        When Outlook users are moved to an Exchange 2003 server with a Unicode OAB, the new OAB is downloaded.

In scenarios like these, you may want to wait to deploy Cached Exchange Mode until after you have deployed Unicode options for your organization. This will help minimize the load on your Exchange servers and the time users spend downloading data to their computers.

Facilitating usage of Unicode mode by Outlook

Using Unicode for messaging and other Outlook features has benefits that you may want your users to be able to take advantage of, without mandating that everyone migrate to Unicode mode directly when Outlook 2003 is installed. To facilitate greater usage of Unicode mode, you can help provide a messaging environment configured to help Outlook be able to run in Unicode mode.

Since Outlook uses Unicode mode by default if all criteria it looks for are met, take steps to make sure that the requirements are met, such as the following:

1.              By using the Custom Installation Wizard, create a new Outlook profile to deploy to users. By default, a new offline profile creates a new OST file for users and a new default archive file, both of which will use the new Unicode file format.

2.              Ensure that in the new Outlook profile, users' Exchange accounts are on Exchange Server 2000 or later.

3.              Deploy Outlook to your users.

You can deploy Outlook using your organization's standard Office deployment method.

It is straightforward to create and customize a new Outlook profile by using the Custom Installation Wizard.

To create new Outlook offline profiles for users

1.              In the Custom Installation Wizard, on the Outlook: Customize Default Profile page, click New Profile.

2.              In the Profile name box, type a name for the new Outlook profile, and then click Next.

3.              On the Outlook: Specify Exchange Settings page, click the Configure an Exchange server connection radio button.

4.              In the User Name box, leave the default user name system variable or enter a different variable.

5.              In the Exchange Server box, enter the name of an Exchange server. (The Exchange server name will be replaced with the correct Exchange server when the user starts Outlook for the first time after upgrading.)

Note that the Exchange server with the user account must be running Exchange 2000 or later for Outlook to run in Unicode mode.

6.              Click More Settings.

7.              On the Microsoft Exchange Server page, select the Enable offline use check box to deploy a new OST file, and then click OK.

8.              Click Next.

After completing your customizations for Outlook in the Custom Installation Wizard, you click Finish to create a transform (MST file), and then deploy Outlook to your organization with this transform. For example, you might use Microsoft Systems Management Services (SMS) or Group Policy software installation to deploy Office software. Other options include having users run an Outlook Setup command line from the administrative installation point or creating a custom CD and providing it to your users.


Group Policy Tip   Unicode format is used for new PST files by default. You can also set a policy to enforce Unicode format for new PST files. In Group Policy, using the Outlook ADM file (Outlk11.adm), go to User Configuration\Administrative Templates\Microsoft Office Outlook 2003\Miscellaneous\PST Settings and double-click Preferred PST Mode (Unicode/ANSI). Click the Enabled radio button to enable configuring the policy, and then in the Choose a default format for new PSTs drop-down list, select Enforce Unicode PST.


Enforcing Unicode mode for Outlook users

There may be scenarios in which it is important that all users in an organization are migrated to use Unicode mode in Outlook when Outlook 2003 is installed, without modifying all users' profiles. You can enforce migrating users to Unicode by making sure that the criteria that Outlook uses for determining if users run in Outlook mode are met, or that Outlook takes steps to help ensure that Unicode file formats are used in users' profiles by creating and synchronizing new Outlook files if necessary.

The first criterion for using Unicode mode is that users must use Outlook with Exchange Server 2000 or later.

Next, Outlook checks the format of a user's OST file to determine if the file format is Unicode or non-Unicode (ANSI). If the format of the OST file is ANSI, Outlook will run in ANSI mode. However, you can set a policy so that when Outlook checks the file format, if a user has an ANSI OST file, a new Unicode OST file is automatically created and synchronized with Exchange Server. You can define the policy so that users are prompted with a dialog box that notifies them that their new OST file is about to be synchronized with the Exchange server, so users can confirm to proceed with the update at that time. Or you can require that new OST files be created without providing users the option to defer the action.

Outlook next checks the file format for the user's default archive file (if one exists). You can set a policy that will automatically create a new Unicode default archive file as well. (Users can still access ANSI archive files.) Unlike the policy that manages new Unicode OST files, you cannot provide the option for users to defer creation of a new default archive file.

Finally, if a user's mail delivery location is a PST file, Outlook checks the delivery PST file to determine if the file format is Unicode. However, you cannot require a new Unicode PST file to be created to replace the existing PST file if Outlook determines that a user has an ANSI PST file. In this scenario — where Outlook delivers to ANSI PST files and you want to require Unicode mode for users — you can instead create and deploy new profiles to users with the delivery location set to new PST files, which will be Unicode by default.

Pointing Outlook to use a new delivery PST file automatically — without users themselves specifying the change — might lead users to believe that their existing mail has vanished. Older mail is still in the original PST file but that file is no longer in the user's profile and is therefore not accessible by default. Users would need to manually add the older PST file back to their profile to access the information. Because the PST file being removed from the user profile can be perceived as data loss by users —though the data still exists, it is not where users can readily see and access it — the option to automatically switch to a new Unicode PST is not provided.

You may want to carefully time the implementation of the policies that might create and populate new Unicode files. When Outlook creates and synchronize new Unicode OSTs and default archive files, users must wait for server data to be downloaded. You should also make sure that users have synchronized with Exchange Server prior to the new policies taking effect. Any local changes that have not been synchronized — such as e-mail messages in a user's Outbox or updates to Contacts information — will be lost.

To enforce Unicode mode in Outlook

1.              In Group Policy, load the Outlook 2003 template (Outlk11.adm).

2.              Under User Configuration\Administrative Templates\Microsoft Office Outlook 2003, click Exchange Settings.

3.              Double-click Exchange Unicode Mode — Ignore Archive Format.

4.              Click the Enabled radio button to enable configuring the policy.

5.              Select the Ignore existing format of the Archive PST check box, and then click OK.

6.              Double-click Exchange Unicode Mode — Ignore OST Format.

7.              Click the Enabled radio button to enable configuring the policy.

8.              In the Choose whether existing OST format determines mailbox mode drop-down list, select Create new OST if format doesn't match mode. Users will be prompted for the file name of the new OST file.

–or –

To prompt users with a dialog box allowing them to defer creating a new OST, select Prompt to create new OST if format doesn't match mode. Users will be prompted to decide whether to create the new OST file now or later, and then (if they choose to create the file now) for the file name of the new OST file.

–or –

To avoid any user prompts, select OST Format determines mode.

9.              Click OK.

After completing your customizations for Outlook in the Custom Installation Wizard, you click Finish to create a transform (MST file), and then deploy Outlook to your organization.

Using Unicode format for Outlook messages dragged to the desktop

When you use the Microsoft Windows® drag-and-drop feature to drag an Outlook item to the Windows desktop, the format of the file that is automatically created is Unicode by default. You can configure a default option by using the Custom Installation Wizard to use ANSI for the message format instead of Unicode.

To use Unicode format for message files that are dragged to the desktop from Outlook

1.              In the Custom Installation Wizard, on the Change Office User Settings page, click the plus sign (+) next to Microsoft Office Outlook 2003.

2.              Under Tools | Options\Other\Advanced, double-click MSG Unicode format when dragging to file system.

3.              Click the Apply Changes radio button.

4.              Clear the Check to set messages as Unicode format. Uncheck for ANSI. check box.

5.              Click OK.


Note   If you drag an Outlook item into the body of a message that you are composing when using Microsoft Office Word 2003 as your e-mail editor, the format of the item will be ANSI regardless of the setting specified in the MSG Unicode format when dragging to file system policy. However, if you drag the item to the Attachments box in the message instead, the file format policy will be followed.

OK,现在我们打开电脑上的组策略器,尝试一下转换PST文件的版本吧。嘿嘿,肯定不行的,因为根本找不到一个Microsoft Office Outlook 2003的项目。为什么?

因为你肯定没有安装过“Microsoft Office 2003 Resource Kit ”。

好了,如果有人一定要完成这项艰巨的任务,那么最后还来读一篇KB。 KB826170:Office 2003 策略模板的使用方法 ,读完后就知道了。

最后总结一下:

Outlook2003版本的PST文件,容量可以超过2G,直达20G甚至更多。获得Outlook2003版本的PST文件有两种方法:一是在Outlook2003里面创建2003版的PST文件(即Office Outlook PST),这是最简单的方法;二是通过版本转换,先安装Microsoft Office 2003 Resource Kit ,然后通过组策略编辑器,加载OUTLK11.ADM,来进行转换。抱歉,第二者,我目前没有试验过,哪位成功了,给个信儿,呵呵。

 


阅读全文 | 回复(7) | 引用通告 | 编辑
 


  • 标签:Outlook 
  • Re:pst file in Outlook2003
    小树(游客)发表评论于2006-12-6 14:52:14
    不错

    个人主页 | 引用 | 返回 | 删除 | 回复
     


    Re:pst file in Outlook2003
    小笨(游客)发表评论于2006-10-20 15:20:18
    呵呵,仔细学习中。。。

    个人主页 | 引用 | 返回 | 删除 | 回复
     


    Re:pst file in Outlook2003
    WC Law(游客)发表评论于2006-2-10 19:55:41

    The limit for the ANSI version if it is 2048 MB and the Unicode version has a maximum size of 3984500 MB.

    True ???

    http://www.x-setup.net/product/plugins/html/XQ%20MSO2003%20OTL%20PST%201.asp


    个人主页 | 引用 | 返回 | 删除 | 回复
     


    Re:pst file in Outlook2003
    WC Law(游客)发表评论于2006-2-10 19:29:55
    You need x3 times the space to run in the inbox repair tool.  So a 20Gb pst would need 60Gb of space for the repair process.

    个人主页 | 引用 | 返回 | 删除 | 回复
     


    Re:pst file in Outlook2003
    果果(游客)发表评论于2006-2-9 22:12:50
    你们的文章看起来枯燥。。

    个人主页 | 引用 | 返回 | 删除 | 回复
     


    发表评论:

      大名:
      密码:
      主页:
      标题:
      loading...


    Powered by Oblog.