You are on page 1of 4

9/5/2016

Windows Vista cant get an IP address from certain routers or DHCP servers

Sign in

Windows Vista cant get an IP address from certain


routers or DHCP servers
Certain routers or DHCP servers areincompatible with Windows Vista. This article helps
youresolve the issue. If you are not sure if your router is compatible, you can still try the fix.

Fix it automatically
Click "Fix this problem" to automatically fix this issue. Click Run in the File Download dialog box,
and then follow the steps in the Fix it wizard.
Download

Notes
This wizard may be only in English. However, the automatic fix also works for other
language versions of Windows.
If you are not on the computer that has the problem, save the Fix it solution to a flash drive
or a CD, and then run it on the computer that has the problem.

Fix it manually Disable the BROADCAST flag


Important This section, method, or task contains steps that tell you how to modify the
registry. However, serious problems might occur if you modify the registry incorrectly. Therefore,
make sure that you follow these steps carefully. For added protection, back up the registry before
you modify it. Then, you can restore the registry if a problem occurs. For more information about
how to back up and restore the registry, click the following article number to view the article in
the Microsoft Knowledge Base:
322756 How to back up and restore the registry in Windows
To resolve this issue yourself, disable the DHCP BROADCAST flag in Windows Vista. To do this,
follow these steps:
1. Click Start
, type
https://support.microsoft.com/en-us/kb/928233

regedit in the Start Search box, and then click regedit in the

1/4

9/5/2016

Windows Vista cant get an IP address from certain routers or DHCP servers

1. Click Start
, type regedit in the Start Search box, and then click regedit in the
Programs list.
If you are prompted for an administrator password or for confirmation, type the
password or provide confirmation.
2. Locate the following register node:
HKEY_LOCAL_MACHINE > SOFTWARE > Microsoft > WindowsNT > CurrentVersion >
NetworkCards > <number>
3. Look at each number that is listed underthe NetworkCards node in order to find the
network adapter GUID. On the right side, the Description item lists the network adapter and
the ServiceName item lists the corresponding GUID. Remember this GUID.
4. Locate and then click the following registry subkey:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\I
nterfaces\{<Network Adapter GUID>}
In this registry path, click the <Network Adapter GUID> subkey that corresponds to the
network adapter that is connected to the network.
NoteNetwork Adapter GUID is a placeholder for the network adapter GUID in this article.
To find the corresponding GUID, refer to step 2 and step 3.
5. On the Edit menu, point to New, and then click DWORD (32-bit) Value.
6. In the New Value #1 box, type DhcpConnEnableBcastFlagToggle, and then press ENTER.
7. Right-click DhcpConnEnableBcastFlagToggle, and then click Modify.
8. In the Value data box, type 1, and then click OK.
9. Close Registry Editor.
When you set this registry key to 1, Windows Vista first tries to obtain an IP address by using the
BROADCAST flag in DHCP Discover packets. If that fails, Windows Vista tries to obtain an IP
address without using the BROADCAST flag in DHCP Discover packets.

Cause
By default, the BROADCAST flag in DHCP discovery packets is enabled in Windows Vista
(DhcpConnEnableBcastFlagToggle = 1). Therefore, Windows Vista gets an IP address by using the
BROADCAST flag in DHCP discovery packets. If a router or DHCP server cant process the DHCP
discovery packets, Windows Vista will fail to get an IP address. The fix disables the BROADCAST
flag by setting DhcpConnEnableBcastFlagToggle to 0.
By default, this problem does not exist in Windows XP Service Pack 2, Windows XP Service Pack 3
or Windows 7 because the BROADCAST flag is disabled (DhcpConnEnableBcastFlagToggle = 0).
https://support.microsoft.com/en-us/kb/928233

2/4

9/5/2016

Windows Vista cant get an IP address from certain routers or DHCP servers

or Windows 7 because the BROADCAST flag is disabled (DhcpConnEnableBcastFlagToggle = 0).

More information
If you know the router or the non-Microsoft DHCP server does not support the DHCP BROADCAST
flag, you can configure the following values for the following registry entry instead of using the
DhcpConnEnableBcastFlagToggle registry key.
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\
{<Network Adapter GUID>}
Value name: DhcpConnForceBroadcastFlag
Value type: REG_DWORD
Value data: 0
Notes
A value of 0 disables the registry entry. You can use this value to prevent Windows Vista
from using the DHCP BROADCAST flag. After you configure the registry entry, Windows
Vista never uses the DHCP BROADCAST flag.
This issue does not occur in Windows 7. By default, DhcpConnEnableBcastFlagToggle is set
to 1.

Properties
Article ID: 928233 - Last Review: 10/15/2013 02:21:00 - Revision: 9.0
Applies to
Windows Vista Business, Windows Vista Enterprise, Windows Vista Home Basic, Windows Vista
Home Premium, Windows Vista Ultimate, Windows Vista Enterprise 64-bit Edition, Windows Vista
Home Basic 64-bit Edition, Windows Vista Home Premium 64-bit Edition, Windows Vista Ultimate
64-bit Edition, Windows Vista Starter
Keywords:
kbmsifixme kbfixme kbnetwork_generalbroadband kbnetwork_routerissues kbexpertisebeginner
kbhardware kbtshoot kbprb KB928233

https://support.microsoft.com/en-us/kb/928233

3/4

9/5/2016

Windows Vista cant get an IP address from certain routers or DHCP servers

Support

Security

Contact Us

English (United States)


Terms of use

Privacy & cookies

https://support.microsoft.com/en-us/kb/928233

Trademarks

2016 Microsoft

4/4