Fixidx Tool

The Fixidx tool rebuilds the folder index file from records of all of the folders in a subdirectory. You can use Fixidx with Microsoft Mail version 2.1 and later postoffices. However, it has no effect on Microsoft Mail version 3.0 or 3.2 message files.

When to Use Fixidx

Use this tool only when a folder index is deleted or irrevocably damaged.

Side Effects of Using Fixidx

Running this program will result in the loss of all folder names. Rebuilding Foldroot.idx when there are group folders on that postoffice will make the group folders inaccessible, because Fixidx resets the group folder type to that of a shared folder. To repair damaged files, use the following procedure:

To run Fixidx

The following table lists the command-line options available in FIDIDX, and their descriptions:

Option

Description

<fld_dir>

Indicates the directory that contains the folder (.fld) files that should be used to build the new index file. For example, to rebuild the index (.idx) file for the public folders system when the Microsoft Mail database stored on drive M, use M:\Folders\Pub.

<idx_file>

Indicates that the file will be used to store the new index file. This can be any name but should be the name of the index file for the directory you are dealing with. For example, with the prior example (for <fld_dir>), use M:\Folders\Pub\Foldroot.idx.

<owner>

Displays the name of the person who will have ownership of all the folders in the index that is created. This parameter is necessary if you want to enable folders to be modified (using the Options, Folders, Modify command). Other users are given Read, Write, Delete privileges. For example, to give the administrator access to these folders, this field should be 00000000. If you are giving access to a different user, you must know that user's eight-digit Microsoft Mail ID number.


Note As with all Microsoft Mail tools, it is highly recommended that you back up your Microsoft Mail database before running Fixidx. You must also back up the folder subdirectory you will be working with.

Rebuilding the Index file for Public Folders

To rebuild the index file for public folders

Rebuilding the Index File for Private Folders

To rebuild the index file for a user's private folders

First you need to determine the eight-digit ID number for that user by using the Listuser tool included on the database utilities disk.

After you know the ID number, type the following command (assuming your Microsoft Mail database is on drive M). Substitute the user's eight-digit ID number for <hexid>:

fixidx m:\folders\loc\<hexid> m:\folders\loc\<hexid>.idx <hexid>

If the index file for a user's private folder is corrupted or missing, you can reset that user's folder from the Microsoft Mail Administrator program. Select Local-Admin, Folders, Reset, select the user, and then press enter.

Repairing Damaged Group Folders

Use the procedure outlined below to change the byte parameter, to indicate the current status of the folder as that of a shared folder. Note that you cannot directly change the folder status back to that of a group folder. Instead, the folder is designated as a shared folder.

Before you run DEBUG on the .Fld file, you must run Fixfld on that folder.

Run DEBUG on the folder in question and then change the 49th byte from 00 to 03 by typing the following at the command prompt:

debug 00000003.fld

Then type :

e0131

DEBUG displays the following: xxxx:0131 02, where xxxx will vary from computer to computer.

Type the following, pressing enter after each line:

03

w

q

This resets the folder's internal definition to be that of a shared folder. The administrator must then create a new group folder, move the messages from the old folder to the new folder, and then delete the old folder to restore group access.