Subscribe to Windows IT Pro

 

Get Newsletters

  • Get the Latest News
  • Product Updates
  • Helpful Tricks
  • Productivity Tips

Subscribe Now!

August 14, 2001 12:00 AM

Using Jetpack for Proactive Compacting

Windows IT Pro
InstantDoc ID #21843
Rating: (0)

DHCP and WINS both use the Microsoft Jet database technology for their databases, and like most databases, the DHCP and WINS database files grow over time as records are added and deleted. Microsoft includes Jetpack, a database-compacting tool, in Windows 2000 and Windows NT, and I strongly recommend that you regularly run this tool against both your DHCP (dhcp.mdb) and WINS (wins.mdb) databases as part of your network-maintenance routine.

The Jetpack command's format is

jetpack <database>.mdb <tempdatabase>.mdb

For example, to compact your DHCP database, set the DHCP database directory as the current directory and stop the DHCP service. Then, issue the following command at a command prompt:

jetpack dhcp.mdb tmp.mdb

This command instructs Jetpack to use tmp.mdb as a temporary database during the compacting operation. To compact the database, Jetpack copies records from the primary database to the temporary database. After successfully copying the records, Jetpack deletes the original database and renames the temporary database, giving it the original database name. Regularly using Jetpack to compact DHCP and WINS databases not only keeps the databases small but also alerts you to potential corruption because Jetpack returns an error message if it finds major inconsistencies in a database during compaction.

If you're running DHCP or WINS in a clustered environment, you need to use a different procedure for running Jetpack. Microsoft documents this process in the article "How to Use the Jetpack Utility on a Clustered WINS/DHCP Database" (http://support.microsoft.com/support/kb/articles/q283/2/51.asp).

Related Content:

ARTICLE TOOLS

Comments
    There are no comments to display. Be the first one!
You must log on before posting a comment.

Are you a new visitor? Register Here

advertisement

advertisement

White Papers

Get your Windows 7 deployment off to the right start by implementing PC lockdown. A locked-down environment is easier and cheaper to support since users are less likely to make unnecessary changes to the core system configuration - read more here!

Essential Guides

Is your iSCSI "lossy"? The reality is that most off-the-shelf Ethernet hardware deployed for iSCSI can lose packets, resulting in slow performance or application downtime. Learn how to assess your current iSCSI infrastructure and engineer an advanced iSCSI SAN infrastructure.

Web Seminars

What's the best way to keep your network safe from malware? In this web seminar, security expert Greg Shields suggests an alternative method to the traditional blacklisting approach that is common with anti-virus and anti-malware solutions.

eLearning Series

We bring the experts direct to you to share their real-world perspective and expertise. During each event, three sessions stream in real time, so you can learn, ask questions, and get solutions.
Upcoming event: Getting the Most with Exchange 2010 with Paul Robichaux

Subscribe to Windows IT Pro!

Windows is a trademark of the Microsoft group of companies. Windows IT Pro is used by Penton Media Inc. under license from owner.