Best Practice from IT Geeks

13 Nov 09 Windows Vista getting IP problem for wireless adapter

Windows Vista cannot obtain an IP address from certain routers or from certain

non-Microsoft DHCP servers

Everyone writes something about Windows 7 in these days but i want to talk about a problem of Windows Vista.To get an ip address for wireless adapter from certain routers or from non-microsoft DHCP servers if you use Windows Vista operation system.

Our DHCP server is a linux ubuntu in our company and when i got the first windows vista i realized that I cannot get an ip address from DHCP.This issue occurs because of a difference in design between Windows Vista and Microsoft Windows XP Service Pack 2 (SP2).Specifically in Windows XP SP2, the broadcast flag in DHCP discovery packets is set to 0 (disabled). In Windows Vista, the broadcast flag in DHCP discovery packets is not disabled. Therefore, some routers and some non-microsoft DHCP servers cannot process the DHCP discovery packets.

To resolve this issue, disable the DHCP broadcast flag in Windows Vista locate and open the following registry key:

  • HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\

You can use “getmac” command at the command prompt to find right network adapter.

  • Create a Dword (32-bit) value and type DhcpConnDisableBcastFlagToggle
  • And set this registry key to 1

In these registry key you should also see another Dword value DhcpConnForceBroadcastFlag

set this registry key to 0 and at the command prompt type “ipconfig /renew”