are you CERTAIN that isn't a 169.254.nnn.nnn address? Maybe the 165 is a typo?
I am asking because if Windows doesn't find a DHCP server to get a network address through (if using dynamic rather than assigning static addresses) it defaults to an APIPA address in the 169.254.01 to 169.254.255.254 range.
The Fix for Windows XP -
1. To disable APIPA for selected interfaces on your system without disabling DHCP, run regedit and modify or add the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\Adapters registry subkey. Set the IPAutoconfigurationEnabled REG_DWORD entry to a hexadecimal value of 0.
2. If your system has more than one network interface, you can disable APIPA on the computer. To disable APIPA for all the NICs, run regedit and go to the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces registry subkey. Modify or add a REG_DWORD value named IPAutoconfigurationEnabled, and set the value to a hex value of 0. After you modify one of these registry subkeys, you need to reboot your computer for the change to take effect.
I recommend the second method.
That prevents the APIPA addressing now to solve the missing DHCP server either the router or the modem (if you are connecting directly to it) needs to b re-booted so shut them down by unplugging their power cord for a couple of minutes then plugging them back in and allowing them to boot.
The re-booting of modem and/or router usually solves this but as these components age they do begin dropping connection more often.
So here's the problem my PC say it cant connect to the DHCP-server (I tried both my router and connecting directly to my ISP and the result is the same)
So what have I done so far to fix it?
I have tried "ipconfig /release" and "ipconfig /renew"
I have run different cleaning programs such as C-Clean and spybot.
I have scanned it for viruses with McAfee.
I have tried "netsh int ip reset C:\resetlog.txt" and it looked promising. After I ran it I had connection to my net. But after rebooting the PC I can't connect to the DHCP-server and "netsh int ip reset C:\resetlog.txt" does'nt work.
So what happens?
When I disconnect the UTP-cable the PC say "network no longer connected".
When I connect the UTP-cable the PC say "connected at 1GB/s". But as I said I cant connect to the DHCP-server and if I try to type in an IP-address in the IPv4 config. I cant ping or connect to the other PC's in my LAN.
So what can I do?
I can ping 127.0.0.1.
I get an 165.x.x.x IP-address.
So anyone that can give a tip what's up with my PC and how I can fixit?