Completely eradicate Telemetry, Defender, One drive, Cortana (and other things).

Discussion in 'Windows 10' started by T-S, Aug 5, 2015.

  1. wmh

    wmh MDL Member

    Jun 30, 2015
    107
    19
    10
    1. Can it be executed through powershell on home edition?
    2. Does the DISM command work on powershell or has to be through cmd.exe elevated as Admin?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. Anoop Rajasekharan

    Anoop Rajasekharan MDL Junior Member

    Mar 15, 2012
    59
    4
    0
    when i first applied reg tweaks using install_wim_tweak , the registry entries were not reflected until i rebooted the system .That why i got the error when i tried to remove packages
     
  3. Anoop Rajasekharan

    Anoop Rajasekharan MDL Junior Member

    Mar 15, 2012
    59
    4
    0
    Yes powershell is a super set of command prompt so every thing works fine
     
  4. T-S

    T-S MDL Guru

    Dec 14, 2012
    3,988
    1,321
    120

    I'm curious to see if installing it in win7 compatibility mode an MS account is still mandatory.
     
  5. IAmTheDude

    IAmTheDude MDL Member

    Oct 12, 2011
    112
    19
    10
    OneDrive?

    Removed W10, installed normal one and logged in as normal with the webloginbox thing just like W7.

    Didint offer to change my local account to a MSA ot anything if thats what you mean?
     
  6. T-S

    T-S MDL Guru

    Dec 14, 2012
    3,988
    1,321
    120

    Yes that's what I mean.

    Really good then
     
  7. IAmTheDude

    IAmTheDude MDL Member

    Oct 12, 2011
    112
    19
    10
    Yup :)

    Ninite Installer doesn't work though, errors out saying its incompatible :(

     

    Attached Files:

  8. Anoop Rajasekharan

    Anoop Rajasekharan MDL Junior Member

    Mar 15, 2012
    59
    4
    0
    #29 Anoop Rajasekharan, Aug 5, 2015
    Last edited by a moderator: Apr 20, 2017
    Experiment

    Code:
    DISM /Online /Remove-Package /packagename:Windows-Defender-AM-Default-Definitions-Package~31bf3856ad364e35~amd64~~10.0.10240.16384 /NoRestart
    DISM /Online /Remove-Package /packagename:Windows-Defender-Client-Package~31bf3856ad364e35~amd64~en-US~10.0.10240.16384 /NoRestart
    DISM /Online /Remove-Package /packagename:Windows-Defender-Client-Package~31bf3856ad364e35~amd64~~10.0.10240.16384 /NoRestart
    DISM /Online /Remove-Package /packagename:Windows-Defender-Client-WOW64-Package~31bf3856ad364e35~amd64~en-US~10.0.10240.16384 /NoRestart
    DISM /Online /Remove-Package /packagename:Windows-Defender-Client-WOW64-Package~31bf3856ad364e35~amd64~~10.0.10240.16384 /NoRestart
    DISM /Online /Remove-Package /packagename:Windows-Defender-Group-Policy-Package~31bf3856ad364e35~amd64~en-US~10.0.10240.16384 /NoRestart
    DISM /Online /Remove-Package /packagename:Windows-Defender-Group-Policy-Package~31bf3856ad364e35~amd64~~10.0.10240.16384 /NoRestart
    
    DISM /Online /Remove-Package /packagename:Microsoft-OneCore-AllowTelemetry-Reduced-Default-Package~31bf3856ad364e35~amd64~~10.0.10240.16384 /NoRestart
    DISM /Online /Remove-Package /packagename:Microsoft-OneCore-TroubleShooting-Package~31bf3856ad364e35~amd64~en-US~10.0.10240.16384 /NoRestart
    DISM /Online /Remove-Package /packagename:Microsoft-OneCore-TroubleShooting-Package~31bf3856ad364e35~amd64~~10.0.10240.16384 /NoRestart
    DISM /Online /Remove-Package /packagename:Microsoft-OneCore-TroubleShooting-WOW64-Package~31bf3856ad364e35~amd64~en-US~10.0.10240.16384 /NoRestart
    DISM /Online /Remove-Package /packagename:Microsoft-OneCore-TroubleShooting-WOW64-Package~31bf3856ad364e35~amd64~~10.0.10240.16384 /NoRestart
    
    DISM /Online /Remove-Package /packagename:Microsoft-Windows-Search2-base-Package~31bf3856ad364e35~amd64~en-US~10.0.10240.16384 /NoRestart
    DISM /Online /Remove-Package /packagename:Microsoft-Windows-Search2-base-Package~31bf3856ad364e35~amd64~~10.0.10240.16384 /NoRestart
    DISM /Online /Remove-Package /packagename:Microsoft-Windows-Search2-Package~31bf3856ad364e35~amd64~en-US~10.0.10240.16384 /NoRestart
    DISM /Online /Remove-Package /packagename:Microsoft-Windows-Search2-Package~31bf3856ad364e35~amd64~~10.0.10240.16384 /NoRestart
    DISM /Online /Remove-Package /packagename:Microsoft-Windows-Cortana-Package~31bf3856ad364e35~amd64~en-US~10.0.10240.16384 /NoRestart
    DISM /Online /Remove-Package /packagename:Microsoft-Windows-Cortana-Package~31bf3856ad364e35~amd64~~10.0.10240.16384 /NoRestart
    DISM /Online /Remove-Package /packagename:Microsoft-Windows-Cortana-PAL-Desktop-Package~31bf3856ad364e35~amd64~~10.0.10240.16384 /NoRestart
    
     
  9. lancast

    lancast MDL Novice

    Jul 23, 2015
    31
    0
    0
    I get "Access is denied", what am I doing wrong?(I'm running it as Administrator, even tried the hidden admin account but same message)
     
  10. lancast

    lancast MDL Novice

    Jul 23, 2015
    31
    0
    0
    #32 lancast, Aug 6, 2015
    Last edited by a moderator: Apr 20, 2017
    Not sure why I am getting access is denied using DISM, but I was able to remove every package by using this program you mentioned, like this:
    Code:
    install_wim_tweak.exe /o /c Windows-Defender-AM-Default-Definitions-Package~31bf3856ad364e35~amd64~~10.0.10240.16384 /r
    
     
  11. T-S

    T-S MDL Guru

    Dec 14, 2012
    3,988
    1,321
    120

    Just try to reboot.
     
  12. garf02

    garf02 MDL Member

    Sep 15, 2007
    171
    61
    10
    #34 garf02, Aug 6, 2015
    Last edited by a moderator: Apr 20, 2017
    Yes, in this way it is removed all without errors.
     
  13. lancast

    lancast MDL Novice

    Jul 23, 2015
    31
    0
    0
    #35 lancast, Aug 6, 2015
    Last edited by a moderator: Apr 20, 2017
    I do have a problem after removing all these packages. Windows startmenu no longer saves any information like recently installed apps, most used apps, the "Run" thing doesnt remember any entries I type either. How can I fix this?
     
  14. xinso

    xinso MDL Guru

    Mar 5, 2009
    4,242
    5,519
    150
    #37 xinso, Aug 7, 2015
    Last edited by a moderator: Apr 20, 2017
    For convenience:

    Example 1: Remove Windows Defender packages

    [Before]

    Code:
    dism /online /remove-package /packagename:Windows-Defender-AM-Default-Definitions-Package~31bf3856ad364e35~amd64~~10.0.10240.16384
    dism /online /remove-package /packagename:Windows-Defender-Client-Package~31bf3856ad364e35~amd64~zh-TW~10.0.10240.16384
    dism /online /remove-package /packagename:Windows-Defender-Client-Package~31bf3856ad364e35~amd64~~10.0.10240.16384
    dism /online /remove-package /packagename:Windows-Defender-Client-WOW64-Package~31bf3856ad364e35~amd64~zh-TW~10.0.10240.16384
    dism /online /remove-package /packagename:Windows-Defender-Client-WOW64-Package~31bf3856ad364e35~amd64~~10.0.10240.16384
    dism /online /remove-package /packagename:Windows-Defender-Group-Policy-Package~31bf3856ad364e35~amd64~zh-TW~10.0.10240.16384
    dism /online /remove-package /packagename:Windows-Defender-Group-Policy-Package~31bf3856ad364e35~amd64~~10.0.10240.16384
    
    [After]

    remove.cmd (run as administrator)
    Code:
    @echo off
    pushd "%~dp0"
    
    install_wim_tweak.exe /o /c Windows-Defender /r
    
    Example 2: Remove Windows Defender and Hyper-V packages

    [Before]

    Code:
    dism /online /remove-package /packagename:Windows-Defender-AM-Default-Definitions-Package~31bf3856ad364e35~amd64~~10.0.10240.16384
    dism /online /remove-package /packagename:Windows-Defender-Client-Package~31bf3856ad364e35~amd64~zh-TW~10.0.10240.16384
    dism /online /remove-package /packagename:Windows-Defender-Client-Package~31bf3856ad364e35~amd64~~10.0.10240.16384
    dism /online /remove-package /packagename:Windows-Defender-Client-WOW64-Package~31bf3856ad364e35~amd64~zh-TW~10.0.10240.16384
    dism /online /remove-package /packagename:Windows-Defender-Client-WOW64-Package~31bf3856ad364e35~amd64~~10.0.10240.16384
    dism /online /remove-package /packagename:Windows-Defender-Group-Policy-Package~31bf3856ad364e35~amd64~zh-TW~10.0.10240.16384
    dism /online /remove-package /packagename:Windows-Defender-Group-Policy-Package~31bf3856ad364e35~amd64~~10.0.10240.16384
    
    dism /online /remove-package /packagename:Microsoft-Hyper-V-ClientEdition-HVON-Package~31bf3856ad364e35~amd64~zh-TW~10.0.10240.16384
    dism /online /remove-package /packagename:Microsoft-Hyper-V-ClientEdition-HVON-Package~31bf3856ad364e35~amd64~~10.0.10240.16384
    dism /online /remove-package /packagename:Microsoft-Hyper-V-Common-Drivers-Package~31bf3856ad364e35~amd64~~10.0.10240.16384
    dism /online /remove-package /packagename:Microsoft-Hyper-V-Guest-Integration-Drivers-Package~31bf3856ad364e35~amd64~zh-TW~10.0.10240.16384
    dism /online /remove-package /packagename:Microsoft-Hyper-V-Guest-Integration-Drivers-Package~31bf3856ad364e35~amd64~~10.0.10240.16384
    dism /online /remove-package /packagename:Microsoft-Hyper-V-Hypervisor-Core-Package~31bf3856ad364e35~amd64~zh-TW~10.0.10240.16384
    dism /online /remove-package /packagename:Microsoft-Hyper-V-Hypervisor-Core-Package~31bf3856ad364e35~amd64~~10.0.10240.16384
    dism /online /remove-package /packagename:Microsoft-Hyper-V-Hypervisor-Package~31bf3856ad364e35~amd64~zh-TW~10.0.10240.16384
    dism /online /remove-package /packagename:Microsoft-Hyper-V-Hypervisor-Package~31bf3856ad364e35~amd64~~10.0.10240.16384
    dism /online /remove-package /packagename:Microsoft-Hyper-V-Hypervisor-vm-Package~31bf3856ad364e35~amd64~zh-TW~10.0.10240.16384
    dism /online /remove-package /packagename:Microsoft-Hyper-V-Hypervisor-vm-Package~31bf3856ad364e35~amd64~~10.0.10240.16384
    dism /online /remove-package /packagename:Microsoft-Hyper-V-Management-Clients-Package~31bf3856ad364e35~amd64~zh-TW~10.0.10240.16384
    dism /online /remove-package /packagename:Microsoft-Hyper-V-Management-Clients-Package~31bf3856ad364e35~amd64~~10.0.10240.16384
    dism /online /remove-package /packagename:Microsoft-Hyper-V-Management-PowerShell-Package-net~31bf3856ad364e35~amd64~zh-TW~10.0.10240.16384
    dism /online /remove-package /packagename:Microsoft-Hyper-V-Management-PowerShell-Package-net~31bf3856ad364e35~amd64~~10.0.10240.16384
    dism /online /remove-package /packagename:Microsoft-Hyper-V-Management-PowerShell-Package~31bf3856ad364e35~amd64~zh-TW~10.0.10240.16384
    dism /online /remove-package /packagename:Microsoft-Hyper-V-Management-PowerShell-Package~31bf3856ad364e35~amd64~~10.0.10240.16384
    dism /online /remove-package /packagename:Microsoft-Hyper-V-Offline-Common-Package~31bf3856ad364e35~amd64~zh-TW~10.0.10240.16384
    dism /online /remove-package /packagename:Microsoft-Hyper-V-Offline-Common-Package~31bf3856ad364e35~amd64~~10.0.10240.16384
    dism /online /remove-package /packagename:Microsoft-Hyper-V-Offline-Common-vm-Package~31bf3856ad364e35~amd64~zh-TW~10.0.10240.16384
    dism /online /remove-package /packagename:Microsoft-Hyper-V-Offline-Common-vm-Package~31bf3856ad364e35~amd64~~10.0.10240.16384
    dism /online /remove-package /packagename:Microsoft-Hyper-V-Offline-Core-Group-Package~31bf3856ad364e35~amd64~zh-TW~10.0.10240.16384
    dism /online /remove-package /packagename:Microsoft-Hyper-V-Offline-Core-Group-Package~31bf3856ad364e35~amd64~~10.0.10240.16384
    dism /online /remove-package /packagename:Microsoft-Hyper-V-Online-Services-Core-Package~31bf3856ad364e35~amd64~zh-TW~10.0.10240.16384
    dism /online /remove-package /packagename:Microsoft-Hyper-V-Online-Services-Core-Package~31bf3856ad364e35~amd64~~10.0.10240.16384
    dism /online /remove-package /packagename:Microsoft-Hyper-V-Online-Services-Package~31bf3856ad364e35~amd64~zh-TW~10.0.10240.16384
    dism /online /remove-package /packagename:Microsoft-Hyper-V-Online-Services-Package~31bf3856ad364e35~amd64~~10.0.10240.16384
    dism /online /remove-package /packagename:Microsoft-Hyper-V-Online-Services-vm-Package~31bf3856ad364e35~amd64~zh-TW~10.0.10240.16384
    dism /online /remove-package /packagename:Microsoft-Hyper-V-Online-Services-vm-Package~31bf3856ad364e35~amd64~~10.0.10240.16384
    dism /online /remove-package /packagename:Microsoft-Hyper-V-Package-ds-Package~31bf3856ad364e35~amd64~~10.0.10240.16384
    dism /online /remove-package /packagename:Microsoft-Hyper-V-Package-minkernel-Package~31bf3856ad364e35~amd64~~10.0.10240.16384
    dism /online /remove-package /packagename:Microsoft-Hyper-V-Package-net~31bf3856ad364e35~amd64~zh-TW~10.0.10240.16384
    dism /online /remove-package /packagename:Microsoft-Hyper-V-Package-net~31bf3856ad364e35~amd64~~10.0.10240.16384
    dism /online /remove-package /packagename:Microsoft-Hyper-V-Package-termsrv-Package~31bf3856ad364e35~amd64~zh-TW~10.0.10240.16384
    dism /online /remove-package /packagename:Microsoft-Hyper-V-Package-termsrv-Package~31bf3856ad364e35~amd64~~10.0.10240.16384
    dism /online /remove-package /packagename:Microsoft-Hyper-V-Server-Drivers-Package~31bf3856ad364e35~amd64~zh-TW~10.0.10240.16384
    dism /online /remove-package /packagename:Microsoft-Hyper-V-Server-Drivers-Package~31bf3856ad364e35~amd64~~10.0.10240.16384
    dism /online /remove-package /packagename:Microsoft-Hyper-V-Services-Package~31bf3856ad364e35~amd64~zh-TW~10.0.10240.16384
    dism /online /remove-package /packagename:Microsoft-Hyper-V-Services-Package~31bf3856ad364e35~amd64~~10.0.10240.16384
    [After]

    remove.cmd (run as administrator)
    Code:
    @echo off
    pushd "%~dp0"
    
    install_wim_tweak.exe /o /c Windows-Defender /r
    install_wim_tweak.exe /o /c Microsoft-Hyper-V /r
    
    [Note]
    o = online
    c = component
    r = remove
     
  15. Kuertt

    Kuertt MDL Novice

    Jun 23, 2014
    9
    1
    0
    How remove Package ..Telemetry, Defender, One drive ecc offline in dism?

    The command ''Dism /image:c:\.. /Remove-ProvisionedAppxPackage /Packagename:'' not work in windows 10....

    Help :confused:
     
  16. coromonadalix

    coromonadalix MDL Senior Member

    Jul 21, 2009
    431
    85
    10
    im lost : is it for an installed windows ??

    Ex : from my windows 10, to remove the installed packages or to remove them from an extracted dvd iso ??? i want Cortana out, it is still running as a service

    But killing it, it restart almost immediately, but disabled almost every where ...

    help