Table of contents
TOC
Collapse the table of content
Expand the table of content

Background cellular data restriction

Last Updated: 12/12/2016

To meet market or mobile operator requirements, OEMs can restrict background data in the data usage settings.

OEMs can set the default value to either never restrict usage of the data plan or restrict background data when roaming.

Constraints: ImageTimeOnly

Instructions:

  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"  
                         Name="DataSaverMode"  
                         Description="Use to restrict background data. OEMs can set the default value to either never restrict usage
                                      of the data plan or restrict background data when roaming."  
                         Owner=""  
                         OwnerType="OEM"> 
    
      <Static>  
    
        <Settings Path="DataSense">  
          <Setting Name="DataSaverMode" Value="" />    
       </Settings>  
    
      </Static>
    
    </ImageCustomizations>
    
  2. Specify an Owner.

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

    ValueDescription

    0 or 'NeverRestrict'

    Never restrict usage of the data plan.

    2 or 'RestrictWhenRoaming'

    Restrict background data when roaming.

Testing steps:

  1. Flash the build that contains this customization to a device.

  2. Go to the Data usage settings screen.

    Verify that the correct settings option is enabled depending on the default value that you set. A toggle to restrict background data also becomes available to the user.

Send comments about this topic to Microsoft

© 2017 Microsoft