--- title: WindowsLicensing DDF file description: View the XML file containing the device description framework (DDF) for the WindowsLicensing configuration service provider. ms.date: 01/18/2024 --- # WindowsLicensing DDF file The following XML file contains the device description framework (DDF) for the WindowsLicensing configuration service provider. ```xml ]> 1.2 WindowsLicensing ./Vendor/MSFT This is the root node for the WindowsLicensing configuration service provider. 10.0.10586 1.0 0x4;0x1B;0x30;0x31;0x48;0x54;0x62;0x63;0x64;0x65;0x79;0x7A;0x7D;0x7E;0x81;0x82;0x8A;0x8B;0xA1;0xA2;0xA4;0xA5;0xAB;0xAC;0xBC;0xBF;0xCD;0xCF; UpgradeEditionWithProductKey Enter a product key for an edition upgrade of Windows 10 desktop devices. Requires reboot. Automatic ChangeProductKey Installs a product key for Windows 10 desktop devices. Does not reboot. 10.0.15063 1.2 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. 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 UpgradeEditionWithLicense Provide a license for an edition upgrade of Windows 10 mobile devices. Does not require reboot. 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. CheckApplicability Returns TRUE if the entered product key can be used for an edition upgrade of Windows 10 desktop devices. Subscriptions Node for subscriptions. 10.0.14393 1.1 Node for subscription IDs. SubscriptionId Status Returns the status of the subscription. Name Returns the name of the subscription. SubscriptionType Set device to Device Based Subscription or User Based Subscription. For Device Based Subscription this action will automatically acquire the subscription on the device. For User Based Subscription the existing process of user logon will be required. 99.9.99999 9.9 0 User Based Subscription 1 Device Based Subscription SubscriptionStatus Status of last subscription operation. 99.9.99999 9.9 SubscriptionLastError Error code of last subscription operation. Value would be empty(0) in absence of error. 99.9.99999 9.9 SubscriptionLastErrorDescription Error description of last subscription operation. Value would be empty, if error description cannot be evaluated. 99.9.99999 9.9 DisableSubscription Disable or Enable subscription activation on a device 99.9.99999 9.9 0 Enable Subscription 1 Disable Subscription. It also removes any existing subscription on the device. RemoveSubscription Remove subscription uninstall subscription license. It also reset subscription type to User Based Subscription. 99.9.99999 9.9 SMode Interior node for managing S mode. 10.0.17763 1.3 SwitchingPolicy Policy that determines whether a consumer can switch the device out of S mode 0 No Restriction: The user is allowed to switch the device out of S mode. 1 User Blocked: The admin has blocked the user from switching their device out of S mode. Only the admin can switch the device out of S mode through the SMode/SwitchFromSMode node. SwitchFromSMode Switches a device out of S mode if possible. Does not reboot. Status Returns the status of the latest SwitchFromSMode or SwitchingPolicy set request. DeviceLicensingService Device Based Subscription 10.0.22621, 10.0.22000.1165 1.4 LicenseType License Type: User Based Subscription or Device Based Subscription 0 User Based Subscription 1 Device Based Subscription DeviceLicensingStatus Returns the status of Refresh/Remove Device License operation. DeviceLicensingLastError Returns the last error code of Refresh/Remove Device License operation. Value would be empty(0) in absence of error. DeviceLicensingLastErrorDescription Returns last error description from Device Licensing. Value would be empty, if error decription can not be evaluated. ``` ## Related articles [WindowsLicensing configuration service provider reference](windowslicensing-csp.md)