Link to home
Start Free TrialLog in
Avatar of John Darby
John DarbyFlag for United States of America

asked on

purge all DHCP info

I'm looking for commands to be run on the client that will purge the lease from DHCP and delete DNS/WINS records.

I ran the following commands to simulate the old computer and DHCP lease was deleted, DNS record deleted; however WINS record remained
netsh interface ip delete wins "Local Area Connection" all
ipconfig /flushdns
ipconfig /release
shutdown -f

Avatar of Bryan Butler
Bryan Butler
Flag of United States of America image

Have you tried specifying the specific port?  Or maybe "nbtstat -RR" from:

http://www.hidev.com/technical/nettools.htm#IPCONFIG%20or%20WINIPCFG
I meant specific adapter, not port.
ASKER CERTIFIED SOLUTION
Avatar of Bryan Butler
Bryan Butler
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of John Darby

ASKER

Thank you!