Solved

How to disable Automatic Private IP Addressing in Group Policy?

Posted on 2007-11-27
10
2,360 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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Bizarre hard disk problem 15 122
PowerShell one liner to pull server names 3 59
W 10 Workstation can't join Win 2012 domain 12 61
Export DHCP scope Information 4 61
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
While rebooting windows server 2003 server , it's showing "active directory rebuilding indices please wait" at startup. It took a little while for this process to complete and once we logged on not all the services were started so another reboot is …
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…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

772 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