Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

How to disable Automatic Private IP Addressing in Group Policy?

Posted on 2007-11-27
10
2,384 Views
Last Modified: 2010-04-21
How does one disable Automatic Private IP Addressing using Windows Server 2003 Group Policy for Windows XP DHCP clients?

I've scoured the group policy settings but I can't find it.
0
Comment
Question by:greenonred
  • 4
  • 2
  • 2
  • +2
10 Comments
 
LVL 32

Expert Comment

by:and235100
ID: 20356700
You can script the registry edit given here, using reg add /f:
http://www.windowsitpro.com/Articles/ArticleID/39420/39420.html?Ad=1
0
 

Author Comment

by:greenonred
ID: 20356705
Thank you, but I'm afraid I need to do it by Group Policy, is there not already an option in the default templates?
0
 
LVL 32

Expert Comment

by:and235100
ID: 20356715
Essentially - under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters, using a reg_dword with the name IPAutoconfigurationEnabled, set the data value to 0*0.

reg add \HKLM\system\currentcontrolsetServices\Tcpip\Parameters /v IPAutoconfigurationEnabled /t reg_dword /d 0*0 /f
0
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

 
LVL 11

Expert Comment

by:bsharath
ID: 20356716
0
 
LVL 32

Accepted Solution

by:
and235100 earned 500 total points
ID: 20356722
No - there is no entry for Apipa.
You would need to create an msi for this - or like I suggested, a logon or logoff script.
0
 
LVL 32

Expert Comment

by:and235100
ID: 20356729
bsharath - if you had read the article I gave - this information was already provided.
0
 
LVL 70

Expert Comment

by:KCTS
ID: 20356740
This is not supported in group policy but can be done with a registry fix - see
http://www.petri.co.il/disable_apipa_in_windows_2000_xp_2003.htm

There used to be a nice tool called the Desktop Standard Registry Extention that allows you to create a group polict to apply such things with a GPO but I see the site is now marked as "acquired by microsoft" and its no longer available  
0
 

Author Closing Comment

by:greenonred
ID: 31411159
thank you for the quick response, not the answer I was hoping for but a good response nonetheless.
0
 
LVL 11

Expert Comment

by:bsharath
ID: 20356746
Ya it was a refresh time.
Before i could search and paste your answers are pasted.sorry :-)
0
 
LVL 26

Expert Comment

by:Pber
ID: 20358183
Hey, I realize this is already close, but you can do this if you create a custom ADM file for it.
See this: http://www.petri.co.il/adding_new_administrative_templates_to_gpo.htm

Here's the ADM:

CLASS MACHINE

CATEGORY !!Network
CATEGORY !!APIPA

 POLICY !!IPAutoconfiguration
    KEYNAME "SYSTEM\CurrentControlSet\Services\Tcpip\Parameters"
    EXPLAIN !!IPAutoconfiguration_Explain
    VALUENAME "IPAutoconfigurationEnabled"
    VALUEON NUMERIC 1
    VALUEOFF NUMERIC 0
   
 END POLICY

END CATEGORY
END CATEGORY

[strings]
IPAutoconfiguration="Automatic Private IP Addressing"
IPAutoconfiguration_Explain= "When enabled, allows computer to use APIPA to obtain IP address without DHCP"
APIPA="APIPA"
Network="Network"
0

Featured Post

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Configuring network clients can be a chore, especially if there are a large number of them or a lot of itinerant users.  DHCP dynamically manages this process, much to the relief of users and administrators alike!
Learn about cloud computing and its benefits for small business owners.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question