Restore Just Store App to install Xbox Accessories App


  1. Posts : 174
    Windows 10 Enterprise x64 1709
       #1

    Restore Just Store App to install Xbox Accessories App


    Hi,
    After a clean Windows 10 Ent x64 1803 installation, I always run:
    Code:
     Set-ExecutionPolicy Unrestricted -Force
     Get-AppxPackage -AllUsers | Remove-AppxPackage
     Set-ExecutionPolicy Restricted -Force
    To remove all useless new Windows Apps which I will never use them.
    However, I just found the need for a single one: Xbox Accessories to update my xbox one controllers via PC (Xbox Wireless Dongle or Cable).
    So If there's a way to just setup this without Store would be great.
    However, since Store is also removed I think I must 1st install Store & 2nd Xbox Accessories.
    Note that I cannot reinstall Windows and don't have an image to restore as well.
    So please let me know the easiest & shortest way to install the above Apps only.
    Really thanks for help :)
      My Computer


  2. Posts : 30,192
    Windows 11 Pro x64 Version 23H2
       #2

    I can't be 100% but as you removed for all users I think you are going to need to perform an inplace repair.

    This is a non destructive process but I always recommend having your data backed up. It should not impact your currently installed programs.

    Repair Install Windows 10 with an In-place Upgrade

    You would then have to remove the apps

    Uninstall Apps in Windows 10

    If you search forum I recall one thread where someone built a file they could run.

    You will also notice a tip in the uninstall tutorial to prevent removed apps from returning with an update. Not recommending changes to registry, just mentioning it.

    Lets see if another member knows how to just get store since you removed for all users.


    Ken
      My Computer


  3. Posts : 174
    Windows 10 Enterprise x64 1709
    Thread Starter
       #3

    Thanks, forget about it, let's do something else.
    At the very beginning after installing Windows when I run this code to remove all Apps, how can I change the code so every time it checks if the given App is NOT Store, then delete it?

    Get-AppxPackage -AllUsers | Remove-AppxPackage
      My Computer


  4. Posts : 30,192
    Windows 11 Pro x64 Version 23H2
       #4

    Sorry, I'm not a powershell script writer.

    Wish I had kept link to that thread. I just ignore the stuff I don't use, the apps I use are on my task bar.

    I would think, just not sure how the file would look, that you would copy all those removal lines in the tutorial into a file excluding the Store. I believe powershell script files would have the ps1 extension. Google likely has the details.

    If I see that thread I will post back here.

    Did a quick google search and found lots of ideas. This might be what you are looking for. I did not test.

    How to uninstall Apps using Powershell

    When I googled I used the search

    site:tenforums.com powershell script to remove apps

    the site:tenforums.com limits google to only this forum
      My Computer


  5. Posts : 174
    Windows 10 Enterprise x64 1709
    Thread Starter
       #5

    WoW Thanks Dudeee,
    It was a great help, you pointed to the:
    Code:
    Get-AppxPackage -AllUsers | Remove-AppxPackage | where {$_.Name -notlike "*Store*"}
    Which seems the exact thing I wanna :)
      My Computer


  6. Posts : 30,192
    Windows 11 Pro x64 Version 23H2
       #6

    Glad the forum could help.
      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 11:16.
Find Us




Windows 10 Forums