--- title: WindowsLicensing DDF file description: WindowsLicensing DDF file ms.assetid: 2A24C922-A167-4CEE-8F74-08E7453800D2 ms.reviewer: manager: dansimp ms.author: dansimp ms.topic: article ms.prod: w10 ms.technology: windows author: manikadhiman ms.date: 07/16/2017 --- # WindowsLicensing DDF file > [!WARNING] > Some information relates to prereleased product which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here. This topic shows the OMA DM device description framework (DDF) for the **WindowsLicensing** configuration service provider. DDF files are used only with OMA DM provisioning XML. Looking for the DDF XML files? See [CSP DDF files download](configuration-service-provider-reference.md#csp-ddf-files-download). The XML below is for Windows 10, version 1809. ```xml ]> 1.2 WindowsLicensing ./Vendor/MSFT com.microsoft/1.3/MDM/WindowsLicensing UpgradeEditionWithProductKey Enter a product key for an edition upgrade of Windows 10 desktop devices. Requires reboot. text/plain ChangeProductKey Installs a product key for Windows 10 desktop devices. Does not reboot. text/plain Edition Returns a value that maps to the Windows 10 edition running on desktop or mobile devices. Take the value, convert it into its hexadecimal equivalent and search the GetProductInfo function page on MSDN for edition information. text/plain Status Returns the status of an edition upgrade on Windows 10 desktop and mobile devices. Status: 0 = Failed, 1 = Pending, 2 = In progress, 3 = Completed, 4 = Unknown text/plain UpgradeEditionWithLicense Provide a license for an edition upgrade of Windows 10 mobile devices. Does not require reboot. text/plain LicenseKeyType Returns the parameter type used by Windows 10 devices for an edition upgrade. Windows 10 desktop devices require a product key for an edition upgrade. Windows 10 mobile devices require a license for an edition upgrade. text/plain CheckApplicability Returns TRUE if the entered product key can be used for an edition upgrade of Windows 10 desktop devices. text/plain Subscriptions SubscriptionId Status text/plain Name text/plain SMode SwitchingPolicy Policy that determines whether a consumer can switch the device out of S mode text/plain SwitchFromSMode Switches a device out of S mode if possible. Does not reboot. text/plain Status Returns the status of the latest SwitchFromSMode or SwitchingPolicy set request. text/plain ```