Important Notice: On February 29th, this community was put into read-only mode. All existing posts will remain but customers are unable to add new posts or comment on existing. Please feel to join our Community Discord for any questions and discussions.

Change from Static to DCHP

How can I change all network cards in a system to revert back to DHCP setting for IP/DNS. With PDQ?

Thank You



1 comment
Date Votes
  • netsh is your friend... you can find some more info here

    Just create a batch and deploy it where needed. Something like:

    netsh interface ipv4 set address name="Local Area Connection" source=dhcp

    netsh interface ipv4 set dnsservers name="Local Area Connection" source=dhcp

    @echo It may take a few moments for changes to take effect. You may close this window or


    you just have to have the correct name of the network adapter.