--- title: WindowsLicensing DDF file description: Learn about the OMA DM device description framework (DDF) for the WindowsLicensing configuration service provider (CSP). ms.reviewer: manager: aaroncz ms.author: vinpa ms.topic: article ms.prod: w10 ms.technology: windows author: vinaypamnani-msft ms.date: 07/16/2017 --- # WindowsLicensing DDF file > [!WARNING] > Some information relates to pre-released 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 and later. ```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 or Windows 11 edition running on 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 or Windows 11 client devices. Status: 0 = Failed, 1 = Pending, 2 = In progress, 3 = Completed, 4 = Unknown 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 ``` ## Related topics [WindowsLicensing configuration service provider](windowslicensing-csp.md)