[REPO] Windows 10 TELEMETRY REPOSITORY

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

  1. freddie-o

    freddie-o MDL Expert

    Jul 29, 2009
    1,557
    2,594
    60
    Some skus don't have OneDriveSetup.exe
    Anyway it's enough to prevent OneDrive from installing (and syncing) from the registry
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. ralf ralf

    ralf ralf MDL Member

    May 11, 2017
    234
    32
    10
    #1862 ralf ralf, Feb 24, 2023
    Last edited: Feb 24, 2023
    Hi Freddie,
    is the script so far completely revised and up to date also for LTSC! I have looked at the "unattend.xml". Do I still have to enter my name there myself or is the name prompted during installation!!?
    And this lines"
    rem == delete telemetry executables ==
    del /s mount\Windows\System32\CompatTelRunner.exe
    del /s mount\Windows\System32\smartscreen.exe"!!??
    delete or not!???

    Thanks
     
  3. freddie-o

    freddie-o MDL Expert

    Jul 29, 2009
    1,557
    2,594
    60
    The "unattend.xml" is so you can bypass OOBE. It logs you automatically into the built-in Administrator account. You can create create a new user account afterwards
    or if you prefer to log into your own local account instead you'll need your own "unattend.xml" or "autounattend.xml"



    It's up to you if you want to keep or delete these lines. They're already disabled in the Registry
    Code:
    rem == delete telemetry executables ==
    del /s mount\Windows\System32\CompatTelRunner.exe
    del /s mount\Windows\System32\smartscreen.exe
    
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. ralf ralf

    ralf ralf MDL Member

    May 11, 2017
    234
    32
    10
    For what is it necessary or not! Or rather what does that!??

    Is it then possible to set up the new account without annoying confirm at each boot!??? I would like to set up the account without password prompt and then Windows boots directly into the desktop?
     
  5. pm67310

    pm67310 MDL Guru

    Sep 6, 2011
    3,326
    2,507
    120
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. freddie-o

    freddie-o MDL Expert

    Jul 29, 2009
    1,557
    2,594
    60
    You don't have to delete the executables. They're already disabled in the registry .


    Don't add a password or remove/disable the existing one.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. ralf ralf

    ralf ralf MDL Member

    May 11, 2017
    234
    32
    10
    And how to turn on the mic and webcam again!?
     
  8. freddie-o

    freddie-o MDL Expert

    Jul 29, 2009
    1,557
    2,594
    60
    Create a reg file

    Code:
    Windows Registry Editor Version 5.00
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\AppPrivacy]
    "LetAppsAccessMicrophone"=dword:00000000
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\microphone]
    "Value"="Allow"
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\webcam]
    "Value"="Allow"
    
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. ceo54

    ceo54 MDL Addicted

    Aug 13, 2015
    884
    384
    30
    PowerRun is 100% safe. It doesn't inject any code on it's own in any script/binary it executes. Also, I like the way Freddie's script modify the registry hives in Config directory, this makes changes permanent and the same image could be deployed on the number of devices without having to worry about making the same changes again and again.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. ms_pam

    ms_pam MDL Novice

    Jan 29, 2023
    10
    7
    0
    Thanks for the input. My approach is that unless it's open source software then you it can never be 100% safe hence I would prefer going with the microsift recommend sysinternals suite, and since I already use other parts of the sysinternals suite there is no increase in my risk exposure compared to using unknown 3rd party closed software.

    Maybe I've misunderstood Freddie-o's script. I thought that if you made changes via the regular cmd reg edit commands, registryEditor, or GroupPolicyEditor, these changes would also be permanent so that's why I asking why go down the route of making changes using DISM. Having looked into it a little further DISM looks like it generally used to alter the windows img to repair or possible to create a new boot iso? So is Freddie-o script meant to create a modified iso image pre-install (like ntlite)? I'm new to modifying so just trying to get a better understanding of the what and why's and the reasons for taking different approaches. But if Freddie-o script is to be used on an already installed version of windows then I would like to understand why Freddie-o chose this method for his script rather than just running a list of reg edit commands, what are the benefits of doing it this way if the other ways make the changes permenent and the changes are being implemented post install and this not a way to make a modded boot iso img.

    Thanks
     
  11. freddie-o

    freddie-o MDL Expert

    Jul 29, 2009
    1,557
    2,594
    60
    #1872 freddie-o, Mar 3, 2023
    Last edited: Mar 3, 2023
    TY. If you want open source I suggest NSudo
    https://forums.mydigitallife.net/th...em-administration-tools-general-thread.59268/

    Some registry keys can only be modified with TrustedInstaller privileges so just to avoid not being able to modify some registry keys it's best to elevate the script to TrustedInstaller
    Just replace PowerRun (exe) with NSudo and edit the "run_as_trustedinstaller.cmd" script.
    Code:
    @echo off
    pushd "%~dp0"
    "%~dp0NSudoLC.exe" -U:T -P:E disable_telemetry.cmd


    To modify the registry of an offline image you need to load the hives from Windows\System32\config
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. freddie-o

    freddie-o MDL Expert

    Jul 29, 2009
    1,557
    2,594
    60
    #1873 freddie-o, Mar 3, 2023
    Last edited: Mar 3, 2023
    My script modifies the registry of the Windows install wim and they are permanent unless you change them after installing the OS. Other registry changes are irreversible especially the keys that are deleted. So far the only thing I noticed is "SecHealthUI" is restored after a Cumulative update but it's just the UI.
    Some registry keys can only be modified offline plus you want to disable telemetry before you install your OS. Windows starts collecting telemetry during OOBE and once you connect to the internet it gets sent.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. ms_pam

    ms_pam MDL Novice

    Jan 29, 2023
    10
    7
    0
    Thank you Freddie-o, yes I did not fully understand that your script was ammending the offline iso prior to install, it really is excellent way to approach this and creat custom iso's. I will look to test this over the next few weeks hopefully when I get some time.

    In regard to "xxxxxxxxlearn.microsoft.com/en-us/sysinternals/downloads/psexec" is there any way I could use psexec with your script as this meets my security/risk threshhold whereas the other options do not. I think it should be fairly simple to implement but I have no experience of doing this. Do you think simply replacing NSudoLC.exe or Powerun.exe with woudl be ok and work? Maybe you know how to implement using psExec?

    Code:
    @echo off
    pushd "%~dp0"
    "%~dp0psexec -i -d -s ".\disable_telemetry.cmd"
     
  14. freddie-o

    freddie-o MDL Expert

    Jul 29, 2009
    1,557
    2,594
    60
    #1875 freddie-o, Mar 4, 2023
    Last edited: Mar 4, 2023
    PsExec doesn't have enough privileges... A lot of errors
    Code:
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    ERROR: Access is denied.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    ERROR: Delete request is partially completed.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    ERROR: Delete request is partially completed.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    ERROR: Delete request is partially completed.
    The operation completed successfully.
    ERROR: Delete request is partially completed.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    ERROR: Delete request is partially completed.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    F:\LTSC_2021_19044.1288\mount\Windows\System32\CompatTelRunner.exe
    Access is denied.
    F:\LTSC_2021_19044.1288\mount\Windows\System32\smartscreen.exe
    Access is denied.
            1 file(s) copied.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image File : F:\LTSC_2021_19044.1288\install.wim
    Image Index : 1
    Saving image
    [==========================100.0%==========================]
    Unmounting image
    [==========================100.0%==========================]
    
    Error: 0xc1420117
    
    The directory could not be completely unmounted.  This is usually due to applications that still have files opened within the mount directory.  Close these files and unmount again to complete the unmount process.
    
    The DISM log file can be found at C:\Windows\Logs\DISM\dism.log
    Press any key to continue . . .
    


    I suggest...
    https://forums.mydigitallife.net/th...lemetry-repository.63874/page-94#post-1779588
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  15. ms_pam

    ms_pam MDL Novice

    Jan 29, 2023
    10
    7
    0
    ok Thank you Freddie-o, I got the exact same errors with Psexec
     
  16. pinkfufu

    pinkfufu MDL Novice

    May 20, 2011
    48
    6
    0
    What do you mean by this? Does HWID activation impact telemetry differently to KMS activation?
     
  17. freddie-o

    freddie-o MDL Expert

    Jul 29, 2009
    1,557
    2,594
    60
    The reason HWID is permanent is because your license is stored in Microsoft servers. So to activate your OS you have to go online and Microsoft checks your hardware ID (HWID) if a license is found in their database.
    With KMS38 or Online KMS, activation can be done offline or using online public KMS servers.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  18. KartWheel

    KartWheel MDL Novice

    Jun 25, 2016
    8
    3
    0
    Is it possible to use this anti-telemetry script for Windows 11 22H2? I saw that someone else asked this question but it was never answered specifically.
     
  19. freddie-o

    freddie-o MDL Expert

    Jul 29, 2009
    1,557
    2,594
    60
    Which anti-telemetry script?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...