Hi Aayudh Pramanik,
Welcome to Microsoft Q&A!
I know it’s confusing when the recovery form asks for a “Device ID” but the one in Windows Settings seems not fit. There are a few things worth noting:
- The form is not necessarily asking you to fill all 25 characters:
- It doesn’t mean the device ID must be 25 characters; the clue simply defines the maximum allowed length.
- The field above does the same for Gamertag: it allows 50 characters even though gamertags are much shorter.
- This space likely asks for the ID of an Xbox device you registered in your Microsoft account. As the previous blank is asking for your Xbox Gamer tag, the next one is likely to be in the same Xbox category.
- If you have the device registered, you can enter its ID. If you’ve never done it, leave the field blank or write "I don't know," the form will validate based on other information.
To find the Xbox device ID previously linked to your Microsoft account, follow the steps here to find it: Find the XBOX console ID, device ID, and serial number | XBOX Support.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.