Skip navigation

JSI Tip 0179 - Compacting your WINS and/or DHCP database.

When using JETPACK to compact a database, never have a TEMP.MDB in the directory of the .MDB you are compacting, as JETPACK use TEMP.MDB as working storage and will delete it.

To compact a WINS database, run a batch file which contains:

cd %SystemRoot%\System32\WINS
net stop WINS
JETPACK WINS.MDB WRK.MDB
net start WINS
exit

To compact a DHCP database, run a batch file which contains:

cd %SystemRoot%\System32\DHCP
net stop DHCPSERVER
JETPACK DHCP.MDB WRK.MDB
net start DHCPSERVER
exit

During the process, JETPACK compacts your database to WRK.MDB, deletes your .MDB, and then renames WRK.MDB.


Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish