PC Adm: Automating the Resetting of Group Files with GIMPORT

Last reviewed: March 27, 1996
Article ID: Q129500
The information in this article applies to:
  • Microsoft Mail for PC Networks, versions 2.1, 3.0, and 3.2

SUMMARY

This article describes how the Microsoft Mail Group Import Program, GIMPORT.EXE version 3.5 and later, can be used to automate the process of removing all Microsoft Mail Postoffice Address List Groups and resetting the group files.

GIMPORT.EXE is available as part of the Application Note titled, "Database Maintenance Utilities," WA0641. This Application Note describes operational details for utilities used to repair and maintain the database for Microsoft Mail for PC Networks. The procedures described apply to versions 2.1 and later of Microsoft Mail for PC Networks, except where noted.

To obtain this Application Note, contact Microsoft Product Support Services.

MORE INFORMATION

GIMPORT.EXE version 3.5 and later has a command line option, -r, which when used will remove all Postoffice Address List Groups and reset all relevant group files to their default states. Before you run GIMPORT.EXE, it is advisable to read the Application Note that accompanies the GIMPORT.EXE. Also, it is recommended that you backup the following directories of your Microsoft Mail postoffice: GLB, GRP, NME, and MEM.

The following command shows how to run GIMPORT.EXE to remove all the Postoffice Address List Groups and reset the group files:

   GIMPORT -dm admin -p<password> -r -v -lgimport.log

where,
  • the Microsoft Mail postoffice is located on drive M.
  • admin is a Microsoft Mail account with Administrative privilege.
  • <password> refers to the password for the 'admin' account.

When the above command is run, GIMPORT.EXE will reset the following files:
  • ADMIN.GRP and ADMINSHD.GRP to 8 bytes, which are set to zeroes.
  • GROUP.GLB to 4 bytes, which are set to zeroes.
  • GRPMEM.GLB to 4 bytes, which are set to zeroes.

In addition, the groups are removed from the ADMIN.NME and ADMINSHD.NME. All non-deleted records in the ACCESS.GLB file are modified to reset the pointer into the GRPMEM.GLB. All the .MEM files are removed from the MEM directory.


Additional reference words: 2.10 3.00 3.20 appnote
KBCategory: kbusage kbtool
KBSubcategory: MailPCAdm


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: March 27, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.