How to Use Jetpack.exe to Compact a WINS or DHCP Database

Last reviewed: November 25, 1997
Article ID: Q145881
The information in this article applies to:
  • Microsoft Windows NT Server versions 3.5, 3.51, and 4.0

SUMMARY

Microsoft Windows NT Server includes a utility, Jetpack.exe, that can be used to compact a Windows Internet Name Service (WINS) or Dynamic Host Configuration Protocol (DHCP) database. Microsoft recommends that you compact the WINS database whenever it approaches 30 MB.

NOTE: Chapter 5 page 133 of the Microsoft Windows NT Server versions 3.5 and 3.51 TCP/IP manuals states that Compact.exe can be executed to compact the WINS database. This is not correct. The correct file name is Jetpack.exe.

MORE INFORMATION

The correct syntax for Jetpack.exe is:

   JETPACK.EXE <database name> <temp database name>

Example commands to compact the WINS database:

   CD %SYSTEMROOT%\SYSTEM32\WINS
   NET STOP WINS
   JETPACK WINS.MDB TMP.MDB
   NET START WINS

Example commands to compact the DHCP database:

   CD %SYSTEMROOT%\SYSTEM32\DHCP
   NET STOP DHCPSERVER
   JETPACK DHCP.MDB TMP.MDB
   NET START DHCPSERVER

In the examples above, Tmp.mdb is a temporary database that is used by Jetpack.exe. Wins.mdb is the WINS database. Dhcp.mdb is the DHCP database.

Jetpack.exe compacts the WINS or DHCP database by doing the following:

  1. Copies database information to a temporary database file called Tmp.mdb.

  2. Deletes the original database file, Wins.mdb or Dhcp.mdb.

  3. Renames the temporary database files to the original filename.

NOTE: Jetpack.exe creates another temporary file called Temp.mdb during the compact process. Temp.mdb is removed when the compact process is complete. Therefore, note the following:
  • Do not specify a filename of Temp.mdb on the JETPACK command line. A duplicate file error message appears if Temp.mdb is used.
  • Make sure you not have any file called Temp.mdb in your WINS or DHCP folder.


Additional query words: 3.50 3.51 4.00 prodnt JET access database dynamic
Keywords : NTSrv nttcp ntutil kbtool
Version : 3.5 3.51 4.0
Platform : winnt


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: November 25, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.