Vista dhcp (ipconfig release renew don’t work well)
I’ve started noticing that VISTA seems to refuse to correctly react to the ipconfig /release and ipconfig /renew commands.
I’ve noticed this with both wireless and wired connections.
A typical situation happened the other day:
Customer has a new ADSL modem, and a new VISTA PC, but cannot get it to work.
She paid Clive Peeters an extra $100 for a “tech” to install the new PC, but he couldn’t get adsl to work, so he suggested she go back to dialup.
Her brother also had a go (he tried to connect the modem to the PC via USB (folks: don’t do usb broadband unless you absolutely have to).
So, I connect the modem to the PC via ethernet, but VISTA says its got a 169.x.x.x address.
OK, I start an administrator command prompt, and do ipconfig /release, then ipconfig /renew
but the address is set to 169.x.x.x again…
I restart VISTA: hey it now gets the correct DHCP address!
I know XP is sometimes reluctant to notice network changes (particularly with workgroups), but it seems that VISTA is worse.
Although I must admit that someone had also disabled UAC, so who knows what else was done to the PC before I got there.
hi
In Vista those commands will not work.
I think you are facing the problem to obtain the automatic IP. For that you can do one registry editing. If you do that vista will start taking the IP automatically.
To resolve this issue, disable the DHCP BROADCAST flag in Windows Vista. To do this, follow these steps
Click Start–>Run type regedit click ok
If you are prompted for an administrator password or for confirmation, type your password, or click Continue.
Locate and then click the following registry subkey from left pane
HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesTcpipParametersInterfaces{GUID}
In this registry path, click the (GUID) subkey that corresponds to the network adapter that is connected to the network.
On the Edit menu, point to New, and then click DWORD (32-bit) Value.
In the New Value #1 box, type DhcpConnEnableBcastFlagToggle, and then press ENTER.
Right-click DhcpConnEnableBcastFlagToggle, and then click Modify.
In the Value data box, type 1, and then click OK.
Close Registry Editor.
Thanks jasi 4 u,
At the time, this information wasn’t available on the net.
Never the less, Vista should not need to be “patched” to make it work correctly… something as fundamental as this should have been working correctly from the day vista was released.