Security Threats · 11 min read

GDID and VPN Limits: How a Windows Identifier Can Still Be Linked to You

A 19-year-old alleged hacker used VPNs, proxies, and rotating IPs across three countries. The FBI’s account says investigators linked activity through a Windows identifier that most people have never heard of.

Published by PrivWarden Team.

What the court filing says about GDID

In April 2026, Finnish authorities arrested Peter Stokes, a 19-year-old alleged member of the Scattered Spider hacking group, in Helsinki. He had used VPNs, proxy servers, and rotating IP addresses across three countries. Those measures obscured his network location, but they did not prevent investigators from later linking his activity across accounts as described in the filing.

The FBI’s account says the link came from a Global Device Identifier, or GDID—not from his IP address or browsing history. The identifier, which Microsoft had assigned to his Windows PC when he signed into his Microsoft account, had been silently transmitted to Microsoft's servers during his activities. When the FBI subpoenaed Microsoft, they received logs showing that device identifier "g:6755467234350028" had been used to create an ngrok account used in a hack of a jewelry retailer, visit the victim's website, log into his Snapchat, Facebook, and Apple accounts, and access gaming accounts on Growtopia and Ubisoft — all correlated across four countries over eight months. His VPN had hidden his IP address. It had not hidden his device.

The GDID had been publicly unknown before this court filing. Microsoft had published exactly one sentence about it in Azure Monitor documentation. Most Windows users have never heard of it. And yet it was logging their device's activities and transmitting that data to Microsoft the entire time.

What Microsoft calls GDID

The Global Device Identifier is a persistent, device-level identifier that Microsoft assigns to every Windows installation when you sign into a Microsoft account. It is stored in the Windows registry under HKCU\SOFTWARE\Microsoft\IdentityCRL\ExtendedProperties, in a value called "LID." Microsoft's own description, from that single sentence of documentation, calls it "a persistent, device-level identifier designed to uniquely identify an installation of a Windows operating system on a device."

When you sign into Windows with a Microsoft account, a service called wlidsvc communicates with login.live.com and receives a Device PUID — a Passport Unique ID. The Connected Devices Platform (a component called cdp.dll, running as CDPSvc) reads that PUID and registers it with Microsoft's Device Directory Service. A component called Delivery Optimization then reports it back to Microsoft as UCDOStatus.GlobalDeviceId. The result is a unique identifier, formatted as "g:" followed by a decimal number, that is tied to your specific Windows installation and your Microsoft account.

An IP address can change when you switch networks or use a VPN; the GDID is described here as persistent. It survives Windows updates and remains the same across network connections, VPNs, and countries. A clean Windows reinstall changes the identifier, but Microsoft can still link the new GDID to the same Microsoft account, which can re-identify the device.

What the identifier means for privacy

The privacy concern is both the identifier itself and the way Windows presents it. There is no consent screen for GDID. When you sign into Windows with a Microsoft account, you are not informed that a persistent device identifier is being created and transmitted to Microsoft. There is no opt-out. There is no setting that disables it without breaking core Windows functionality.

Compare this to how other platforms handle similar identifiers. Apple's IDFA — the Identifier for Advertisers used on iOS — requires explicit user consent through the App Tracking Transparency prompt. Android's advertising ID can be reset by the user at any time, and users can opt out of personalized advertising entirely. Microsoft implemented GDID with none of these protections. It was assigned automatically, logged silently, and disclosed publicly only because it appeared in a criminal court filing.

The implications extend beyond law enforcement. Microsoft's transparency reports do not detail when or to whom GDID data is disclosed. The company's privacy policy is broad enough to cover disclosure to "law enforcement or other government agencies" in response to legal requests — but the scope of those requests, and the retention period for GDID logs, is not publicly known. For people concerned about surveillance — including journalists, activists, abuse survivors, and streamers targeted by stalkers — this is a meaningful and largely invisible risk.

Steps that reduce exposure

If you use Windows with a Microsoft account, you cannot fully eliminate GDID. You can reduce the data sent to Microsoft and understand the limits of each privacy measure. For a streamer or VTuber, that distinction matters: a VPN can protect network location while leaving account-linked device records outside its scope.

The most significant step is switching to a local Windows account instead of a Microsoft account. When you use a local account, the GDID mechanism is not triggered in the same way — the wlidsvc service doesn't authenticate with Microsoft's servers, and the device registration process doesn't occur. Microsoft has made this increasingly difficult to do during Windows setup, actively steering users toward Microsoft accounts, but it remains possible. During installation, you can disconnect from the internet before reaching the account setup screen, which forces Windows to offer a local account option.

If you're already using a Microsoft account and don't want to switch, the next best step is reducing the telemetry that Windows sends to Microsoft. Go to Settings > Privacy & Security > Diagnostics & Feedback and set it to "Required only" — this is the minimum level that Windows Home and Pro will allow. Turn off the advertising ID under Settings > Privacy & Security > General. Disable Activity History and Location. If you have Windows Recall enabled, disable it — Recall takes screenshots of everything you do and stores them locally, creating a significant privacy risk independent of GDID.

For users in enterprise environments or running Windows LTSC (Long-Term Servicing Channel), Group Policy provides more control. The setting "Allow Diagnostic Data" can be set to "Diagnostic data off (Security)" in enterprise editions, which reduces telemetry more aggressively than the consumer settings allow.

What these settings do—and do not—change

Reducing telemetry settings limits how much data Windows sends to Microsoft during normal operation, but it does not eliminate the GDID or prevent Microsoft from receiving the identifier when you use Microsoft services. If you use a Microsoft account to sign into Office, OneDrive, Xbox, or any other Microsoft service, that activity is associated with your GDID regardless of your privacy settings.

The Scattered Spider case illustrates a limit of VPNs: they do not hide GDID. A VPN hides your IP address from the websites you visit and from your ISP. It does not hide your device identifier from Microsoft, because that identifier is transmitted through the Microsoft account authentication process, not through your browsing traffic.

For people who need genuine anonymity — not just privacy — the only reliable approach is to use a non-Windows operating system that doesn't have this kind of persistent device registration. Linux distributions like Tails or Whonix are designed specifically for this use case. For most streamers and content creators, this level of separation is not necessary or practical. Windows has a persistent identifier tied to your device that your VPN cannot hide.

What streamers and VTubers should take from this

For streamers and VTubers, the boundary is specific: if you use Windows with a Microsoft account and Microsoft receives a lawful request about your account, activity associated with the device can be correlated across accounts, networks, and countries. The risk is not limited to people engaged in illegal activity. It also matters to anyone targeted by a stalker who might attempt to use legal mechanisms to obtain information, or anyone operating in a jurisdiction with weak legal protections for online privacy.

Check what your privacy setup covers. If you use a VPN because you believe it makes you anonymous, the GDID finding is a reason to revisit that assumption. A VPN hides your IP address and encrypts your traffic from your ISP. It is not a complete anonymity solution. Pairing it with a local Windows account, reduced telemetry settings, and careful use of Microsoft services provides broader protection, even if it is not perfect.

Explore all PrivacyWarden guides