|There is no fix needed.|
You'll get an IP address 169.254.x.x, when your system is configured to get an IP address automatically (via DHCP) and for what reasen ever, no DHCP server is reachable.
This also is not an issue of windows only, but to all other OSes like Linux, MAC OS X a.s.o.
It simply shows, that you've got a problem to automatically get an IP address.
So it's up to you, to solve this problem or, if you can't by yourself, post your problem here.
The original poster should always write the last response !!!
Let us know, if the problem is solved !!!