Welcome to MSDN Blogs Sign in | Join | Help

DHCP Documentation

Documentation related to Windows DHCP Server and Client.

1) Windows Server 2003

a. Windows Server 2003 Main Technical Reference:

This link has information about:

I. Checklists for installing the service

II.Best Practices.

IIIGeneral How-to’s

IV.Concepts.

V.Troubleshooting for common problems.

b. Netsh Command Reference:

c. Icon Reference:

d. Registry Reference: (Thank you Balint Toth!!)

I. DHCP Server.

II.DHCP Client.

e. DHCP API's on MSDN:

I. DHCP Client API's (Also called as DHCP options API).

II.DHCP Server Callout API's

IIIDHCP Server management API's

2) Windows 2000

a. Windows 2000 Main Technical Reference

b. Registry Reference:

I. DHCP Client.   

II.DHCP Server

3) You can search a given query in the Microsoft support site.

4) You can specifically search the KB articles here.

5) You can search for DHCP queries in the newsgroups:

6) KB Articles for Migration:

a. 130642: How to Move a DHCP Database to another Windows Server http://support.microsoft.com/default.aspx?kbid=130642

b. 325473: How to move a DHCP database to a computer that is running Windows Server 2003 http://support.microsoft.com/?id=325473

c. Migrating from Windows NT Server 4.0 to Windows Server 2003 http://www.microsoft.com/downloads/details.aspx?FamilyID=e92cf6a0-76f0-4e25-8de0-19544062a6e6&DisplayLang=en

7) DHCP Tools: Support Page Download Page

8) Transcripts of Previous Chats:

http://www.eu.microsoft.com/technet/community/chats/trans/network/net1120.mspx

http://www.eu.microsoft.com/technet/community/chats/trans/windowsnet/wnet_082404.mspx

http://www.microsoft.com/technet/community/chats/trans/windowsnet/wnet_05_0303.mspx

 

Published Tuesday, February 22, 2005 9:53 AM by anto_rocks

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# re: DHCP Documentation

Wednesday, February 23, 2005 5:09 AM by someone
That's pretty useful.

# re: DHCP Documentation

Tuesday, May 24, 2005 3:06 AM by Qflash

# re: DHCP Documentation

Tuesday, July 04, 2006 8:55 AM by Damal Raval
Hi..

This is of great help but its not working at my end.

When I try to get the dump of my scope it gives me error

*********************************************

netsh dhcp server scope>dump> d:\scope\reserved.txt
The following command was not found: dump> d:\scope\reserved.txt.
netsh dhcp server scope>dump>d:\scope\reserved.txt
The following command was not found: dump>d:\scope\reserved.txt.
netsh dhcp server scope>exit


C:\>netsh dhcp server 10.0.0.19 scope 10.0.0.0  dump>dump.txt
Access is denied.

C:\>netsh dhcp server 10.0.0.19 scope 10.0.0.0  dump>dump.txt
Access is denied.

C:\>netsh
netsh>dhcp
netsh dhcp>server
netsh dhcp server>10.0.019
The following command was not found: 10.0.019.
netsh dhcp server>10.0.0.19
netsh dhcp server>scope 10.0.0.0 dump>dump.txt

Changed the current scope context to 10.0.0.0 scope.
The following command was not found: scope 10.0.0.0 dump>dump.txt.
netsh dhcp server>?
list                          - Lists all the commands available.
dump                          - Dumps configuration to a text file.
help                          - Displays help.
?                             - Displays help.
add                           - Adds a configuration entry to a table.
delete                        - Deletes a configuration entry from a table.
export                        - Exports the configuration to a file.
import                        - Imports the configuration from a file.
initiate                      - Initiates an operation.
set                           - Sets configuration information.
show                          - Displays information.
scope <scope-ip-address>      - To switch to the scope identified by
                               the IP address.
mscope <mscope-name>          - To switch to the mscope identified by
                               the MScope name.

netsh dhcp server>scope 10.0.0.0

Changed the current scope context to 10.0.0.0 scope.
netsh dhcp server scope>dump>dump.txt
The following command was not found: dump>dump.txt.
netsh dhcp server scope>?
list                          - Lists all the commands available.
dump                          - Dumps scope configuration to a text file.
help                          - Displays help.
?                             - Displays help.
add                           - Adds a configuration entry to a table.
delete                        - Deletes a configuration entry from a table.
initiate                      - Initiates an operation.
set                           - Sets configuration information.
show                          - Displays information.

netsh dhcp server scope>help
list                          - Lists all the commands available.
dump                          - Dumps scope configuration to a text file.
help                          - Displays help.
?                             - Displays help.
add                           - Adds a configuration entry to a table.
delete                        - Deletes a configuration entry from a table.
initiate                      - Initiates an operation.
set                           - Sets configuration information.
show                          - Displays information.

netsh dhcp server scope>show
The command is incomplete. The possible completions are:

show clients                  - Displays all available version 4 client for
                               the scope.
show clientsv5                - Displays all available version 5 client for
                               the scope.
show excluderange             - Displays all available exclusion ranges for
                               the scope.
show iprange                  - Displays all available IP ranges for the scope.
show optionvalue              - Displays all options that are set for the scope.

show reservedip               - Displays all available reservation address for
                               the scope.
show reservedoptionvalue      - Displays the options set for a particular
                               reservation address in the scope.
show scope                    - Displays the current scope.
show state                    - Displays the current state of the scope.
netsh dhcp server scope>show scope

Current Scope 10.0.0.0 in the Server 10.0.0.19.
netsh dhcp server scope>

***********************************************

Please let me know where I am wrong, I tried all different combinations.

Thanks in Advance.

Damal Raval

# re: DHCP Documentation

Wednesday, January 10, 2007 4:21 PM by GZ

this is the coorect sentex

C:\>netsh dhcp server 10.0.0.19 scope 10.0.0.0  dump >dump.txt

I think you forgot to leave a space after ">"

try it again, Thanks.

# re: DHCP Documentation

Wednesday, January 10, 2007 4:23 PM by GZ

sorry for the mistake eralier,

this is the correct sentex

C:\>netsh dhcp server 10.0.0.19 scope 10.0.0.0  dump >dump.txt

I think you forgot to leave a space before ">"

try it again, Thanks.

# re: DHCP Documentation

Wednesday, April 25, 2007 7:31 AM by Emmanuel

Hi Anto,

Hope you can help.

I am trying to get work "netsh dhcp server" commands on an XPPro and/or Vista Ent PC.

I always get the error: "the following command was not found: netsh dhcp server". However I was able to make it work a on my previous XPPro PC. I tried installing "admin tools" "Support Tools" "Resource Kit". No joy. I can  not remmeber how I did make that work. Hope you can help.

Tks in advance

Rgds

Emmanuel

# re: DHCP Control

Monday, June 25, 2007 7:57 AM by Charles James

I have a problem. We are using a surf control system that sniffs the wire and allows/disallows web access. The problem is when the reports are run, it pulls the incorrect machine name often because another machine has taken that IP. We have over 20K machines, and about 50 subnets, so reservations are not practical. I am thinking about creating another database with machine name-mac addr-IP, but it seems there should be another way. Any ideas? Thanks, Charles

Leave a Comment

(required) 
required 
(required) 

  
Enter Code Here: Required
 
Page view tracker