Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Cannot get an IP address automatically


08 Apr 2010   #1

Windows 7
 
 
Cannot get an IP address automatically

I recently replaced Windows 7 RC with my version of Windows 7 Pro x64 from my universities MSDNAA.

The problem, is that Windows can't assign itself an IP address. I must go into the adapter settings and manually enter my LAN address (192.168.1.2) and my gateway address. After I set these, it looks for the problem and says that DHCP is turned off (it shouldn't be), and then applies the fix. I have to do this every time I boot into Windows. My previous install of Windows 7 RC didn't do this, and my primary OS, Ubuntu, works fine too.

Any solutions?

Kind regards,
Tom

My System SpecsSystem Spec
.

08 Apr 2010   #2

XP Pro SP3 X86 / Win7 Pro X86
 
 

Quote   Quote: Originally Posted by ukblacknight View Post
I recently replaced Windows 7 RC with my version of Windows 7 Pro x64 from my universities MSDNAA.

The problem, is that Windows can't assign itself an IP address. I must go into the adapter settings and manually enter my LAN address (192.168.1.2) and my gateway address. After I set these, it looks for the problem and says that DHCP is turned off (it shouldn't be), and then applies the fix. I have to do this every time I boot into Windows. My previous install of Windows 7 RC didn't do this, and my primary OS, Ubuntu, works fine too.

Any solutions?

Kind regards,
Tom

This is probably a services issue....

Control Panel -> Administrative tools -> Services.

Set "DHCP Client" to Automatic
Set "DNS Client" to Automatic

In the adaptor settings where you've been keying your IP...
Set it to "Obtain IP Address automatically" and "Obtain DNS server Address automatically"...

Restart your system.

In your router/switch ... check settings and be sure that DNS and DHCP are enabled there too.
My System SpecsSystem Spec
08 Apr 2010   #3

Windows 7
 
 

Quote   Quote: Originally Posted by CommonTater View Post
Quote   Quote: Originally Posted by ukblacknight View Post
I recently replaced Windows 7 RC with my version of Windows 7 Pro x64 from my universities MSDNAA.

The problem, is that Windows can't assign itself an IP address. I must go into the adapter settings and manually enter my LAN address (192.168.1.2) and my gateway address. After I set these, it looks for the problem and says that DHCP is turned off (it shouldn't be), and then applies the fix. I have to do this every time I boot into Windows. My previous install of Windows 7 RC didn't do this, and my primary OS, Ubuntu, works fine too.

Any solutions?

Kind regards,
Tom

This is probably a services issue....

Control Panel -> Administrative tools -> Services.

Set "DHCP Client" to Automatic
Set "DNS Client" to Automatic

In the adaptor settings where you've been keying your IP...
Set it to "Obtain IP Address automatically" and "Obtain DNS server Address automatically"...

Restart your system.

In your router/switch ... check settings and be sure that DNS and DHCP are enabled there too.
I just booted back in, and the DHCP and DNS services were already set to automatic and were running. The adapter settings was already on "Obtain IP Address automatically", it changes itself back to that after a reboot. There's a shield icon on the properties for the adapter, indicating that the system should escalate privileges to administrator to change such settings, but I'm never prompted - could this be the reason why it never remembers my settings?

DHCP is running on the router, every other device in the house connects to it fine :\ If I look on the router under "Attached Devices", it lists my machine with an IP of 192.168.1.167, where as when I'm running under Ubuntu, it's 192.168.1.2.
My System SpecsSystem Spec
.


08 Apr 2010   #4

XP Pro SP3 X86 / Win7 Pro X86
 
 

Quote   Quote: Originally Posted by ukblacknight View Post
I just booted back in, and the DHCP and DNS services were already set to automatic and were running. The adapter settings was already on "Obtain IP Address automatically", it changes itself back to that after a reboot. There's a shield icon on the properties for the adapter, indicating that the system should escalate privileges to administrator to change such settings, but I'm never prompted - could this be the reason why it never remembers my settings?

DHCP is running on the router, every other device in the house connects to it fine :\ If I look on the router under "Attached Devices", it lists my machine with an IP of 192.168.1.167, where as when I'm running under Ubuntu, it's 192.168.1.2.
I'm not one to leap directly to "get new drivers" or any of the other trite advice you'll see on forums like this. Most problems end up being settings or connections issues... but in this case, maybe you should try updating your network drivers before you go too much further.

Also is IPv6 running? Some routers just can't deal with it so you might also try unchecking that and rebooting.
My System SpecsSystem Spec
Reply

 Cannot get an IP address automatically




Thread Tools




Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 04:23 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33