Sometimes it becomes necessary to get a new IP address or update DHCP options sent by a DHCP server, for example when moving a laptop from one network to another. A simple command will renew the DHCP lease.
To renew all DHCP leases, use this command from a command prompt:
ipconfig /renew
This continues to work on all versions of Windows including Windows 7 and Windows 8.