?
Solved

DHCP Renew for all network computers

Posted on 2009-05-12
7
Medium Priority
?
5,552 Views
Last Modified: 2012-05-06
How do I force an immediate IP release and renew of all DHCP clients on my domain controller?
How do I do this for just one client?

Where do I change the settings for how often client computers do this automatically?  Is it a group policy thing?

Running Server 2003.
0
Comment
Question by:AAIAdmin
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
7 Comments
 
LVL 4

Expert Comment

by:gilget
ID: 24364285
hello

the time for the lease to be valid is configured on the dhcp server.

you can run the commands

ipconfig /release
ipconfig /renew

I think You cant run it for all machines from the AD controller.
0
 

Author Comment

by:AAIAdmin
ID: 24364396
So, I can't force a individual client to immediate release and renew the DCHP settings from the server?

How do I change the lease time on the dhcp server?
0
 
LVL 11

Expert Comment

by:g000se
ID: 24364409
Hello,

But you can change when the lease is up on the Dhcp configuration so the clients will have to renew their leases for the IP address.
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
LVL 4

Accepted Solution

by:
gilget earned 1000 total points
ID: 24364450
you can set the lease time of each DHCP scope if you right cliick the DHCP scope on in the DHCP server console and then see in properties.

no, I guess You cant force IP / DHCP from server to all clients without using 3rd party software.
0
 
LVL 4

Assisted Solution

by:delyan_valchev
delyan_valchev earned 1000 total points
ID: 24364460
For a single workstation you can use the commands as gilget proposed.
I think you cannot force all the clients to renew their IP addresses centrally in one single shot. You can delete all the current DHCP leases in the scope using the DHCP console and then use either options:
1. Using PSexec from the PSTools package http://technet.microsoft.com/en-us/sysinternals/bb896649.aspx
Create a list with the names of the clients you want to have their IPs renewed. Say it's named clients.lst
Execute PSExec as follows:
PSExec @clients.lst ipconfig /renew
2. Using AT, you can schedule the execution of "ipconfig /renew" on remote machines like that:
AT \\<machinename> <time> "ipconfig /renew"
e.g.:  AT \\LOCALPC 10:30 "ipconfig /renew"
Hope it helps!
0
 
LVL 2

Expert Comment

by:CBalderson
ID: 24365009
Connect to your DHCP server and check the Scopes Lease Duration?  (under Scope Properties)

By default, the renewal will occur at Half of the Lease Duration (8 day lease will renew on the 4th day).  If you want this to be sooner you can change the Lease Duration to something short. (typically wireless would be short - 4 hours, LAN would be longer 3 - 8 days depending on your clients needs)

Run ipconfig /all and you will see the Lease Obtained and Lease Expires information.
0
 

Author Comment

by:AAIAdmin
ID: 24365148
Thanks gilget for helping find out how to change the DHCP lease times.

Thanks delyan_valchev for helping me figure out how to renew individual clients using PSExec.

These were my two major problems....well done on getting me the answer quickly.
0

Featured Post

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

Scenerio: You have a server running Server 2003 and have applied a retail pack of Terminal Server Licenses.  You want to change servers or your server has crashed and you need to reapply the Terminal Server Licenses. When you enter the 16-digit lic…
A quick step-by-step overview of installing and configuring Carbonite Server Backup.
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

764 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