8

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?

2

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.

  • 1
    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
4

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

2

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.