Windows 7 / 8.x / 10 / 11 and Server Telemetry (data collection) Blocker / and WLMS Disabler

Discussion in 'Windows 11' started by pm67310, Jan 16, 2026.

  1. pm67310

    pm67310 MDL Guru

    Sep 6, 2011
    3,863
    3,133
    120
    #1 pm67310, Jan 16, 2026
    Last edited: Mar 2, 2026
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. pm67310

    pm67310 MDL Guru

    Sep 6, 2011
    3,863
    3,133
    120
    TESTED ON > Windows 10 Builds 22h2 / LTSC 2021 / Windows 11 Builds 24h2 / LTSC 2024 And Server 2019

    and Windows 11 Enterprise 25h2 Evaluations builds
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. rayman95

    rayman95 MDL Senior Member

    Oct 3, 2018
    402
    267
    10
    #3 rayman95, Jan 17, 2026
    Last edited: Jan 17, 2026
    Thanks for that..will try immediately
    M$ don't block it...defender sees nothing
     
  4. pm67310

    pm67310 MDL Guru

    Sep 6, 2011
    3,863
    3,133
    120
    Created by me ( Pm67310 ) ... no hard to learn powershell
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. CaptainKirk1966

    CaptainKirk1966 One of the Green Guys
    Staff Member

    Oct 31, 2009
    2,924
    1,940
    90
    #5 CaptainKirk1966, Jan 17, 2026
    Last edited: Jan 17, 2026
    Then why not post the powershell scripts? Some may think you have used something like ps2exe to obfuscate the underlying code.
     
  6. pm67310

    pm67310 MDL Guru

    Sep 6, 2011
    3,863
    3,133
    120
    code added
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. haber123

    haber123 MDL Member

    Nov 5, 2009
    137
    50
    10
    Thank you. That is a very nice tool.
     
  8. wuliyen

    wuliyen MDL Member

    Oct 6, 2009
    208
    487
    10
    #8 wuliyen, Jan 18, 2026
    Last edited by a moderator: Jan 23, 2026
    Code:
    Windows Registry Editor Version 5.00
    
    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
    "DisallowRun"=dword:00000001
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\wlms.exe]
    "Debugger"="Blocked"
    
    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\DisallowRun]
    "1"="wlms.exe"
    "2"="LicensingUi.exe"
    "3"="OLicenseHeartbeat.exe"
    "4"="CompatTelRunner.exe"
    "5"="DeviceCensus.exe"
    "6"="wsqmcons.exe"
    "7"="aggregatorhost.exe"
    "8"="DiagTrackRunner.exe"
    "9"="smartscreen.exe"
    "10"="dtdump.exe"
    "11"="aitstatic.exe"
    "12"="utcdecoderhost.exe"
    "13"="DesktopSpotlightProduct.exe"
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\LicensingUi.exe]
    "Debugger"="Blocked"
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\OLicenseHeartbeat.exe]
    "Debugger"="Blocked"
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\CompatTelRunner.exe]
    "Debugger"="Blocked"
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\DeviceCensus.exe]
    "Debugger"="Blocked"
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\wsqmcons.exe]
    "Debugger"="Blocked"
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\aggregatorhost.exe]
    "Debugger"="Blocked"
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\DiagTrackRunner.exe]
    "Debugger"="Blocked"
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\smartscreen.exe]
    "Debugger"="Blocked"
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\dtdump.exe]
    "Debugger"="Blocked"
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\aitstatic.exe]
    "Debugger"="Blocked"
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\utcdecoderhost.exe]
    "Debugger"="Blocked"
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\DesktopSpotlightProduct.exe]
    "Debugger"="Blocked"
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\CurrentVersion\Software Protection Platform]
    "NoGenTicket"=dword:00000001
    
     
  9. pm67310

    pm67310 MDL Guru

    Sep 6, 2011
    3,863
    3,133
    120
    #9 pm67310, Jan 18, 2026
    Last edited by a moderator: Jan 23, 2026
    (OP)
    @wuliyen

    Miising entry in your post...

    Code:
    ; Disable Program Compatibility Assistant Service (pcasvc)
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\PcaSvc]
    "Start"=dword:00000004
    
    ; Disable Connected User Experiences and Telemetry (DiagTrack)
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DiagTrack]
    "Start"=dword:00000004
    
    ; Disable Windows Insider Service (wisvc)
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\wisvc]
    "Start"=dword:00000004
    
    ; Disable windows error reporting
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\wersvc]
    "Start"=dword:00000004
    "Start"=dword:00000004
    
    ; Set AllowTelemetry to 0 (Security/Off)
    [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\DataCollection]
    "AllowTelemetry"=dword:00000000
    
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. Ace2

    Ace2 MDL Guru

    Oct 10, 2014
    2,192
    1,890
    90
    should be
    Code:
    ; Disable windows error reporting
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\wersvc]
    "Start"=dword:00000004
     
  11. sizen

    sizen MDL Member

    Jun 4, 2009
    198
    107
    10
    These are completely pointless as they are not run via Explorer.
     
  12. TairikuOkami

    TairikuOkami MDL Expert

    Mar 15, 2014
    1,330
    1,240
    60
    Image File Execution Options
     
  13. wuliyen

    wuliyen MDL Member

    Oct 6, 2009
    208
    487
    10
    example
     
  14. ceo54

    ceo54 MDL Addicted

    Aug 13, 2015
    969
    465
    30
    @pm67310 Thank you for this. I have a suggestion, instead of hard blocking the execution at the kernel level, it would be better to redirect the calls to a sinkhole that always responds with error 5 ACCESS_DENIED which terminates the function gracefully without hard errors and prevents the execution retrials indefinitely. This way no weird behavior, no logs polluting, no untraceable errors months later. Most of the Windows binaries are equipped to handle error 5.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  15. drew84

    drew84 MDL Expert

    Mar 13, 2014
    1,475
    2,576
    60
    #18 drew84, Jan 22, 2026
    Last edited by a moderator: Jan 22, 2026
    an example, please
     
  16. TairikuOkami

    TairikuOkami MDL Expert

    Mar 15, 2014
    1,330
    1,240
    60
    It should, but it is done automatically.
     

    Attached Files:

  17. drew84

    drew84 MDL Expert

    Mar 13, 2014
    1,475
    2,576
    60
    An observation.....

    This Key,

    [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\DataCollection]

    as I understand it, is to do with Windows Analytics and nothing in there can be Disabled... Only Limited
    (similar to cookies on a website, allow essential or all)

    for example your Set "AllowTelemetry" 'value' to 0 (Security/Off), serves no real purpose... unless
    the "LimitEnhancedDiagnosticDataWindowsAnalytics" 'value' (under the same key) is set to 1 (1 is needed when setting Security or Basic, otherwise crap still gets sent)

    there are 8 values (under that key, on my system at least)
    the first 2 (including Allow Telemetry) are set to '0', the other 6 are set to '1'

    Windows now, is seriously messy... yet still fun

    Like the engineer (in all of us) says
    "If it ain't broke... BREAK IT, then FIX IT"

    You won't be half as entertained, using a Mac or Linux system... ROFL