Posts

Showing posts with the label DHCP

Export DHCP db

Windows To export your DHCP db for import into SQL or some other db for analysis, use the NT4 Server Resource Kit utility dhcpcmd. The syntax is: dhcpcmd  scope_address  enumclients [-v | -h] where -v is verbose and -h generates hardware information If you need to move the dhcp server db from on server to another, see  How to Move a DHCP Database to Another Windows NT Server  . That is the Microsoft way. A very conservative approach is to recreate the scopes on a new server and let them be deactivated: Use DHCPCMD to import the IP-reservations in the scopes (if there are no reservations, you don't have to do the import of course). Then, deactivate a scope from the old server and activate the corresponding scope on the new server. This should work perfectly as the clients send broadcasts to look for a DHCP server. In the clients' event logs, you'll see NACK errors from the old server. Don't worry about those, a client always checks for the last known DHCP server...

How to Remotely Reconfigure IP from Static Addressing to DHCP

How to Remotely Reconfigure IP from Static Addressing to DHCP  Email  Print This article was previously published under Q194407 IMPORTANT: This article contains information about editing the registry. Before you edit the registry, make sure you understand how to restore it if a problem occurs. For information on how to do this, view the "Restoring the Registry" online Help topic in Regedit.exe or the "Restoring a Registry Key" online Help topic in Regedt32.exe. SUMMARY This article discusses how to change a computer's IP address from static to DHCP from a remote location. MORE INFORMATION WARNING: Using Registry Editor incorrectly can cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk. For information about how to edit the registry, view the "Changing Keys...

Enable DHCP Logging

DHCP Service logs startup and shutdown events in the Event Viewer. You can enable detailed monitoring logs: Right-click the DHCP server in the DHCP Administration Tool Click Properties On the General tab, click Enable DHCP Audit Logging This will create a log file winnt\system32\dhcp\DhcpSrvLog.xxx.

DHCP SERVER Jetpack.exe

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:  Copies database information to a temporary database file called Tmp.mdb. Deletes the original database file, Wins.mdb or Dhcp.mdb. 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 tempo...