Windows IT Pro is the leading independent community for IT professionals deploying Microsoft Windows server and client applications and technologies.
  
  
  Advanced Search 


December 19, 2007

Q. How can I view, add, and remove authorized DHCP servers from the command line?

RSS
Subscribe to Windows IT Pro | See More Dynamic Host Configuration Protocol (DHCP) Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!

A. On a server with DHCP installed, use the Netsh command to manage DHCP server authorization. If the DHCP component isn’t installed, the Netsh command won’t have the necessary DHCP options.

To show all currently authorized DHCP servers, use the Netsh DHCP Show Server command as shown below:

netsh dhcp show server
1 Servers were found in the directory service:
Server [savdaldc02.savilltech.net] Address [192.168.1.11] Ds location:
cn=savdaldc02.savilltech.net
Command completed successfully.

To unauthorize a server, use the Netsh DHCP Add Server <server name> <server IP address> command. To remove a server use the Netsh DHCP Delete Server <server name> <server IP address> command. If a server on the list doesn’t have a name, use a period in the Delete command for the server name: Netsh DHCP Delete Server . <server address>.

End of Article



Reader Comments

You must be a registered user or online subscriber to comment on this article. Please log on before posting a comment. Are you a new visitor? Register now




Top Viewed ArticlesView all articles
Command Prompt Tricks

One reader shares his tip for setting up the command prompt to reflect a remote path. ...

2009 Windows IT Pro Editors' Best and Community Choice Awards

Picking a favorite product from an impressive crowd of competitive offerings is never an easy task, and such was the case with our Editors' Best and Community Choice awards this year. ...

WinInfo Short Takes: Week of November 23, 2009

An often irreverent look at some of the week's other news, including some post-PDC some soul searching, a Google Chrome OS announcement and a Microsoft response, Windows 7 off to a supposedly strong start, the Jonas Brothers and Xbox 360, and so much more ...


IIS and Web Administration Whitepapers Best Practices for SharePoint Backup & Recovery

Meeting Compliance Objectives in SharePoint

Improve SharePoint Performance for Remote Workers

Related Events Managing IT Across Multiple Locations

Check out our list of Free Email Newsletters!

IIS and Web Administration eBooks Web Filtering: An Assessment

Keeping Your Business Safe from Attack: Monitoring and Managing Your Network Security

Related IIS and Web Administration Resources Introducing Left-Brain.com, the online IT bookstore
Looking for books, CDs, toolkits, eBooks? Prime your mind at Left-Brain.com

Discover Windows IT Pro eLearning Series!
Clear & detailed technical information and helpful how-to's, all in our trademark no-nonsense format


Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro DevProConnections IT Job Hound
Left-Brain.com Technology Resource Directory asp.netPRO ITTV Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 © 2009 Penton Media, Inc. Terms of Use | Privacy Statement