anyway to remove windows 10 apps?

Discussion in 'Windows 10' started by DEBKOL35, Jul 21, 2015.

  1. DEBKOL35

    DEBKOL35 MDL Senior Member

    Mar 20, 2009
    285
    19
    10
    I cant delete Cortana ... I tried the script getsuga369 gave ... cortana is not listed there. I tried Remove-AppXPackage <PackageFullname> method too but its showing error. I took admin control over the folder but can't delete the Cortana app folder bc its saying Cortana is running. When I am doing End Task from Task Manager over Cortana, its getting restarted within second. Please help me to remove it :(

    e0d0dee2a4613d0a8f8574727d42b0ac.png
     
  2. dummekuehe

    dummekuehe MDL Senior Member

    Jan 11, 2009
    497
    112
    10
    #22 dummekuehe, Jul 22, 2015
    Last edited: Jul 22, 2015
    removing cortana makes quite a difference
    first thing i do
    but it leaves you without the search function
    so I install classic shell and then I'm happy(er)

    @DEBKOL32
    then forget the script and rename the cortana folder in systemapps

    can you get rid of windows defender with the script?
    because I renamed the folder to get rid of it too
     
  3. murphy78

    murphy78 MDL DISM Enthusiast

    Nov 18, 2012
    7,389
    11,614
    240
    #23 murphy78, Jul 22, 2015
    Last edited by a moderator: Apr 20, 2017
    To get a list of apps:
    Code:
    powershell -Command " & {(Get-AppxPackage | Where-Object {$_.PublisherId -ne \"cw5n1h2txyewy\"}).PackageFullName}">%userprofile%\desktop\applist.txt
    To remove a package Example:
    Code:
    powershell remove-appxpackage Microsoft.Office.OneNote_17.4229.10061.0_x64__8wekyb3d8bbwe
    I would recommend against blanket removals of all cw5n1... online store packages because a lot of them are potentially important like .net and vcredist stuff.
    If you don't care, here's a blanket removal cmd script:
    Code:
    @echo off
    color 1f
        pushd "%CD%"
        CD /D "%~dp0"
    (NET FILE||(powershell -command Start-Process '%0' -Verb runAs -ArgumentList '%* '&EXIT /B))>NUL 2>NUL
    :--------------------------------------
    ECHO -------------------------------------------------------------------------------
    echo.                Windows Store Apps Removal Script
    ECHO -------------------------------------------------------------------------------
    
    
    ECHO This script will removal all Windows Store installed apps.
    ECHO It will not remove the Store, and you can re-install the apps by
    ECHO re-downloading them at any time. Powershell warning messages will
    ECHO be shown during the process. You can ignore these.
    ECHO If you get a null or empty error, then you have no UI Apps installed.
    ECHO -------------------------------------------------------------------------------
    CHOICE /c YN /n /M "Run this script? (Y/N): "
    set errortemp=%ERRORLEVEL%
    IF %ERRORTEMP% EQU 2 EXIT
    IF %ERRORTEMP% EQU 0 EXIT
    echo Get-AppxProvisionedPackage -Online ^| Remove-AppxProvisionedPackage –Online >%TEMP%\PSR.ps1
    echo ^(Get-AppxPackage ^| Where-Object ^{$_.PublisherId -ne ^"cw5n1h2txyewy^"^}^).PackageFullName ^| Remove-AppxPackage >>%TEMP%\PSR.ps1
    powershell Set-ExecutionPolicy RemoteSigned
    powershell %TEMP%\PSR.ps1
    del %TEMP%\PSR.ps1
    ECHO -------------------------------------------------------------------------------
    echo.                                 Finished
    ECHO -------------------------------------------------------------------------------
    echo Press any key to exit...
    pause>NUL
    save that using .cmd extension and run it and it will remove all online store apps.
    Again I don't recommand that in Win10 as it does not discriminate and will possibly mess with ability to re-download/run apps.
     
  4. sevenacids

    sevenacids MDL Addicted

    Aug 17, 2012
    667
    232
    30
    I think it's not possible to remove it completely without breaking other parts of the system. It worked in early Insider builds, but at some point it started to break the Start menu and/or Search. I guess even if Cortana itself is disabled, the app still provides the normal search functionality, therefore it is running in the back.
     
  5. UltimateGTR

    UltimateGTR MDL Member

    Jul 18, 2009
    101
    18
    10
    Is it safe to remove Microsoft.Appconnector?
     
  6. dvbman

    dvbman MDL Junior Member

    Apr 23, 2015
    87
    50
    0
    #27 dvbman, Jul 26, 2015
    Last edited by a moderator: Apr 20, 2017
    IMHO yes, for one simply reason: it's an appx packages (not a "deeper" component) and has a "unistall" command.

    Just in case anyone is wondering "What is an App + Data Services API App Connector?"
    Code:
    hxxps://azure.microsoft.com/en-us/documentation/articles/app-service-logic-data-connectors/
    (Sorry but can't use html tag, i've too few posts. )
     
  7. bimani

    bimani Guest

    rubbish

    there is no option to DISABLE in Apps & features :mad: please do not shoot in the dark
     
  8. riahc3

    riahc3 MDL Addicted

    Jul 29, 2009
    547
    34
    30
    I highly recommend not doing this at this point. I mention this because it is too early on to say if this has other reactions.
     
  9. riahc3

    riahc3 MDL Addicted

    Jul 29, 2009
    547
    34
    30
    Um...Add-AppxPackage ???

    Honestly, you guys should not be running PowerShell commands if you don't know what they do or exactly mean. PowerShell is VERY powerful...
     
  10. LiteOS

    LiteOS Windowizer

    Mar 7, 2014
    2,209
    984
    90
    it might break the os
     
  11. dvbman

    dvbman MDL Junior Member

    Apr 23, 2015
    87
    50
    0
    I agree. I don't understand why not use the official method with dism but rely on alternative/unsupported/risky methods.
     
  12. pf100

    pf100 Duct Tape Coder

    Oct 22, 2010
    2,069
    3,449
    90
    I can tell you how NOT to do it: booting into linux and moving everything in the windows/systemapps folder to a temp folder.
    I rebooted into W10 and it broke the action center, volume control, search, start menu, etc. So I fired up linux again and moved the systemapps folder back where it belonged, rebooted into W10, and nothing worked still. I had to reinstall. I probably could have got it working again but at that point I was too tired to think.
     
  13. Sirte

    Sirte MDL Novice

    Jun 11, 2014
    16
    17
    0
    #34 Sirte, Aug 23, 2015
    Last edited by a moderator: Apr 20, 2017
    I have renamed all folders inside C:\Windows\SystemApps except the ShellExperienceHost one and everything is fine on my system. SearchUI is not running. Nonetheless you can search files inside explorer.

    This batch will do it automatically:

    Code:
    @echo off
    @setlocal enabledelayedexpansion
    net session >nul 2>&1
    if %errorLevel% NEQ 0 (
        echo ERROR: Please run this script as admin!
        echo.
        pause
        exit
    )
    echo =============================
    echo DISABLE WINDOWS 10 SYSTEMAPPS
    echo =============================
    echo.
    echo Disabling Apps...
    echo.
    cd C:\Windows\SystemApps
    for /f %%f in ('dir /b C:\Windows\SystemApps') do (
        cd %%f
        for %%* in (.) do set CurrDirName=%%~nx*
        if NOT "!CurrDirName!"=="!CurrDirName:ShellExp=!" (
            cd ..
        ) else (
            for /r %%x in (*.exe) do TASKKILL /F /IM %%~nxx
            cd ..
            ren %%f disabled_%%f
        )
    )
    echo.
    echo FINISHED!
    pause