You are currently offline, waiting for your internet to reconnect

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

This article was previously published under Q145881
SUMMARY
Microsoft Windows NT Server includes a utility, Jetpack.exe, that can beused to compact a Windows Internet Name Service (WINS) or Dynamic HostConfiguration Protocol (DHCP) database. Microsoft recommends that youcompact 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 isJetpack.exe.

If the WINS/DHCP service is a resource within a Windows 2000 Cluster, refer to the following article:
283251 How to Use the Jetpack Utility on a Clustered WINS/DHCP Database
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 byJetpack.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: During the compact process, Jetpack.exe creates a temporary file with the name that is specified by the temp database name parameter. The temporary file is removed when the compact process is complete. Make sure you do not have a file already existing in WINS or DHCP folder with the same name as the one specified in the temp database name parameter.
prodnt JET access database dynamic
Properties

Article ID: 145881 - Last Review: 02/21/2007 00:24:29 - Revision: 2.3

  • Microsoft Windows NT Server 4.0, Terminal Server Edition
  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows NT Server 3.5
  • Microsoft Windows NT Server 3.51
  • Microsoft Windows NT Server 4.0 Standard Edition
  • Microsoft Windows NT Server 4.0 Enterprise Edition
  • KB145881
Feedback