PowerShell command to check if Microsoft Store is installed


  1. Posts : 31
    W10 N LTSC 2019
       #1

    PowerShell command to check if Microsoft Store is installed


    As title says, I'd like to know if there is such command.
      My Computer

  2. pparks1's Avatar
    Posts : 1,825
    Windows 10 Pro
       #2

    Here you go
    PowerShell command to check if Microsoft Store is installed-image.png
      My Computers


  3. Posts : 31
    W10 N LTSC 2019
    Thread Starter
       #3

    pparks1 said:
    Here you go
    PowerShell command to check if Microsoft Store is installed-image.png
    It doesn't return me anything, so I guess I don't have it installed? It's interesting, because I was able to install HP Smart on this PC from "Devices and Printers", while I can't reproduce that on another PC, where I get an error.
      My Computer

  4. Ztruker's Avatar
    Posts : 13,555
    Windows 10 Pro X64 21H1 19043.1043
       #4

    Off topic, but if I enter just Get-Package I get a complete list of all installed packages. Is there a way to format that so I get just the name and Version for all packages?

    Name: Microsoft.WindowsStore Version : 12009.1001.1.0

    Get-Package -AllVersions gives me sort of what I want:

    Code:
    PS C:\Users\ztruk\PowerShellScripts> Get-Package -AllVersions
    
    Name                           Version          Source                           ProviderName
    ----                           -------          ------                           ------------
    7-Zip 19.00 (x64)              19.00                                             Programs
    CCleaner                       5.69                                              Programs
    Microsoft Office Enterprise... 12.0.6612.1000   C:\Program Files (x86)\Micros... msi
    Microsoft Office OneNote MU... 12.0.6612.1000   C:\Program Files (x86)\Micros... msi
    MirrorFolder 5.1.320.152 (R... 5.1.320.152                                       Programs
    Microsoft Office Groove Set... 12.0.6612.1000   C:\Program Files (x86)\Micros... msi
    Everything 1.4.1.935 (x64)     1.4.1.935                                         Programs
    Microsoft Office InfoPath M... 12.0.6612.1000   C:\Program Files (x86)\Micros... msi
    Microsoft Office Access MUI... 12.0.6612.1000   C:\Program Files (x86)\Micros... msi
    Greenshot 1.2.10.6             1.2.10.6                                          Programs
    IrfanView 4.54 (64-bit)        4.54                                              Programs
    Microsoft Office Shared Set... 12.0.6612.1000   C:\Program Files (x86)\Micros... msi
    Microsoft Office Excel MUI ... 12.0.6612.1000   C:\Program Files (x86)\Micros... msi
    Macrium Reflect Home Edition   7.2                                               Programs
      My Computers

  5. dalchina's Avatar
    Posts : 31,294
    Win 10 Pro (1903)
       #5

    If your Store really is missing - how did that happen? Did you remove it somehow?

    If it's a 'random' event, I'd start to wonder what else is wrong... and perform some basic checks.

    This thread includes attempts to restore it (no pun intended)
    I completely uninstalled microsoft Store, now I want it back.

    without performing an in-place upgrade repair install which keeps all progs and data and needs an iso (or perhaps bootable disk) of the same build as you currently have.

    Note you can also try re-registering it first (tutorial available).
      My Computers


  6. Posts : 31
    W10 N LTSC 2019
    Thread Starter
       #6

    dalchina said:
    If your Store really is missing - how did that happen? Did you remove it somehow?

    If it's a 'random' event, I'd start to wonder what else is wrong... and perform some basic checks.

    This thread includes attempts to restore it (no pun intended)
    I completely uninstalled microsoft Store, now I want it back.

    without performing an in-place upgrade repair install which keeps all progs and data and needs an iso (or perhaps bootable disk) of the same build as you currently have.

    Note you can also try re-registering it first (tutorial available).
    There was never a store in the first place, since I'm using LTSC version, and I DO NOT want the Microsoft Store installed. What I'm trying to understand is why I could install HP Smart app without having the store installed on one system, while I couldn't on another one.
      My Computer

  7. dalchina's Avatar
    Posts : 31,294
    Win 10 Pro (1903)
       #7

    Ah- LTSC - thanks. Not too many posts about those, and had recently been involved with a thread about the Store missing.
      My Computers


 

  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 18:06.
Find Us




Windows 10 Forums