Windows Tracks You With a Hidden ID. So We Built deGDID to Block It.


Wolfzz

Well-known member
Guru
VIP
Local time
7:48 PM
Posts
2,125
Location
Perth Australia
OS
Windows 11 Pro
What do you think about this?
Yes or No

What protection does

At a high level, deGDID does two things:
  1. Blocks known Microsoft registration paths by managing a region in the Windows hosts file, plus reinforcing the block with Windows Firewall rules.
  2. Wipes known local GDID-related state across target-user, SYSTEM, and .DEFAULT identity locations, token device IDs, device tickets, Credential Manager entries, ConnectedDevicesPlatform, TokenBroker, WAM broker caches, and matching NegativeCache entries.
The tool is intentionally conservative. It refuses managed, domain-joined, Entra-joined, MDM-enrolled, or ambiguous multi-profile systems. It requires admin rights, it backs up what it touches, and it supports undo using .\degdid.ps1 -Unprotect.

 
Last edited:

My Computer My Computer

At a glance

Windows 11 ProIntel Core i9 12900KFCorsair 64GB DDR5 Vengeance C40 5200MhzASUS GeForce RTX 3090 ROG Strix OC 24GB
OS
Windows 11 Pro
Computer type
PC/Desktop
Manufacturer/Model
Custom Build
CPU
Intel Core i9 12900KF
Motherboard
ASUS ROG Maximus Z690 Hero
Memory
Corsair 64GB DDR5 Vengeance C40 5200Mhz
Graphics Card(s)
ASUS GeForce RTX 3090 ROG Strix OC 24GB
Sound Card
OnBoard
Monitor(s) Displays
Acer Predator XB323UGP 32" QHD G-SYNC-C 144Hz 1MS IPS LED
Screen Resolution
2560 x 1440
Hard Drives
1x Samsung 980 Pro Series Gen4 250GB M.2 NVMe
1x Samsung 980 Pro Series Gen4 500GB M.2 NVMe
2x Samsung 980 Pro Series Gen4 2TB M.2 NVMe
PSU
Corsair AX1200i 1200W 80PLUS Titanium Modular
Case
Corsair 4000D Black Case w/ Tempered Glass Side Panel
Cooling
Noctua NH-U12A Chromax Black CPU Cooler, 4x Noctua 120mm Fans
Keyboard
Logitech MK545
Mouse
Logitech MX Master 3
Internet Speed
Fixed Wireless 150mbps/75mbps
Browser
Firefox
Antivirus
Kaspersky
Other Info
Thrustmaster TS-PC RACER
Fanatec CSL Elite Pedals with the Load Cell Kit
Yamaha Amp with Bose Speakers
i did state in another post that the OSC was working on something to stop GDID
the downside at the moment is Microsoft passkeys will not function as intended.

i beleive they are working on that with something like keeping passkeys local
but at the moment its all just in the trail and error stages.

use deGDID at your own risk because i am not sure if its completely reversable.
best of luck Steve ..
 

My Computers My Computers

  • At a glance

    Windows 11 HomeRyzen 7 5825u64GB DDR4 3200Ryzen 7 5825u
    OS
    Windows 11 Home
    Computer type
    PC/Desktop
    Manufacturer/Model
    HP 24" AiO
    CPU
    Ryzen 7 5825u
    Motherboard
    HP
    Memory
    64GB DDR4 3200
    Graphics Card(s)
    Ryzen 7 5825u
    Sound Card
    RealTek
    Monitor(s) Displays
    24" HP AiO
    Screen Resolution
    1920 x 1080 @60 Hz
    Hard Drives
    1TB WD Blue SN580 M2 SSD Partitioned.
    2x 1TB USB HDD External Backup/Storage.
    PSU
    90W external power brick
    Case
    24" All in One
    Cooling
    Default Air Cooling
    Keyboard
    HP WiFi UK extended
    Mouse
    HP WiFi 3 Button
    Internet Speed
    1GB full fibre
    Browser
    Edge & Firefox
    Antivirus
    AVG Internet Security/Windows Defender
    Other Info
    Mainly Open Source Software
  • At a glance

    Ubuntu 22.04.5 LTSi5 7200u16GB DDR4Intel
    Operating System
    Ubuntu 22.04.5 LTS
    Computer type
    Laptop
    Manufacturer/Model
    Dell 13" Latitude 2017
    CPU
    i5 7200u
    Motherboard
    Dell
    Memory
    16GB DDR4
    Graphics card(s)
    Intel
    Sound Card
    Intel
    Monitor(s) Displays
    13" Dell Laptop
    Hard Drives
    250GB Crucial 2.5" SSD
    Mouse
    Generic WiFi 3 button
    Internet Speed
    WiFi only
    Browser
    Firefox
    Antivirus
    ClamAV TK
    Other Info
    Mainly Open Source Software
use deGDID at your own risk because i am not sure if its completely reversable.
best of luck Steve ..
The good news is that it supports undo, so if you wish to go back and disable deGDID, run .\degdid.ps1 -Unprotect on an elevated Command Prompt, similar to how you would enable it.
 

My Computer My Computer

At a glance

Windows 11 ProIntel Core i9 12900KFCorsair 64GB DDR5 Vengeance C40 5200MhzASUS GeForce RTX 3090 ROG Strix OC 24GB
OS
Windows 11 Pro
Computer type
PC/Desktop
Manufacturer/Model
Custom Build
CPU
Intel Core i9 12900KF
Motherboard
ASUS ROG Maximus Z690 Hero
Memory
Corsair 64GB DDR5 Vengeance C40 5200Mhz
Graphics Card(s)
ASUS GeForce RTX 3090 ROG Strix OC 24GB
Sound Card
OnBoard
Monitor(s) Displays
Acer Predator XB323UGP 32" QHD G-SYNC-C 144Hz 1MS IPS LED
Screen Resolution
2560 x 1440
Hard Drives
1x Samsung 980 Pro Series Gen4 250GB M.2 NVMe
1x Samsung 980 Pro Series Gen4 500GB M.2 NVMe
2x Samsung 980 Pro Series Gen4 2TB M.2 NVMe
PSU
Corsair AX1200i 1200W 80PLUS Titanium Modular
Case
Corsair 4000D Black Case w/ Tempered Glass Side Panel
Cooling
Noctua NH-U12A Chromax Black CPU Cooler, 4x Noctua 120mm Fans
Keyboard
Logitech MK545
Mouse
Logitech MX Master 3
Internet Speed
Fixed Wireless 150mbps/75mbps
Browser
Firefox
Antivirus
Kaspersky
Other Info
Thrustmaster TS-PC RACER
Fanatec CSL Elite Pedals with the Load Cell Kit
Yamaha Amp with Bose Speakers
Hi, I just tried it out and blocked GDID (I needed to set powershell execution policy to "remote signed" before I could run the powershell script).
Because I observed a contribution from @Shambles Bank in another thread at the same time, I downloaded the Microsoft PC Manager app (through a workaround) despite living in France. It seems that this app "gathers system diagnostics and data via remote servers that do not yet meet strict European Union data handling standards" (from Google IA). Somewhere else Microsoft says that it goes very deep into the system.
I then removed the GDID blocking again (with the .\degdid.ps1 -Unblock cmd) ... and the PC Manager app worked !
Honi soit qui mal y pense !

(I won't test this further because I don't need the PC Manager)
 

My Computer My Computer

At a glance

Windows 11Intel Core i3 12 100 12th generationKingston DDR4-3200 16 GBytesIntel UHD 730
OS
Windows 11
Computer type
PC/Desktop
Manufacturer/Model
Gigabyte H610M H V2
CPU
Intel Core i3 12 100 12th generation
Motherboard
American Megatrend F35
Memory
Kingston DDR4-3200 16 GBytes
Graphics Card(s)
Intel UHD 730
and what happen up on reboot and after connecting to internet... becomes the GDID restored then?

Edit:
first.. MS already have your GDID.. the only way to not have it is to first install windows offline... then after install you can block the domains listed in the script
'login.live.com', 'account.live.com', 'cs.dds.microsoft.com', 'dds.microsoft.com', 'aad.cs.dds.microsoft.com', 'fd.dds.microsoft.com',
'cdpcs.access.microsoft.com', 'ztd.dds.microsoft.com', 'activity.windows.com', 'assets.activity.windows.com', 'edge.activity.windows.com'

but i wonder how good blocking them in the hosts file will do.. as windows do have a neck for bypassing hosts file and also windows firewall.
Also if this subdomains above change or new get added over time.. and when it does a connection will be made and an GDID will be generated.
this is the big problem with sub-domains as hosts file cant handlen wildcards as *.example.com to cover all sub's

My win10 IoT install do not have a GDID.. why.. it never have had a chance to connect to MS.
My solution is to block MS is in my hardware firewall so i can block domains included sub-domains. *.microsoft.com, *.windows.com, *.live.com, *.windowsupdate.com, *.msftncsi.com
i might have some more then this ones, i dont remember now. *lol*
 
Last edited:

My Computers My Computers

  • At a glance

    Linux: Debian, Kali-linux, Alma, Win:7,10IoT,...i3, i5 and i7 From 2gen to 9th gen... Server ...
    OS
    Linux: Debian, Kali-linux, Alma, Win:7,10IoT,2012R
    Manufacturer/Model
    HP Elitebook 840, AsusX53, Aspire E1-572. AsusUX32A, HP Pro3130mt+3010mt, HP Proliant ML150, 3xCustom-PC, i3, i5, i7
    CPU
    i3, i5 and i7 From 2gen to 9th gen... Server dual Xenon
    Hard Drives
    Sata, M.2, SAS
  • At a glance

    Retro: 2003server.XPpro, Win2000, Win98SE, Wi...Oldest intel 8088 up to P4 dual core
    Operating System
    Retro: 2003server.XPpro, Win2000, Win98SE, Win95, Win3.11, MS-DOS, IBM-DOS
    Manufacturer/Model
    Commodore, AST, Fujitsu, Compaq, etc etc. etc Around 15 desktops and 20 laptops in the collection
    CPU
    Oldest intel 8088 up to P4 dual core
    Hard Drives
    MFM, IDE, SCSI
and what happen up on reboot and after connecting to internet... becomes the GDID restored then?

Hi Marie,
how did you know ? :-)(y)
I restartet twice verifying every time the statuts before. Please see attached the message after restarting and testing the status:

Capture.webp
 

My Computer My Computer

At a glance

Windows 11Intel Core i3 12 100 12th generationKingston DDR4-3200 16 GBytesIntel UHD 730
OS
Windows 11
Computer type
PC/Desktop
Manufacturer/Model
Gigabyte H610M H V2
CPU
Intel Core i3 12 100 12th generation
Motherboard
American Megatrend F35
Memory
Kingston DDR4-3200 16 GBytes
Graphics Card(s)
Intel UHD 730
Hi Marie,
how did you know ? :-)(y)
I restartet twice verifying every time the statuts before. Please see attached the message after restarting and testing the status:

View attachment 178888
i did an edit on my post. I just glanced the script in the first post as it was 4732 rows long.
i dont see why it needs to be that massive.. so i wonder what more it does then just block a few domains and remove a registry entry... But i dont have the time to read through the whole script. :-)
 

My Computers My Computers

  • At a glance

    Linux: Debian, Kali-linux, Alma, Win:7,10IoT,...i3, i5 and i7 From 2gen to 9th gen... Server ...
    OS
    Linux: Debian, Kali-linux, Alma, Win:7,10IoT,2012R
    Manufacturer/Model
    HP Elitebook 840, AsusX53, Aspire E1-572. AsusUX32A, HP Pro3130mt+3010mt, HP Proliant ML150, 3xCustom-PC, i3, i5, i7
    CPU
    i3, i5 and i7 From 2gen to 9th gen... Server dual Xenon
    Hard Drives
    Sata, M.2, SAS
  • At a glance

    Retro: 2003server.XPpro, Win2000, Win98SE, Wi...Oldest intel 8088 up to P4 dual core
    Operating System
    Retro: 2003server.XPpro, Win2000, Win98SE, Win95, Win3.11, MS-DOS, IBM-DOS
    Manufacturer/Model
    Commodore, AST, Fujitsu, Compaq, etc etc. etc Around 15 desktops and 20 laptops in the collection
    CPU
    Oldest intel 8088 up to P4 dual core
    Hard Drives
    MFM, IDE, SCSI
You're assuming there are not other ways Microsoft tracks and stores this value. I see it being built into other MS products.
 

My Computer My Computer

At a glance

Linux Mint
OS
Linux Mint
Computer type
Laptop
Manufacturer/Model
System76 Lemur Pro
You can supposedly block MS domain via DNS, firewall or a router (I do not, because it is used for sync):
Code:
data.microsoft.com


You're assuming there are not other ways Microsoft tracks and stores this value.
All tracking is well documented by MS, in order to avoid legal issues for "spying".
 

Attachments

  • capture_08072026_212756.webp
    capture_08072026_212756.webp
    28.2 KB · Views: 1

My Computer My Computer

At a glance

Home2FH2CanAMD Ryzen 5 8600G (07/24)2x32GB Kingston FURY DDR5 5600 MHz CL36 @5200...ASROCK Radeon RX 6600 Challenger D 8G @48FPS ...
OS
Home2FH2Can
Computer type
PC/Desktop
CPU
AMD Ryzen 5 8600G (07/24)
Motherboard
ASROCK B650M-HDV/M.2 (07/24) BIOS 4.43 AGESA ComboAM5 1.3.0.1b Patch A (07/26)
Memory
2x32GB Kingston FURY DDR5 5600 MHz CL36 @5200 CL40 (07/24)
Graphics Card(s)
ASROCK Radeon RX 6600 Challenger D 8G @48FPS (08/24)
Sound Card
Creative Sound BlasterX AE-5 Plus (05/24)
Monitor(s) Displays
24" Philips 24M1N3200ZS/00 (05/24)
Screen Resolution
1920×1080@165Hz via DP1.4
Hard Drives
Kingston KC3000 NVMe 2TB (05/24)
ADATA XPG GAMMIX S11 Pro 512GB (07/19)
PSU
Seasonic Core GM 550 Gold (04/24)
Case
Fractal Design Define 7 Mini with 3x Noctua NF-P14s/12@555rpm (04/24)
Cooling
Noctua NH-U12S with Noctua NF-P12 (04/24)
Keyboard
HP Pavilion Wired Keyboard 300 (07/24) + Rabalux 76017 Parker (01/24)
Mouse
Logitech M330 Silent Plus (07/26)
Internet Speed
500/100 Mbps via RouterOS (05/21) & TCP Optimizer
Browser
Edge, Brave for YouTube, LibreWolf for FB
Antivirus
NextDNS blocking 1/3 Traffic
Other Info
Phone: Motorola Moto G86 (02/26)
Backup: Hasleo Backup Suite (PreOS)
Headphones: Sennheiser RS170 (09/10)
Chair: Huzaro Force 4.4 Grey Mesh (05/24)
Notifier: Xiaomi Mi Band 9 Milanese (10/24)
FlexCore USB-C 3.2 Gen 1 (M) to LAN (F) (08/25)
Back
Top Bottom