Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a way to find some type of log file that saves all IP address that were assigned to a desktop?

I changed an static IP of a desktop (switched it to DHCP) of mine and i can not recall what the ip address was. Does windows log what it was anywhere?

share|improve this question
Related: How To Find My Previous IP Addresses – Ƭᴇcʜιᴇ007 Dec 15 '12 at 18:23
up vote 3 down vote accepted

Interesting question...

At the very least, the DHCP server should log all the addresses it hands out, if logging is enabled.

Im looking to see if its logged on the client side anywhere, but Im not seeing anything.

share|improve this answer
Im actually surprised, there is no indication of leased IP in the event viewer. – Keltari Sep 14 '12 at 16:34
Looked around a bit and there are obviously event IDs (mentioned on some forums) but they won't show up in the default views or they're hidden somewhere I didn't check (just had a quick look only). – Mario Sep 14 '12 at 16:40
Thanks for helping, Keltari. – StealthRT Sep 14 '12 at 16:53

The Windows DHCP Client service can log this, if you have the Operational log enabled. Some say it is enabled by default, but my limited testing shows otherwise.

This won't help you in the past but it can going forward.

You can enable it in Event Viewer -> Applications and Services -> Microsoft -> Windows -> DHCP Client and enable the Operational log.

After enabling the log "Event viewer --> windows system logs -->filter current log" and choose "dhcp-client" under Event Sources.

Filter dialog, source choosing

share|improve this answer
After enabling the log "Event viewer --> windows system logs -->filter current log" and choose "dhcp-client" under Event Sources.… – matt wilkie Oct 26 '15 at 20:29

As far as I know there's no such log. There are entries for the DHCP client in the system logs, but those seem to take errors and failures only (and won't include manually assigned IPs). What you could try is doing a system restore. If you're lucky, the last restore point is just hours before (or possibly days) and still has the old configuration.

I've found one duplicate question without any clear answer either.

share|improve this answer
Thanks for the info, Mario! – StealthRT Sep 14 '12 at 16:53

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .