[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
    174
    24
    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. ralf ralf

    ralf ralf MDL Member

    May 11, 2017
    174
    24
    10
    Only this line?

    Can you do the script again completely and link!? for LTSC-version
     
  3. ralf ralf

    ralf ralf MDL Member

    May 11, 2017
    174
    24
    10
    I have always deleted this command and it went so far everything!? Or is it not so important?
     
  4. 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
     
  5. xinso

    xinso MDL Guru

    Mar 5, 2009
    12,644
    13,665
    340
  6. ralf ralf

    ralf ralf MDL Member

    May 11, 2017
    174
    24
    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....
     
  7. ralf ralf

    ralf ralf MDL Member

    May 11, 2017
    174
    24
    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...
     
  8. freddie-o

    freddie-o MDL Expert

    Jul 29, 2009
    1,375
    2,277
    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
     
  9. ralf ralf

    ralf ralf MDL Member

    May 11, 2017
    174
    24
    10
    Okay..
     
  10. haz367

    haz367 MDL Addicted

    Jan 11, 2020
    798
    1,441
    30
    Still there....

     

    Attached Files:

  11. drew84

    drew84 MDL Expert

    Mar 13, 2014
    1,351
    2,307
    60
    Method?
     
  12. 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.
     
  13. ralf ralf

    ralf ralf MDL Member

    May 11, 2017
    174
    24
    10
    It works perfectly...
     
  14. haz367

    haz367 MDL Addicted

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


     
  15. haz367

    haz367 MDL Addicted

    Jan 11, 2020
    798
    1,441
    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