天天看点

Outlook2003 PST文件修复之路

今天一用户反应个人归档的邮件打不开,于是打算先把用户的PST文件先复制到我的主机再想办法用工具来修复,结果复制出错

<a href="http://allanfan.blog.51cto.com/attachment/200912/8/520839_1260258912xgnk.png"></a>

直接调用C:\Program Files\Common Files\System\MSMAPI\2052下面SCANPST.EXE来修复也不行,提示请使用磁盘扫描程序检查错误,不管这么多先检查用户的磁盘看看先.

<a href="http://allanfan.blog.51cto.com/attachment/200912/8/520839_1260258915exG3.png"></a>

一检查还真发现文件有问题

<a href="http://allanfan.blog.51cto.com/attachment/200912/8/520839_1260258922LKRq.png"></a>

再次打开PST文件试试看还是打不开,于是再次调用SCANPST.EXE来修复,这次可行了,提示发现错误需要修复,这时会将当前修复的文档做一个备份,修复完成以后,再次打开文档这次OK,大功告成,

<a href="http://allanfan.blog.51cto.com/attachment/200912/8/520839_1260258924GwjW.png"></a>

打开LOG文件,以下是修复相关信息.

Microsoft (R) Inbox Repair Tool 

Copyright (C) Microsoft Corp 1995-1996. All rights reserved.

**Beginning NDB recovery

  **Attempting to open database

  **Attempting to validate header

  **Attempting to validate AMap

  **Attempting to validate BBT

    !!Invalid block (bid=3BDE4, ib=120227392, cb=8176, cRef=2): 

      CRC mismatch (read 00000000, computed AEAA4C75) 

      Sig mismatch (read 0000, computed 3C8D) 

      cb mismatch (read 0, expected 8176) 

      BID mismatch (read 0, expected 3BDE4)

  **Attempting to rebuild BBT

    **Attempting to scavenge for blocks

  **Attempting to validate NBT

    !!Invalid node (nid=802E, bidData=3C59600000000, bidSub=3C5BA00000000, nidParent=0): 

      Data block (bid=3BDE4) not found in BBT

  **Attempting to rebuild NBT

    **Attempting to scavenge for nodes

    !!Invalid node (nid=802E, bidData=3C9FA00000000, bidSub=3CA2200000000, nidParent=0): 

      Data block (bid=3C9FA) not found in BBT

  **Attempting to validate BBT refcounts

    ??Couldn't find BBT entry in the RBT (1DEC4) 

    ??Couldn't find BBT entry in the RBT (2043C) 

    ??Couldn't find BBT entry in the RBT (2241C) 

    ??Couldn't find BBT entry in the RBT (22658) 

    ??Couldn't find BBT entry in the RBT (22768) 

    ??Couldn't find BBT entry in the RBT (22D2C) 

    ??Couldn't find BBT entry in the RBT (239A4) 

    ??Couldn't find BBT entry in the RBT (265A8) 

    ??Couldn't find BBT entry in the RBT (29760) 

    ??Couldn't find BBT entry in the RBT (2AB34) 

    ??Couldn't find BBT entry in the RBT (2DF28) 

    ??Couldn't find BBT entry in the RBT (2EEFC) 

    ??Couldn't find BBT entry in the RBT (31004) 

    ??Couldn't find BBT entry in the RBT (3358C)

    ......................................................

**Attempting to check top-level objects for consistency

      ??Deleting SDO

  **Updating folder hierarchy

    Updating hierarchy table for folder (nid=122, RowID=8022)

**Attempting to fix original file

  **Attempting to copy back BBT

  **Attempting to copy back NBT

     本文转自allanhi 51CTO博客,原文链接:,http://blog.51cto.com/allanfan/240291如需转载请自行联系原作者