JSI Tip 5386. Your Windows NT 4.0 DHCP server transaction logs are filling up your hard disk?

If the freespace on your Windows NT 4.0 DHCP server is decreasing, check to make sure that you do NOT have numerous DHCP transaction logs. Check the %SystemRoot%\System32\DCHP folder. If you have numerous files in the j500nnnn.log format, open a CMD prompt on the DHCP server and type:

CD %SYSTEMROOT%\SYSTEM32\DHCP
NET STOP DHCPSERVER
JETPACK DHCP.MDB TMP.MDB
for /f "Skip=1 Tokens=*" %a in ('dir j500????.log /b /o-n') do del /q %a
NET START DHCPSERVER

NOTE: Jetpack.exe will copy / compact the DHCP.MDB database into TMP.MDB, delete DHCP.MDB, and rename TMP.MDB to DHCP.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