How to find my Device ID for the Microsoft Account Recovery Form?

Aayudh Pramanik 5 Reputation points
2026-02-07T11:15:11.0233333+00:00

I have been trying to recover my account and the account recovery form asks for a Device ID, and the one available on my Device Specifications page in Settings has an ID that won't fit in the form which has a 25 character limit. I cannot use Diagnostic Data Viewer to view it because Microsoft Store is not letting me install it. What should I do?

User's image

User's image

User's image

Windows for home | Windows 11 | Recovery and backup

2 answers

Sort by: Most helpful
  1. Lychee-Ng 30,830 Reputation points Microsoft External Staff Moderator
    2026-02-09T09:35:28.5233333+00:00

    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:

    1. The form is not necessarily asking you to fill all 25 characters:
      1. It doesn’t mean the device ID must be 25 characters; the clue simply defines the maximum allowed length.
      2. The field above does the same for Gamertag: it allows 50 characters even though gamertags are much shorter.
    2. 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.
    3. 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.

    User's image


    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.

    Was this answer helpful?

    2 people found this answer helpful.

  2. kagiyama yutaka 5,755 Reputation points
    2026-02-08T03:31:52.9066667+00:00

    I think the form isn’t looking for the long hardware guid… it needs the 25‑char device id tied to ur ms account. u can pull that one from account.microsoft.com/devices — that’s the only id the recovery flow accepts.

    Was this answer helpful?

    1 person found this answer helpful.

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.