IP Address conflict when resuming from sleep

Some of our portable users experienced IP Address conflict when resuming their machines from sleep mode.

An IP address conflict occurs when two computers on a LAN (local area network) or the Internet have been assigned the same IP address. IP conflicts usually render either one or both of computers unusable for network operations.

To avoid this situation you can extend the lease for the Scope or use a DHCP reservations.

If above suggested is not acceptible for you, there is also another way to fix DHCP address conflicts by creating a simple batch file that will renew IP address automatically in the case of IP conflict.

Open Event Viewer and check the System Event Log. Find the event 4199 and choose to Attach Task to This Event option.

Create a new task and configure it to run a batch file/program. Create a new .bat file with following lines:

IPCONFIG /RELEASE
IPCONFIG /RENEW

Now select this .bat file in the Program/script prompt.

After creating task open Properties of it and choose the option to run the task with highest privileges or  the task won’t work, because users do not have the neccesarry rights to release or renew IP address from the DHCP server.

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *

14 + five =