[Last Call] Learn how to a build a cloud-first strategyRegister Now


Remove the machine names from the DHCp server whose names i have in a txt file.

Posted on 2008-11-15
Medium Priority
Last Modified: 2012-05-05

Remove the machine names from the DHCp server whose names i have in a txt file.

When machines are removed permanently of moved to another are where there is a different DHCP server tp lease. Can i have a script to remove the machine names from the server immediately rather than waiting for the lease period time.

Question by:bsharath
  • 2
LVL 12

Expert Comment

by:Hugh Fraser
ID: 22968103
A simpler way is to do an ipconfig /release on the client machines to release their lease before moving them. There's less chance of an error than trying to mess directly with the dhcp server, database.
LVL 11

Author Comment

ID: 22971196
Thanks that would be fine for say 1 to 10 + machines here i want to do this for 100 + machines each time when they move from one location to another.
LVL 12

Accepted Solution

Hugh Fraser earned 1500 total points
ID: 22971652
If the problem is exhausted resources in an dhcp zone, you could also look at shortening the lease lifetime. This addresses mobile devices and limited address space. I just assumed by the "permanent" part of your request that this was a one-time move.

What kind of DHCP server and what platform are you running on?

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article was inspired by a question here at Experts Exchange (http://www.experts-exchange.com/Software/Photos_Graphics/Images_and_Photos/Q_28629170.html). The requirements stated in that question are (1) reduce the file size of a large number of…
How to remove superseded packages in windows w60 or w61 installation media (.wim) or online system to prevent unnecessary space. w60 means Windows Vista or Windows Server 2008. w61 means Windows 7 or Windows Server 2008 R2. There are various …
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
Suggested Courses
Course of the Month18 days, 8 hours left to enroll

825 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question