Windoews 7 doesn't Take the right IP configuration when it set to obtain IP automatically
Every time I connect to a network wireless or LAN The laptop does not take the right IP Configuration while the adapters are set to obtain the IP Configuration Automatically, after connecting to the network It take an IP from different range than the one
set in DHCP configuration, the obtained IP is 169.254.127.50 and Subnet Mask is 255.255.0.0 which is class B I guess, while it should take IP from the Range 192.168.1.X and subnet mask 255.255.255.0, also I get no Default Get Way and no DNS server.
I cleaned the Windows from viruses and also I found that DHCP Client Service Could not start automatically and when i try to start it manually I get the "Error 5 access denied" message, any way I fixed the
DHCP Client service issue using the steps in this
link taking in regard Rusty Shack comment, so the service now can start automatically but the IP configuration still the same also I found that the
Diagnostic Policy Service has the same DHCP Client issue but I couldn't fix that using the same method i used to Fix
DHCP Client Service problem, also I don't Know what other services could configuring the IP Depend on, Is there any way to fix these Issues using a tool or other methods
major
May 28th, 2012 10:54am
Do I understand correctly that this laptop was infected and after you cleaned the virus, a couple of services didn't work correctly? In this case, I'd recommend to wipe the machine and restore from a (confirmed virus-free) backup.
Otherwise, first steps to track down the problem:
At a command prompt, run
ipconfig /release
and then
ipconfig /renew
Do you get any errors from that?
Are there any entries in the event log regarding the failing services?
Free Windows Admin Tool Kit Click here and download it now
May 28th, 2012 4:04pm
Yes, you do understand correctly, the system was infected and there is no (confirmed virus-free) backup and unfortunately I had to re-install windows to fix the problem I didn't have much time to track the problem, thanks anyway.major
May 29th, 2012 11:30am
It sounds like your services are not starting correctly. Perform a
sfc /scannow
from an elevated command prompt.
The 169.254.x.x ip denotes it could not obtain one dynamically using the current settings. Check all the tabs in the network adaptor settings for IPV4 and secondary IP information.
Post an output of
ipconfig /all
here.
Free Windows Admin Tool Kit Click here and download it now
May 29th, 2012 1:57pm
hello zxxzxx
Thanks for your response, I already Re-installed windows as I mentioned in the previous Post so the problem does not persists, but Thanks for telling me about the SFC Tool i will take this command in consideration major
May 29th, 2012 5:33pm
Mohammad,
Please post the output of ipconfig /all.
Thanks.
Free Windows Admin Tool Kit Click here and download it now
May 30th, 2012 2:47am