Remove Delete App from Registry


  1. Posts : 579
    Windows 10
       #1

    Remove Delete App from Registry


    Hi,
    I have deleted several App Packages from C:\Program Files\WindowsApps.
    (That packages, some are old from win 8.1, some are from OEM, and I donīt need/want them)

    Now when I boot I get a lot of errors in Event Viewer says that Files are missing.
    I deleted their references in Restry HKLM\Software\Windows\CurrentVersion\Appx\AppxAllUsers\S-1-5-21-xxxxx (this my User)

    But every time I boot, Windows put back in Registry those references again.

    How I delete that references / Apps?
      My Computer


  2. Posts : 5,478
    2004
       #2

    Best way is to remove them with Powershell. For example:
    Code:
    $app="Microsoft.BingWeather"
    
    # Remove for users
    Get-AppxPackage -Name $app -AllUsers | Remove-AppxPackage 
    
    # Delete from WindowsApps
    Get-AppXProvisionedPackage -Online |
    	where DisplayName -EQ $app |
    	Remove-AppxProvisionedPackage -Online
    If you've deleted them from C:\Program Files\WindowsApps you'd have to do an in-place upgrade to add them back (or possibly try adding them back from the Store ) and then remove them again with Powershell.
      My Computer


  3. Posts : 579
    Windows 10
    Thread Starter
       #3

    Thank you.
    I have Deleted with PowerShell and after it Manually with File Explorer.
    Most of them are Bloatware from Laptop Manufacturer, and I will have to Restore a System Image.

    I think I only need to Un-register the Deleted Apps.
    How to un-register?
      My Computer


  4. Posts : 5,478
    2004
       #4

    If you can see it with Get-AppxPackage then you can remove it with Remove-AppxPackage - that is what the top Powershell command above does.

    The second one (Remove-AppxProvisionedPackage) deletes it from WindowsApps (at least it does for me) so you shouldn't have to do it manually - in theory anyway.

    If you can't see it with Get-AppxPackage then I don't know how to remove it from registry (or even if it is the registry you need to remove it from).
      My Computer


  5. Posts : 579
    Windows 10
    Thread Starter
       #5

    I tried the 2nd command but is "too late", did not remove from Registry.
    But, searching the whole Registry and Deleting all the references it works.
    Thank you.
      My Computer


 

  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 04:59.
Find Us




Windows 10 Forums