Windows IT Pro is the authoritative and independent resource for windows nt, windows 2000, windows 2003, windows xp. Features a collection of resources and magazines for windows IT professionals.
  
  
  Advanced Search 


June 2003

Disable APIPA on Windows XP Pro and Win2K Pro

RSS
Subscribe to Windows IT Pro | See More Registry Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!

Windows XP Professional Edition and Windows 2000 Professional have a networking feature that automatically assigns a private IP address from the Internet Assigned Numbers Authority (IANA)—reserved Class B network. This feature is called the Automatic Private IP Addressing (APIPA) functionality. APIPA automatically starts if an XP Pro or Win2K Pro system is configured as a DHCP client and for some reason the DHCP lease can't be assigned or renewed. This problem could occur because of unexpected DHCP server behavior, such as the DHCP server being down, unresponsive, or unreachable. In these scenarios, an XP Pro or Win2K Pro system configured as a DHCP client will autoconfigure the TCP/IP stack with an IP address from the IANA-reserved Class B network 169.254.0.0 with the subnet mask 255.255.0.0.

To determine whether your system has APIPA enabled, go to a command prompt and type

ipconfig /all

Then, locate Autoconfiguration Enabled in the output. If this parameter is set to yes, APIPA is enabled. If you have an IP address in the range 169.254.xxx.xxx, APIPA is active.

To disable APIPA for selected interfaces on your system without disabling DHCP, run regedit and modify or add the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\Adapters registry subkey. Set the IPAutoconfigurationEnabled REG_DWORD entry to a hexadecimal value of 0. If your system has more than one network interface, you can disable APIPA on the computer. To disable APIPA for all the NICs, run regedit and go to the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces registry subkey. Modify or add a REG_DWORD value named IPAutoconfigurationEnabled, and set the value to a hex value of 0. After you modify one of these registry subkeys, you need to reboot your computer for the change to take effect.

End of Article



Reader Comments

You must log on before posting a comment.

If you don't have a username & password, please register now.




Top Viewed ArticlesView all articles
Friday at PASS Europe 2006

Kevin talks about the closing day of the event and shares a funny Microsoft film. ...

PsExec

This freeware utility lets you execute processes on a remote system and redirect output to the local system. ...

Escape From Yesterworld

Kevin points you to the funniest SQL Server website ever! ...


Windows OSs Whitepapers Why SaaS is the Right Solution for Log Management

Related Events Windows, Unix, Linux Interoperability

Check out our list of Free Email Newsletters!

Windows OSs eBooks Understanding and Leveraging Code Signing Technologies

A Guide to Windows Certification and Public Keys

SQL Server Administration for Oracle DBAs

Related Windows OSs Resources Become a VIP member of the Windows IT Pro community!
Get it all with the VIP CD and VIP access. A $500+ value for only $279!

Subscribe to Windows IT Pro!
Solve your toughest technical problems with our experts and access 10,000 + articles online. 30% off

Monthly Online Pass - Only $5.95!
Get instant access to 10,000+ articles from Windows IT Pro Magazine!

TechNet Virtual Labs
Evaluate and test Microsoft's newest products.


Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro Windows Dev Pro IT Job Hound ITTV
IT Library Technology Resource Directory Connected Home Windows Excavator Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 Copyright © 2008 Penton Media, Inc., All rights reserved. Terms and Use | Privacy Statement | Reprints and Licensing