Uninstall Apps in Windows 10  

Page 59 of 66 FirstFirst ... 9495758596061 ... LastLast

  1. Posts : 42,735
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #580

    I found the folder in Windowsapps for a 3rd party Store app was deleted when I used Wise Uninstaller's (free) app uninstall option which I'd not tried before. The app was correctly installed, not a remnant.

    Only one example, so not significant... and whether the folder is removed or not could even be up to the app's uninstaller of course.
      My Computers


  2. Posts : 18,044
    Win 10 Pro 64-bit v1909 - Build 18363 Custom ISO Install
       #581

    Steve C:

    What do you use to get the folder sizes down the left-hand side please?

    General:

    After a Clean Install, I get rid of MOST of the Apps I do NOT want using AppxPackage and AppxProvisionedPackage. I have just looked at my folder C:\Program Files\WindowsApps, and it ONLY has the ones I did NOT remove.
      My Computer


  3. Posts : 250
    Windows 10 22H2
       #582

    Hi, I've read everything.

    Since I found many folders (over total 446 folders!) under WindowsApps that look orphaned I made a script (unfortunately mixed dos-batch/powershell) to automate the detection process for later offline cleaning.

    I'm working on it myself, but if you want to help me get it right, I'd love to.

    For now I start from the list of directories inside WindowsApps and check the installed and registered applications and if they are not, I indicate the directory to be cleaned. Eventually a script is created in "C: \Users\Public\Documents" to delete the folders in offline mode.

    This version only displays installed apps and folders (only first folder) to compare but still does not compare:
    Code:
    ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
    :: By Einstein1969 for www.tenforum.com 
    ::
    :: CleanWA v. 0.1 BETA
    ::
    :: Detect orphaned dirs in %ProgramFiles%\WindowsApps
    ::
    :: ref: https://www.tenforums.com/tutorials/4689-uninstall-apps-windows-10-a.html
    ::
    :: execute how Administrator
    ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
    @echo off & setlocal EnableDelayedExpansion
    
    set "WA=%ProgramFiles%\WindowsApps"
    
    mode con: COLS=160 LINES=500
    
    echo -------------------------------------
    echo Analyze "%WA%"
    echo -------------------------------------
    
    if not exist "%WA%\." echo Error: Problem accessing "%WA%" & goto :eof
    
    set "dn=0" & rem number of folders/directories
    
    FOR /f "tokens=*" %%z IN ('dir /b /o:n "%WA%"') DO (
      set /a "dn+=1"
      FOR /f "tokens=1-4" %%g in ('dir /S /W "%WA%\%%z"') do (set "oldlineSize=!line!" & set line=%%i)
      set "oldlineSize=               !oldlineSize!"
      set "dn=    !dn!"
      echo !dn:~-4! ...searching for "%%z" (!oldlineSize:~-15! Bytes^)
    
      rem number of registered applications
      set "ra=0"
    
      rem exclude "system" applications in c:\windows folder
    
      for /f "tokens=*" %%e in ('powershell -Command "Get-AppxPackage -AllUsers | ? { $_.SignatureKind -ne 'System' } | Select InstallLocation | Sort-Object -Property InstallLocation | ft -HideTableHeaders"') do (
    	set "installLoc=%%e"
    	set /a ra+=1
    	if defined installLoc (
    		echo 	!ra! - Package InstallLocation "%%e"
    	) else echo 	!ra! - ^<^<^< Warning: InstallLoc not defined! ^>^>^>
      )
      pause & goto :eof
    )
    
    pause
    
    goto :eof
    ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
    Download a zip with cmd file(s):CleanWA_0.1Beta_.zip
    Example output, my machine:
    Uninstall Apps in Windows 10-immagine.png
      My Computers


  4. Posts : 7,606
    Windows 10 Home 20H2
       #583

    Uninstall Apps in Windows 10-file-not-found.jpg
      My Computer


  5. Posts : 250
    Windows 10 22H2
       #584

    As you can see there is immediately a problem with the first application because the "InstallLocation" field is empty. I don't know if it's normal so I'm looking on the internet ...

    Code:
    PS C:\WINDOWS\system32> Get-AppxPackage
    
    
    Name              : Microsoft.VCLibs.140.00
    Publisher         : CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
    Architecture      : X64
    ResourceId        :
    Version           : 14.0.29231.0
    PackageFullName   : Microsoft.VCLibs.140.00_14.0.29231.0_x64__8wekyb3d8bbwe
    InstallLocation   :
    IsFramework       : True
    PackageFamilyName : Microsoft.VCLibs.140.00_8wekyb3d8bbwe
    PublisherId       : 8wekyb3d8bbwe
    IsResourcePackage : False
    IsBundle          : False
    IsDevelopmentMode : False
    NonRemovable      : False
    IsPartiallyStaged : False
    SignatureKind     : Store
    Status            : Ok
    These are the dirs on my pc :
    Code:
    C:\Program Files\WindowsApps>dir *VCLibs* /p
     Il volume nell'unità C è Windows
     Numero di serie del volume: AEEE-A320
    
     Directory di C:\Program Files\WindowsApps
    
    24/09/2021  20:33    <DIR>          Microsoft.VCLibs.120.00.Universal_12.0.30501.0_x64__8wekyb3d8bbwe
    24/09/2021  20:33    <DIR>          Microsoft.VCLibs.120.00.Universal_12.0.30501.0_x86__8wekyb3d8bbwe
    24/09/2021  20:34    <DIR>          Microsoft.VCLibs.120.00.UWPDesktop_12.0.40653.0_x64__8wekyb3d8bbwe
    24/09/2021  20:34    <DIR>          Microsoft.VCLibs.120.00.UWPDesktop_12.0.40653.0_x86__8wekyb3d8bbwe
    24/09/2021  20:34    <DIR>          Microsoft.VCLibs.120.00_12.0.21005.1_x64__8wekyb3d8bbwe
    24/09/2021  20:34    <DIR>          Microsoft.VCLibs.120.00_12.0.21005.1_x86__8wekyb3d8bbwe
    25/08/2021  05:34    <DIR>          Microsoft.VCLibs.140.00.UWPDesktop_14.0.27629.0_x64__8wekyb3d8bbwe
    24/09/2021  20:36    <DIR>          Microsoft.VCLibs.140.00.UWPDesktop_14.0.30035.0_x64__8wekyb3d8bbwe
    24/09/2021  20:36    <DIR>          Microsoft.VCLibs.140.00.UWPDesktop_14.0.30035.0_x86__8wekyb3d8bbwe
    24/09/2021  20:31    <DIR>          Microsoft.VCLibs.140.00_14.0.27323.0_x64__8wekyb3d8bbwe
    24/09/2021  20:36    <DIR>          Microsoft.VCLibs.140.00_14.0.30035.0_x64__8wekyb3d8bbwe
    24/09/2021  20:36    <DIR>          Microsoft.VCLibs.140.00_14.0.30035.0_x86__8wekyb3d8bbwe
                   0 File              0 byte
                  12 Directory  11.038.420.992 byte disponibili
    there is not version *14.0.29231.0_x64* !

    there are other version of registered VCLibs...

    Code:
    PS C:\WINDOWS\system32> Get-AppxPackage | ? { $_.PackageFamilyName -like '*VCLibs*' }
    
    
    Name              : Microsoft.VCLibs.140.00
    Publisher         : CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
    Architecture      : X64
    ResourceId        :
    Version           : 14.0.29231.0
    PackageFullName   : Microsoft.VCLibs.140.00_14.0.29231.0_x64__8wekyb3d8bbwe
    InstallLocation   :
    IsFramework       : True
    PackageFamilyName : Microsoft.VCLibs.140.00_8wekyb3d8bbwe
    PublisherId       : 8wekyb3d8bbwe
    IsResourcePackage : False
    IsBundle          : False
    IsDevelopmentMode : False
    NonRemovable      : False
    IsPartiallyStaged : False
    SignatureKind     : Store
    Status            : Ok
    
    Name              : Microsoft.VCLibs.140.00
    Publisher         : CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
    Architecture      : X64
    ResourceId        :
    Version           : 14.0.30035.0
    PackageFullName   : Microsoft.VCLibs.140.00_14.0.30035.0_x64__8wekyb3d8bbwe
    InstallLocation   : C:\Program Files\WindowsApps\Microsoft.VCLibs.140.00_14.0.30035.0_x64__8wekyb3d8bbwe
    IsFramework       : True
    PackageFamilyName : Microsoft.VCLibs.140.00_8wekyb3d8bbwe
    PublisherId       : 8wekyb3d8bbwe
    IsResourcePackage : False
    IsBundle          : False
    IsDevelopmentMode : False
    NonRemovable      : False
    IsPartiallyStaged : False
    SignatureKind     : Store
    Status            : Ok
    
    Name              : Microsoft.VCLibs.140.00
    Publisher         : CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
    Architecture      : X64
    ResourceId        :
    Version           : 14.0.27323.0
    PackageFullName   : Microsoft.VCLibs.140.00_14.0.27323.0_x64__8wekyb3d8bbwe
    InstallLocation   : C:\Program Files\WindowsApps\Microsoft.VCLibs.140.00_14.0.27323.0_x64__8wekyb3d8bbwe
    IsFramework       : True
    PackageFamilyName : Microsoft.VCLibs.140.00_8wekyb3d8bbwe
    PublisherId       : 8wekyb3d8bbwe
    IsResourcePackage : False
    IsBundle          : False
    IsDevelopmentMode : False
    NonRemovable      : False
    IsPartiallyStaged : False
    SignatureKind     : Store
    Status            : Ok
    
    Name              : Microsoft.VCLibs.120.00.Universal
    Publisher         : CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
    Architecture      : X86
    ResourceId        :
    Version           : 12.0.30501.0
    PackageFullName   : Microsoft.VCLibs.120.00.Universal_12.0.30501.0_x86__8wekyb3d8bbwe
    InstallLocation   : C:\Program Files\WindowsApps\Microsoft.VCLibs.120.00.Universal_12.0.30501.0_x86__8wekyb3d8bbwe
    IsFramework       : True
    PackageFamilyName : Microsoft.VCLibs.120.00.Universal_8wekyb3d8bbwe
    PublisherId       : 8wekyb3d8bbwe
    IsResourcePackage : False
    IsBundle          : False
    IsDevelopmentMode : False
    NonRemovable      : False
    IsPartiallyStaged : False
    SignatureKind     : Store
    Status            : Ok
    
    Name              : Microsoft.VCLibs.120.00.Universal
    Publisher         : CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
    Architecture      : X64
    ResourceId        :
    Version           : 12.0.30501.0
    PackageFullName   : Microsoft.VCLibs.120.00.Universal_12.0.30501.0_x64__8wekyb3d8bbwe
    InstallLocation   : C:\Program Files\WindowsApps\Microsoft.VCLibs.120.00.Universal_12.0.30501.0_x64__8wekyb3d8bbwe
    IsFramework       : True
    PackageFamilyName : Microsoft.VCLibs.120.00.Universal_8wekyb3d8bbwe
    PublisherId       : 8wekyb3d8bbwe
    IsResourcePackage : False
    IsBundle          : False
    IsDevelopmentMode : False
    NonRemovable      : False
    IsPartiallyStaged : False
    SignatureKind     : Store
    Status            : Ok
    
    Name              : Microsoft.VCLibs.120.00
    Publisher         : CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
    Architecture      : X64
    ResourceId        :
    Version           : 12.0.21005.1
    PackageFullName   : Microsoft.VCLibs.120.00_12.0.21005.1_x64__8wekyb3d8bbwe
    InstallLocation   : C:\Program Files\WindowsApps\Microsoft.VCLibs.120.00_12.0.21005.1_x64__8wekyb3d8bbwe
    IsFramework       : True
    PackageFamilyName : Microsoft.VCLibs.120.00_8wekyb3d8bbwe
    PublisherId       : 8wekyb3d8bbwe
    IsResourcePackage : False
    IsBundle          : False
    IsDevelopmentMode : False
    NonRemovable      : False
    IsPartiallyStaged : False
    SignatureKind     : Store
    Status            : Ok
    
    Name              : Microsoft.VCLibs.120.00
    Publisher         : CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
    Architecture      : X86
    ResourceId        :
    Version           : 12.0.21005.1
    PackageFullName   : Microsoft.VCLibs.120.00_12.0.21005.1_x86__8wekyb3d8bbwe
    InstallLocation   : C:\Program Files\WindowsApps\Microsoft.VCLibs.120.00_12.0.21005.1_x86__8wekyb3d8bbwe
    IsFramework       : True
    PackageFamilyName : Microsoft.VCLibs.120.00_8wekyb3d8bbwe
    PublisherId       : 8wekyb3d8bbwe
    IsResourcePackage : False
    IsBundle          : False
    IsDevelopmentMode : False
    NonRemovable      : False
    IsPartiallyStaged : False
    SignatureKind     : Store
    Status            : Ok
    
    Name              : Microsoft.VCLibs.120.00.UWPDesktop
    Publisher         : CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
    Architecture      : X64
    ResourceId        :
    Version           : 12.0.40653.0
    PackageFullName   : Microsoft.VCLibs.120.00.UWPDesktop_12.0.40653.0_x64__8wekyb3d8bbwe
    InstallLocation   : C:\Program Files\WindowsApps\Microsoft.VCLibs.120.00.UWPDesktop_12.0.40653.0_x64__8wekyb3d8bbwe
    IsFramework       : True
    PackageFamilyName : Microsoft.VCLibs.120.00.UWPDesktop_8wekyb3d8bbwe
    PublisherId       : 8wekyb3d8bbwe
    IsResourcePackage : False
    IsBundle          : False
    IsDevelopmentMode : False
    NonRemovable      : False
    IsPartiallyStaged : False
    SignatureKind     : Store
    Status            : Ok
    
    Name              : Microsoft.VCLibs.120.00.UWPDesktop
    Publisher         : CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
    Architecture      : X86
    ResourceId        :
    Version           : 12.0.40653.0
    PackageFullName   : Microsoft.VCLibs.120.00.UWPDesktop_12.0.40653.0_x86__8wekyb3d8bbwe
    InstallLocation   : C:\Program Files\WindowsApps\Microsoft.VCLibs.120.00.UWPDesktop_12.0.40653.0_x86__8wekyb3d8bbwe
    IsFramework       : True
    PackageFamilyName : Microsoft.VCLibs.120.00.UWPDesktop_8wekyb3d8bbwe
    PublisherId       : 8wekyb3d8bbwe
    IsResourcePackage : False
    IsBundle          : False
    IsDevelopmentMode : False
    NonRemovable      : False
    IsPartiallyStaged : False
    SignatureKind     : Store
    Status            : Ok
    
    Name              : Microsoft.VCLibs.140.00
    Publisher         : CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
    Architecture      : X86
    ResourceId        :
    Version           : 14.0.30035.0
    PackageFullName   : Microsoft.VCLibs.140.00_14.0.30035.0_x86__8wekyb3d8bbwe
    InstallLocation   : C:\Program Files\WindowsApps\Microsoft.VCLibs.140.00_14.0.30035.0_x86__8wekyb3d8bbwe
    IsFramework       : True
    PackageFamilyName : Microsoft.VCLibs.140.00_8wekyb3d8bbwe
    PublisherId       : 8wekyb3d8bbwe
    IsResourcePackage : False
    IsBundle          : False
    IsDevelopmentMode : False
    NonRemovable      : False
    IsPartiallyStaged : False
    SignatureKind     : Store
    Status            : Ok
    
    Name              : Microsoft.VCLibs.140.00.UWPDesktop
    Publisher         : CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
    Architecture      : X64
    ResourceId        :
    Version           : 14.0.30035.0
    PackageFullName   : Microsoft.VCLibs.140.00.UWPDesktop_14.0.30035.0_x64__8wekyb3d8bbwe
    InstallLocation   : C:\Program Files\WindowsApps\Microsoft.VCLibs.140.00.UWPDesktop_14.0.30035.0_x64__8wekyb3d8bbwe
    IsFramework       : True
    PackageFamilyName : Microsoft.VCLibs.140.00.UWPDesktop_8wekyb3d8bbwe
    PublisherId       : 8wekyb3d8bbwe
    IsResourcePackage : False
    IsBundle          : False
    IsDevelopmentMode : False
    NonRemovable      : False
    IsPartiallyStaged : False
    SignatureKind     : Store
    Status            : Ok
    
    Name              : Microsoft.VCLibs.140.00.UWPDesktop
    Publisher         : CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
    Architecture      : X86
    ResourceId        :
    Version           : 14.0.30035.0
    PackageFullName   : Microsoft.VCLibs.140.00.UWPDesktop_14.0.30035.0_x86__8wekyb3d8bbwe
    InstallLocation   : C:\Program Files\WindowsApps\Microsoft.VCLibs.140.00.UWPDesktop_14.0.30035.0_x86__8wekyb3d8bbwe
    IsFramework       : True
    PackageFamilyName : Microsoft.VCLibs.140.00.UWPDesktop_8wekyb3d8bbwe
    PublisherId       : 8wekyb3d8bbwe
    IsResourcePackage : False
    IsBundle          : False
    IsDevelopmentMode : False
    NonRemovable      : False
    IsPartiallyStaged : False
    SignatureKind     : Store
    Status            : Ok
    Last edited by einstein1969; 25 Sep 2021 at 09:09.
      My Computers


  6. Posts : 7,606
    Windows 10 Home 20H2
       #585

    Code:
    PS C:\Windows\system32> Get-AppxPackage
    
    
    Name              : Microsoft.549981C3F5F10
    Publisher         : CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
    Architecture      : X64
    ResourceId        :
    Version           : 1.1911.21713.0
    PackageFullName   : Microsoft.549981C3F5F10_1.1911.21713.0_x64__8wekyb3d8bbwe
    InstallLocation   : C:\Program Files\WindowsApps\Microsoft.549981C3F5F10_1.1911.21713.0_x64__8wekyb3d8bbwe
    IsFramework       : False
    PackageFamilyName : Microsoft.549981C3F5F10_8wekyb3d8bbwe
    PublisherId       : 8wekyb3d8bbwe
    IsResourcePackage : False
    IsBundle          : False
    IsDevelopmentMode : False
    NonRemovable      : False
    Dependencies      : {Microsoft.VCLibs.140.00.UWPDesktop_14.0.27629.0_x64__8wekyb3d8bbwe,
                        Microsoft.NET.Native.Framework.2.2_2.2.27405.0_x64__8wekyb3d8bbwe,
                        Microsoft.NET.Native.Runtime.2.2_2.2.27328.0_x64__8wekyb3d8bbwe,
                        Microsoft.VCLibs.140.00_14.0.27323.0_x64__8wekyb3d8bbwe}
    IsPartiallyStaged : False
    SignatureKind     : Store
    Status            : Ok
      My Computer


  7. Posts : 250
    Windows 10 22H2
       #586

    Matthew Wai said:
    Uninstall Apps in Windows 10-file-not-found.jpg
    thanks for replay. I search where is the problem, but i already worked for this error on my machine. You can probe this command in your pc, open a cmd windows (administrator) :
    Code:
    dir /b /o:n "%ProgramFiles%\WindowsApps"
    >nul: dir /S /W "%ProgramFiles%\WindowsApps\*"
    EDIT:added a final double quote (") on precedent code
      My Computers


  8. Posts : 7,606
    Windows 10 Home 20H2
       #587

    dir /b /o:n "%ProgramFiles%\WindowsApps" has output a list of packages.
      My Computer


  9. Posts : 250
    Windows 10 22H2
       #588

    and this code:

    Code:
    set ProgramF
    @Matthew Wai
    do you have a machine set up / that works for Chinese?
      My Computers


  10. Posts : 7,606
    Windows 10 Home 20H2
       #589

    I do not have Chinese Windows.

    Code:
    C:\Users\Matthew_Wai>set ProgramF
    ProgramFiles=C:\Program Files
    ProgramFiles(x86)=C:\Program Files (x86)
      My Computer


 

Tutorial Categories

Uninstall Apps in Windows 10 Tutorial Index Network & Sharing Instalation and Upgrade Browsers and Email General Tips Gaming Customization Apps and Features Virtualization BSOD System Security User Accounts Hardware and Drivers Updates and Activation Backup and Restore Performance and Maintenance Mixed Reality Phone


  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 19:25.
Find Us




Windows 10 Forums