[REPO] Windows 10 TELEMETRY REPOSITORY

Discussion in 'Windows 10' started by Yen, Aug 4, 2015.

  1. ralf ralf

    ralf ralf MDL Member

    May 11, 2017
    234
    32
    10
    #1721 ralf ralf, Sep 5, 2022
    Last edited: Sep 5, 2022
    Updates_1.jpg
    Hello Freddie-o,
    I found these lines in the last script of the.
    I want to make a LTSC version. In the last script these lines were not all included. Should I delete everything there too!?
    Thanks
     
  2. freddie-o

    freddie-o MDL Expert

    Jul 29, 2009
    1,557
    2,594
    60
    Just this line
    Code:
    del /s mount\Windows\System32\OneDriveSetup.exe
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. ralf ralf

    ralf ralf MDL Member

    May 11, 2017
    234
    32
    10
    Only this line?

    Can you do the script again completely and link!? for LTSC-version
     
  4. freddie-o

    freddie-o MDL Expert

    Jul 29, 2009
    1,557
    2,594
    60
    It is updated
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. ralf ralf

    ralf ralf MDL Member

    May 11, 2017
    234
    32
    10
    I have always deleted this command and it went so far everything!? Or is it not so important?
     
  6. freddie-o

    freddie-o MDL Expert

    Jul 29, 2009
    1,557
    2,594
    60
    it doesn't make a difference it just provides a comment about what a script does
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. Code:
    
    echo *****************************************************************
    echo --- Remove Component Packages From Offline Image
    echo *****************************************************************
    for %%z in (
    Microsoft-Windows-OneDrive-Setup-Package
    Microsoft-Windows-OneDrive-Setup-WOW64-Package
    ) do (
    echo.
    Powershell -C "Write-Host 'Removing: %%z'"
    echo.
    Reg load "HKLM\OfflineSOFTWARE" "mount\Windows\System32\config\SOFTWARE"
    Powershell -C "Set-ItemProperty -Path 'HKLM:OfflineSOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\*%%z*' -Name Visibility -Value 1 -Force -EA 0 -Verbose"
    Powershell -C "Remove-Item -Path 'HKLM:OfflineSOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\*%%z*' -Include *Owner* -Recurse -Force -EA 0 -Verbose"
    Reg unload "HKLM\OfflineSOFTWARE"
    Powershell -C "Get-WindowsPackage -Path 'mount' | Where {$_.PackageName -match '%%z' } | Remove-WindowsPackage -Path 'mount' -NoRestart -EA 0"
    )
    echo *****************************************************************
    
    
    Pl if dear friend Freddie-o you want to update your script with this solution. Thanks
     
  8. freddie-o

    freddie-o MDL Expert

    Jul 29, 2009
    1,557
    2,594
    60
    thanks but if disabling telemetry thru the registry works, it will do
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,674
    14,411
    340
  10. ralf ralf

    ralf ralf MDL Member

    May 11, 2017
    234
    32
    10
    LTSC_1.jpg

    Is this error message normal?

    I have not deleted these last 2 lines in the script! Or REM always deletes everything that is under the command....
     
  11. freddie-o

    freddie-o MDL Expert

    Jul 29, 2009
    1,557
    2,594
    60
    where is the error?
    can you write the error message
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. ralf ralf

    ralf ralf MDL Member

    May 11, 2017
    234
    32
    10
    There is no error message, only the information that files have been deleted. I had not deleted these files in the script, but they were deleted! That was my question...
     
  13. freddie-o

    freddie-o MDL Expert

    Jul 29, 2009
    1,557
    2,594
    60
    you need to take out these lines from the script
    Code:
    rem == delete telemetry executables ==
    del /s mount\Windows\System32\CompatTelRunner.exe
    del /s mount\Windows\System32\OneDriveSetup.exe
    del /s mount\Windows\System32\smartscreen.exe
    if you do not want to delete those executables
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. ralf ralf

    ralf ralf MDL Member

    May 11, 2017
    234
    32
    10
    Okay..
     
  15. haz367

    haz367 MDL Addicted

    Jan 11, 2020
    805
    1,465
    30
    Still there....

     

    Attached Files:

  16. drew84

    drew84 MDL Expert

    Mar 13, 2014
    1,396
    2,376
    60
    Method?
     
  17. Disable ? telemetry from M$ OS because of Protected "Product Policy"

    HKLM\SYSTEM\ControlSet001\Control\ProductOptions ||

    "Software Protection Platform" Service if disabled results in "Windows Not Activated" & after 3-4 hours of sppsvc deactivated | windows will auto shutdown then gets deactivated.
     
  18. ralf ralf

    ralf ralf MDL Member

    May 11, 2017
    234
    32
    10
    It works perfectly...
     
  19. haz367

    haz367 MDL Addicted

    Jan 11, 2020
    805
    1,465
    30
    The only way i seen the bat appear is when i run the tool...


     
  20. haz367

    haz367 MDL Addicted

    Jan 11, 2020
    805
    1,465
    30
    It works fine with a small adjustment for a live system. Tested on Enterprise lTSC 2021 with no errors.

    Great work btw freddie-o