Microsoft Confirms Windows GDID Device Identifier That Cannot Be Disabled, Documented in FBI Case Filing

Arthur Kay
Updated •
Security, Windows

Microsoft has publicly acknowledged the existence of the Global Device Identifier (GDID), a device-specific ID assigned to Windows installations, in a federal complaint filed by US prosecutors against an alleged member of the Scattered Spider hacking group.

The ID is generated when Windows is set up with a Microsoft Account, persists through Windows updates, and cannot be disabled without affecting Windows activation and Microsoft Store apps.

Microsoft briefly mentioned GDID in the Azure Monitor documentation, describing it only as "an identifier used by Microsoft internally." The complaint cites a Microsoft representative describing GDID as "a persistent, device-level identifier designed to uniquely identify an installation of a Windows operating system on a device, either a physical device such as a mobile phone or laptop or a virtual machine, across certain Microsoft services and scenarios."

What the Windows Global Device Identifier Is and How the FBI Used It

The Global Device Identifier (GDID) is a permanent ID assigned when Windows provisions against a Microsoft Account. It is generated by a chain of Windows services.

The wlidsvc service requests a Device PUID from login.live.com, which is then registered into Microsoft's Device Directory Service by the Connected Devices Platform.

Delivery Optimization reports the GDID back to Microsoft when the PC shares or downloads updates. This identifier is stored in the Windows registry under HKCU\SOFTWARE\Microsoft\IdentityCRL\ExtendedProperties and formatted with a lowercase "g" prefix followed by a decimal number.

It is reported to Microsoft servers and remains persistent across Windows updates, but it is not retained after a clean reinstall. Microsoft has acknowledged that one user can have multiple GDIDs linked through their account, OneDrive, and activation history.

The FBI used the GDID to track Peter Stokes, alleged member of Scattered Spider, across VPN connections, proxy servers, and through four countries over roughly eight months.

According to the complaint, the GDID g:6755467234350028 was recorded visiting the ngrok signup page at the same time an account used in the attack was created via a Tzulo VPN proxy. Three hours later, the same GDID accessed a victim retailer's website through the same proxy.

The device was cross-referenced with IP addresses linked to Stokes's accounts on Snapchat, Facebook, Apple, and Ubisoft across Estonia, New York, Thailand, and other locations. Stokes's public Snapchat photos matched hotel bookings, locations, and travel timelines associated with the GDID.

The persistent nature of the GDID across VPN sessions proved a key investigative asset. While VPN IP addresses change frequently, the underlying Windows installation continued reporting the same identifier, aiding investigators in their tracking efforts.

Why Privacy Researchers Are Concerned and What Users Can Do

Multiple security researchers have raised concerns about the visibility and control users have over GDID:

  • There is no consent screen when GDID is assigned. Apple's advertising identifier requires an App Tracking Transparency prompt with a visible reset. Android provides similar controls. GDID has neither.
  • Activation dependence. Massgrave, the group behind Microsoft Activation Scripts, has noted that Windows setup sends hardware info to Microsoft and receives identifiers back that are later used for Store access and licensing. Blocking GDID assignment breaks both activation and UWP apps.
  • Reinstalling Windows produces a new GDID, but signing back into the same Microsoft Account gives Microsoft a clear path to link the new identifier to previous activity.
  • Microsoft's public documentation of the identifier consists of one sentence in an Azure Monitor reference table for enterprise IT administrators.

Security researcher Matthew Hickey has characterized Windows as "surveillance software" in response to the case. Costin Raiu asked on the Three Buddy Problem podcast how much similar functionality exists on other platforms.

Users concerned about GDID have limited direct options because the identifier cannot be turned off without breaking core Windows functionality. Practical steps that reduce related tracking include:

  1. Use a local account instead of a Microsoft Account when possible. Windows 11 has made this harder in recent versions, but the option is still available during setup for users who know how to reach it.
  2. Turn off optional diagnostic data through Settings, Privacy and security, Diagnostics and feedback.
  3. Disable personalized ads and launch tracking under Privacy and security, Recommendations and offers.
  4. Turn off Cloud Content Search under Privacy and security, Search, to stop local searches from sending data to Bing.
  5. Review and disable Activity History and other telemetry options in Privacy and security settings.
  6. For journalism, activism, or domestic abuse situations where identifier persistence poses a threat, use Linux routed through Tor rather than relying on a commercial VPN with a Windows PC.

Users who reinstall Windows to obtain a new GDID should be aware that signing back into the same Microsoft Account provides Microsoft with data linking the new identifier to previous activity.

What GDID Means for Windows Users and How Widely It’s Deployed

For the approximately 1.6 billion Windows users worldwide, GDID has been operating quietly in the background without any public disclosure or user controls. The recent complaint revealed the existence of this identifier, but Microsoft has not committed to providing user-facing controls or documentation for regular users.

Users concerned about device-level tracking should be aware that the identifier is attached to the account, not the device, meaning reinstalling the OS does not break the link.

Most major operating systems maintain some form of persistent device identity for purposes like licensing and security checks, but Windows differs from platforms like Apple and Google by not offering visible controls.

Legal requests, such as subpoenas, can compel Microsoft to share GDID activity data with law enforcement, as exemplified by the Scattered Spider case. GDID is present on all Windows installations linked to a Microsoft Account.

Users cannot view their own GDID through standard Windows interfaces; it is stored in the registry at HKCU\SOFTWARE\Microsoft\IdentityCRL\ExtendedProperties under the LID key. Microsoft has not indicated any changes to how GDID is generated, stored, or reported.

The only public reference outside of the federal complaint is a brief note in Azure Monitor documentation. Users can monitor Microsoft's privacy updates, but the company has not signaled plans to provide more public information about GDID.

The Scattered Spider case is progressing through the US federal court system. For those interested in the technical details, reviewing the complaint's discussion of Microsoft telemetry offers the clearest public explanation of how GDID operates to date.

Comments

  1. TimH said on
    Reply

    This tracking violates GDPR.

  2. Dimitri said on
    Reply

    Well France is Ditching Windows FOR LINUX! for the government and high places are totally making a specific version of Linux and removing US tech I wonder if they figured out this crap was on it. Well if they didn’t any country should be suing Microsoft to hell and high water for espionage because if all the url’s are recorded (if the case of the full one) some data on those lines is compromising information heck some pages a form filler becomes a link. Can’t wait to see the international damage this will cause. Also if they pirate our data only fair we pirate theirs right? /s

  3. Pseudo nymn said on
    Reply

    Class action lawsuit and ms restraining order needed & federal regulators must stop all CITIZEN tracking by gov and corp. AND CONGRESS NEEDS TO PASS PC ANTI SPYING BILL all this tacking monitoring surveillance and reconnaissance has to stop ASAP

    1. Billy Bob said on
      Reply

      and you don’t push back against Flock?!

  4. Pseudo nymn said on
    Reply

    Class action lawsuit and ms restraining order needed & federal regulators must stop all CITIZEN tracking by gov and corp. AND CONGRESS NEEDS TO PASS PC ANTI SPYING BILL all this tacking monitoring surveillance and reconnaissance has to stop ASAP

  5. Pseudo nymn said on
    Reply

    Class action lawsuit and ms restraining order needed & federal regulators must stop all CITIZEN tracking by gov and corp. AND CONGRESS NEEDS TO PASS PC ANTI SPYING BILL all this tacking monitoring surveillance and reconnaissance has to stop ASAP

  6. G said on
    Reply

    if that identifier is only seen when downloading or sharing updates.

    explain to me how it was sent when creating an account on ngrok.

  7. IT Cures said on
    Reply

    This is a fascinating but also kinda concerning development. I get why having persistent device identifiers can help with security investigations, but the fact that a device-level ID can’t be totally turned off still raises legit privacy concerns. Hopefully Microsoft offers a lot more transparency and gives people clearer control over which telemetry is gathered in the future.

  8. ipnonymous said on
    Reply

    And its only the very beginning of what is going to come. Please allow them your to accept more of your money that include sthe manufacturers who supported throwing away your perfectly good pc in order to use window 11.

    Its like having a person stnding over your shoulder at all times yet they are invisible from being seen standing there.

    They use ai to analyaze everything to see where your weaknesses exist when it comes to making purchases. then you start seeing non-stop barrage of ads for th esame few types of product. this continues until you are so flooded in the subconscious that when the time comes to do make a purchase your subconscious then select for you that which is most familiar as being the best odds of being what you wanted. Recently we made a new never before purchase at a dollar store. within a week we started seeing ads show up on deveces like the amazon kindle and apple touch pads for the very item we never purchased before. not only that but ive never even seen the company produce ads here anywhere before. the only connector is the credit card that was used.

    Im am aware of privacy practices this was made by elderly parents who are way out of their comfort level regarding anything computer tech. also started seeing more big pharma ads regarding specific ailments.

    Speaking of big pharma if you dont know.
    There are in fact many cures already available in the usa which most people are unaware. why? because the cost. cures that cost $500k and up per use. you see there is in fact special insurances that cover these drugs but only the wealthiest of the wealthy can afford. further big pharma uses the rest of us to give themselves life time residual income through symptom management instead of cures. How you like them apples? This is easily verifiable and based on real actual legitimate research. Only mentioned to demonstrate how far these groups are willing to go to remove more from our wallets.

  9. Piepmann said on
    Reply

    You write: “GDID xx was recorded visiting the ngrok signup page at the same time an account used in the attack was created via a Tzulo VPN proxy. Three hours later, the same GDID accessed a victim retailer’s website.”

    I don’t understand that. Where does the link from IP-address to GDID come from? The “victim retailers website” recorded the IP of the attacker – OK I get that. But how do they know “The same GDID accessed .. the website” ? To me, thats the most important information, and its not explained very well.

    1. a world citizen said on
      Reply

      Everything you do in windows is logged; everything.
      Every website you visit is sent to Microsoft; the full url domain and the actual webpage.
      Every network communication you make, regardless of how small or large in widows, is sent to Microsoft.
      A website cannot access the Microsoft GDID.

      Smart folk and network pros already assumed these things, the world now has a wake up call; which they will of course promptly ignore.

      The fact Microsoft could easily follow and log this miscreant hacker across all routing methods (rdp, vpn, et al) and log every website he visited is now our insight into Microsoft’s dangerous and deeply disturbing privacy violations. This kid is an obvious clueless script kiddy who really didn’t understand tech; he also he deserves to be in prison. However, law abiding citizens do not deserve to have their privacy violated on the massive scale which Microsoft is doing.

  10. JuiceDraticZ said on
    Reply

    Simple fix: Because the Windows operating system relies entirely on the registry to dictate how the setup flow handles network states, editing these keys will always work, no matter how many command-line scripts the developer team strips out of system32.

    1. Joseph said on
      Reply

      Normally, you’d just set permissions to only allow System user to access the registry keys, but it’s not 3rd-party software reading the value. There’s a variant where you forbid System user from modifying or reading a key (depending on needs either can be handy to stop), and the OS will honor the restriction. But if you do this, you’ll break the OS, like everyone keeps mentioning. :(
      Newer versions of Windows tend to have hard-coded bypasses that ignore permissions.

  11. SkyNet said on
    Reply

    If this doesn’t convince people to switch to Linux nothing will. I wonder if Apple Macs have similar ID identification

    1. EA said on
      Reply

      you’re worried about Macs when you should be worry about iphones tied to Apple IDs and Androids tied to Google acct and services.

      you hypocrite

    2. Randy said on
      Reply

      Apple does a lot of work to ensure its customers can’t be tracked. It’s not always perfect, and OS security is a constant effort, but it’s a core principle of their business to protect users privacy. I’d trust Mac even more than Linux given Apples far greater resources.

      1. Use GrapheneOS said on
        Reply

        Apple is dogshit at privacy, lol

      2. scottydont said on
        Reply

        “I’d trust Mac even more than Linux given Apples far greater resources.”

        You’re joking, right? I mean, you can’t be serious here.

  12. ECJ said on
    Reply

    A Global Device Identifier (GDID) is present even without signing into a Microsoft Account.

    Microsoft additionally have a *permanent* identifier stored in the hardware itself, which is retained despite a clean install. For example:

    1) Clean install Windows, without using a Microsoft Account.

    2) Install a font/app from the Microsoft Store, without using a Microsoft Account.

    3) Completely wipe the C: drive.

    4) Clean install Windows from ISO installation media, without using a Microsoft Account.

    5) Microsoft still knows what font/app you installed from the Microsoft Store despite never using a Microsoft Account and completely wiping the C: drive. Therefore, they have a permanent identifier stored in the hardware itself, presumably linked to the Windows licence.

    However, this case seems to be using something else, as the Global Device Identifier (GDID) is changed after a clean reinstall. What makes this GDID so sinister is the below from the article:

    “According to the complaint, the GDID g:6755467234350028 was recorded visiting the ngrok signup page…”

    How were Microsoft able to match the addresses visited in the browser address bar to the Global Device Identifier (GDID)? It wasn’t just the top-level domain, from DNS for example, they linked the whole path (the specific ngrok signup page) in the browser address bar to the GDID.

    Does this mean:

    1) Microsoft are storing all addresses (URLs) visited in the browser address bar along with the GDID of the device.

    2) If so, does that mean everything people search for in a search engine is also stored by Microsoft, as the vast majority of search engines include the search query in the address bar URL (I.E. ?q=Search+Terms).

    I don’t understand what Microsoft are doing here? Are they using Microsoft Defender SmartScreen to lookup every single URL in the browser address bar and store this alongside the device Global Device Identifier (GDID) and timestamps?

    1. Jayse said on
      Reply

      Yes, it means Microsoft logs every URL you visit along with a timestamp, and associates the logs with the GDID, which is connected to the Microsoft account.

      From the federal complaint: “According to Microsoft records, on or about May 12, 2025, at 19:21 UTC—when, according to ngrok records, the ngrok account was created—the device with the GDID accessed, among other ngrok pages, “https://dashboard.ngrok.com/signup,” the ngrok page to set up an ngrok account.”

    2. Joe said on
      Reply

      > How were Microsoft able to match the addresses visited in the browser address bar to the Global Device Identifier (GDID)? It wasn’t just the top-level domain, from DNS for example, they linked the whole path (the specific ngrok signup page) in the browser address bar to the GDID.

      This is a great question. More clarification is due on this. How exactly did they associate the website visit with the GDID? The implications here could be severe.

      1. Joseph said on
        Reply

        Every time your computer phones home to Microsoft, it uses that GDID. Microsoft like everyone else, sees the IP address of the VPN as your computer’s virtual location. So if the other sites see the same address, and logs get compared, they’ll line up.

        Tl;Dr The VPN was passing along the telemetry as well browser packets.

    3. SkyNet said on
      Reply

      I believe all the above. Microsoft Windows is a total spyware.

      1. HadItWithWindows said on
        Reply

        can confirm. Just how much of Windows is riddled with telemetry and MS spyware in general only becomes obvious when a user tries to permenantly disable MS’s windows services. If you wage this battle tho, know ahead of time you will lose, because windows is full of tripwires and time bombs that re-enable system tasks which in turn kick off update services and “threat definition refreshes” which in turn enable Update Orchestrator and Update Medic. Windows even plays dirty with scortched earth approach if you succeed – it bricks your install randomly on next reboot or update cycle.

Leave a Reply

By commenting, you accept our privacy policy and keep the discussion respectful and on topic.