Enable static IP

To facilitate Wi-Fi certification tests, OEMs can enable a screen from the Wi-Fi settings screen that provides UI elements that allow you to specify a static IP address, gateway address, and DNS server address.

To enable the Static IP UI, set the value of the EnableStaticIP setting to 1. If the setting is not set, or is set to any value other than 1, the static IP UI is not enabled. When enabled, the Wi-Fi Static IP UI button appears directly below the Advanced button in the Wi-Fi settings screen.

Warning   The static IP UI must only be used for certification purposes and not for production or retail devices.

Constraints: None


  1. Create a customization answer file using the contents shown in the following code sample.

    <?xml version="1.0" encoding="utf-8" ?>  
    <ImageCustomizations xmlns="http://schemas.microsoft.com/embedded/2004/10/ImageUpdate"  
                         Description="Use to show the static IP settings in the advanced Wi-Fi settings screen.
                                      This customization is for testing purposes only and should not be set in 
                                      production or retail images."  
        <Settings Path="WiFi/Config">  
          <Setting Name="EnableStaticIP" Value="" />    
  2. Specify an Owner.

  3. Set the value of EnableStaticIP to one of the following:

    Value Description


    Use to show the Static IP settings under Settings > Wi-Fi > Static IP.


    Use to disable the customization.

Testing steps:

  1. Flash a build containing this customization to a device.

  2. Go to the Settings > Wi-Fi screen and connect to a Wi-Fi network.

  3. From the Wi-Fi settings screen, verify that you can see the Static IP setting.

  4. Tap Static IP and configure your IP settings.

  5. Reboot the device.

Prepare for Windows mobile development

Customization answer file overview