Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DHCP server to push updates to clients 1

Status
Not open for further replies.

Murugs

Technical User
Jun 24, 2002
549
US
I changed some settings in DHCP and about to play with it. How do I push the new DHCP settings to the clients.

I know clients can reboot or do a ipconfig /renew and get the updated DHCP scope.

But is there a tool which will push the update to the clients from the server.

Muru
 
Which OSs? Anyway, i don' think there is an easy way.
 
DHCP isn't something you can push, it's pulled from the server by the client.
 
You could be creative, and use a utility such as pssexec to remotely execute ipconfig.

PSExec is part of the Sysinternal's suite of free utilities (sysinternals.com). Basically at a command prompt you would type:

psexec \\computername "ipconfig" /renew

You can script this by placing all of your computernames in a text file (carriage return between computer names). Then at a command prompt typing:

for /f %i in (textfile.txt) do psexec \\%i "ipconfig" /renew,

I love automation...

Mike Fegan, MCSA, MCSE

Vote on the Babe of the Week, and talk shop with other techies at
 
Mike

Thankyou..You are the man.

Murugs
 
Yes it worked like a charm.

Murugs
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top