Apps Re-register Microsoft Store app in Windows 11


  • Staff
Microsoft_Store_banner.png

Microsoft redesigned the Microsoft Store from the ground up in Windows 11, making space for more content, keeping the user experience simple and responsive. It will help you discover and install the best apps, games, movies and even special offers – like unique movie discounts for Xbox Game Pass members. All the content in the Microsoft Store is tested for security, family safety and device compatibility.

If the Microsoft Store app doesn't open, hangs, or not working correctly, then re-registering it will usually fix the issue.

See also:

This tutorial will show you how to re-register Microsoft Store app for your account or all users in Windows 10 and Windows 11.


Make sure that you have the correct time zone, date, and time set to avoid the Microsoft Store app having syncing issues.



Contents

  • Option One: Re-register Microsoft Store app for Current User
  • Option Two: Re-register Microsoft Store app for All Users


EXAMPLE: Microsoft Store app in Windows 11

Microsoft_Store.jpg





Option One

Re-register Microsoft Store app for Current User


1 Open Windows Terminal, and select Windows PowerShell.

2 Copy and paste the command below into PowerShell, and press Enter. (see screenshot below)

Get-AppXPackage *Microsoft.WindowsStore* | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml”}

3 When finished, you can close Windows Terminal if you like.

Re-register_Microsoft_Store_for_current_user.png





Option Two

Re-register Microsoft Store app for All Users


You must be signed in as an administrator to use this option.


1 Open Windows Terminal (Admin), and select Windows PowerShell.

2 Copy and paste the command below into PowerShell, and press Enter. (see screenshot below)

Get-AppxPackage -AllUsers *WindowsStore* | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}

3 When finished, you can close Windows Terminal (Admin) if you like.

Re-register_Microsoft_Store_for_all_users.png



That's it,
Shawn Brink


 

Attachments

  • Microsoft_Store_dark.png
    Microsoft_Store_dark.png
    9.2 KB · Views: 116
Last edited:

anthropos

Member
Local time
3:10 AM
Posts
3
OS
Windows 11
Is there also a way to re-install the Microsoft Store? It has a weird behavior on two of my machines that the Store starts first as preview and after closing and opening it again, it starts correctly. I first realized it because as preview, it will not retain the correct window size. The command "wsreset" and the App settings were no help here.
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    CPU
    AMD Ryzen 7 2700X, OctalCore, AM4
    Motherboard
    Gigabyte X470 Aorus Ultra Gaming
    Memory
    Corsair Vengeance LPX, 4x8GB
    Graphics Card(s)
    Gigabyte GeForce GTX 1070 8GB
    Sound Card
    Realtek ALC1220 @ AMD K17
    Monitor(s) Displays
    BenQ RL2455HM
    Screen Resolution
    1080p
    PSU
    Corsair TX650M 650W

ThrashZone

Minor Threat
Power User
VIP
Local time
8:10 PM
Posts
1,156
OS
Linux-Mint-Cinnamon-20.2 Win-7-10-11Pro's
Hi,
Now that I see it again
Any reason why you use line code instead of regular code option ?
 

My Computer

System One

  • OS
    Linux-Mint-Cinnamon-20.2 Win-7-10-11Pro's
    Computer type
    PC/Desktop
    Manufacturer/Model
    asus x3
    CPU
    10900k & 9940x & 5930k
    Motherboard
    z490-Apex & x299-Apex & x99-Sabertooth
    Memory
    Trident-Z Royal 4000c16 2x16gb & Trident-Z 3600c16 4x8gb & 3200c14 4x8gb
    Graphics Card(s)
    Titan Xp & 1080ti FTW3 & evga 980ti gaming
    Sound Card
    Onboard Realtek x3
    Monitor(s) Displays
    1-AOC G2460PG 24"G-Sync 144Hz/ 2nd 1-ASUS VG248QE 24"/ 3rd LG 43" series
    Screen Resolution
    1920-1080 not sure what the t.v is besides 43" class scales from 1920-1080 perfectly
    Hard Drives
    To many to list
    PSU
    1000p2 & 1200p2 & 850p2
    Case
    D450 x2 & 1 Test bench in cherry Entertainment center
    Cooling
    Custom water loops x3 with 2x mora 360mm rads only 980ti gaming air cooled
    Keyboard
    G710+x3
    Mouse
    Redragon x3
    Internet Speed
    xfinity gigabyte
    Browser
    Firefox
    Antivirus
    mbam pro

Brink

Administrator
Staff member
MVP
Thread Starter
Local time
8:10 PM
Posts
5,565
OS
Windows 11 Pro for Workstations
Hi,
Now that I see it again
Any reason why you use line code instead of regular code option ?

Hey mate, :-)

The line code option allows you to just click on the code to copy it to your clipboard to make it easy to paste.

Regular code box looks better, but you have to manually copy the code with a change of a mistake being made while copying.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro for Workstations
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom self build
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    16 GB (8GBx2) G.SKILL TridentZ DDR4 3200 MHz
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G75 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 980 PRO M.2,
    1TB Samsung 970 EVO Plus M.2,
    6TB WD Black WD6001FZWX
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3 wall mounted
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gbps Download and 35 Mbps Upload
    Browser
    Google Chrome
    Antivirus
    Microsoft Defender and Malwarebytes Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    Linksys EA9500 router,
    Motorola MB8611 cable modem,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Galaxy S20 Ultra 5G phone
  • Operating System
    Windows 11 Pro for Workstations
    Computer type
    Laptop
    Manufacturer/Model
    HP Spectre x360 2in1
    CPU
    i7-1065G7 3.9 GHz
    Memory
    16 GB LPDDR4-3200
    Graphics card(s)
    Intel Iris Plus
    Sound Card
    Intel SST
    Monitor(s) Displays
    13.3" 4K UWVA AMOLED multitouch
    Screen Resolution
    3840 x 2160
    Hard Drives
    512 GB PCIe NVMe M.2 SSD
    Browser
    Google Chrome
    Antivirus
    Windows Defender and Malwarebytes Premium

Brink

Administrator
Staff member
MVP
Thread Starter
Local time
8:10 PM
Posts
5,565
OS
Windows 11 Pro for Workstations
Is there also a way to re-install the Microsoft Store? It has a weird behavior on two of my machines that the Store starts first as preview and after closing and opening it again, it starts correctly. I first realized it because as preview, it will not retain the correct window size. The command "wsreset" and the App settings were no help here.
Hello, :-)

Just to verify, are all the apps include the Microsoft Store fully up to date?

 

My Computers

System One System Two

  • OS
    Windows 11 Pro for Workstations
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom self build
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    16 GB (8GBx2) G.SKILL TridentZ DDR4 3200 MHz
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G75 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 980 PRO M.2,
    1TB Samsung 970 EVO Plus M.2,
    6TB WD Black WD6001FZWX
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3 wall mounted
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gbps Download and 35 Mbps Upload
    Browser
    Google Chrome
    Antivirus
    Microsoft Defender and Malwarebytes Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    Linksys EA9500 router,
    Motorola MB8611 cable modem,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Galaxy S20 Ultra 5G phone
  • Operating System
    Windows 11 Pro for Workstations
    Computer type
    Laptop
    Manufacturer/Model
    HP Spectre x360 2in1
    CPU
    i7-1065G7 3.9 GHz
    Memory
    16 GB LPDDR4-3200
    Graphics card(s)
    Intel Iris Plus
    Sound Card
    Intel SST
    Monitor(s) Displays
    13.3" 4K UWVA AMOLED multitouch
    Screen Resolution
    3840 x 2160
    Hard Drives
    512 GB PCIe NVMe M.2 SSD
    Browser
    Google Chrome
    Antivirus
    Windows Defender and Malwarebytes Premium

anthropos

Member
Local time
3:10 AM
Posts
3
OS
Windows 11
Hello, :)

Just to verify, are all the apps include the Microsoft Store fully up to date?

Hey!
Thank you for your quick response. Yep. I keep apps on all devices updated (I check too often a day) and out of four devices two have the issue, the actual incompatible tablet and a Mini-PC have no issues, but my two desktops.

As a routine I run every few weeks (especially after patch days) "Dism.exe /Online /Cleanup-Image /RestoreHealth ; sfc /scannow" or "For %I IN ( C: D: ) do chkdsk %I /spotfix" on all devices and while checking for updates I was wondering why the Store had a wrong window size until I saw that the UI of the Store seems to switch between the current one and the old preview one. (For a better picture of what I am talking about I added two screenshots, the top left corner of the Store shows the difference aside from the window size)

Under "Security and Maintenance" there is no error related to an update, but that could mean not much since I already did an in-place repair a few weeks ago but the annoyance got not resolved.
 

Attachments

  • Screenshot 2021-11-03 024815.png
    Screenshot 2021-11-03 024815.png
    125.5 KB · Views: 60
  • Screenshot 2021-11-03 024837.png
    Screenshot 2021-11-03 024837.png
    103.8 KB · Views: 59

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    CPU
    AMD Ryzen 7 2700X, OctalCore, AM4
    Motherboard
    Gigabyte X470 Aorus Ultra Gaming
    Memory
    Corsair Vengeance LPX, 4x8GB
    Graphics Card(s)
    Gigabyte GeForce GTX 1070 8GB
    Sound Card
    Realtek ALC1220 @ AMD K17
    Monitor(s) Displays
    BenQ RL2455HM
    Screen Resolution
    1080p
    PSU
    Corsair TX650M 650W

Brink

Administrator
Staff member
MVP
Thread Starter
Local time
8:10 PM
Posts
5,565
OS
Windows 11 Pro for Workstations
@anthropos,

If you haven't already, you could try resetting the Microsoft Store app using an option below to see if it may help.

 

My Computers

System One System Two

  • OS
    Windows 11 Pro for Workstations
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom self build
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    16 GB (8GBx2) G.SKILL TridentZ DDR4 3200 MHz
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G75 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 980 PRO M.2,
    1TB Samsung 970 EVO Plus M.2,
    6TB WD Black WD6001FZWX
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3 wall mounted
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gbps Download and 35 Mbps Upload
    Browser
    Google Chrome
    Antivirus
    Microsoft Defender and Malwarebytes Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    Linksys EA9500 router,
    Motorola MB8611 cable modem,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Galaxy S20 Ultra 5G phone
  • Operating System
    Windows 11 Pro for Workstations
    Computer type
    Laptop
    Manufacturer/Model
    HP Spectre x360 2in1
    CPU
    i7-1065G7 3.9 GHz
    Memory
    16 GB LPDDR4-3200
    Graphics card(s)
    Intel Iris Plus
    Sound Card
    Intel SST
    Monitor(s) Displays
    13.3" 4K UWVA AMOLED multitouch
    Screen Resolution
    3840 x 2160
    Hard Drives
    512 GB PCIe NVMe M.2 SSD
    Browser
    Google Chrome
    Antivirus
    Windows Defender and Malwarebytes Premium

anthropos

Member
Local time
3:10 AM
Posts
3
OS
Windows 11
@anthropos,

If you haven't already, you could try resetting the Microsoft Store app using an option below to see if it may help.

No. I tried already a reset with the Settings app and now I tried the PowerShell command, but in both cases the preview UI of the Store keeps appearing which should have been removed with an update before the release of Windows 11.
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    CPU
    AMD Ryzen 7 2700X, OctalCore, AM4
    Motherboard
    Gigabyte X470 Aorus Ultra Gaming
    Memory
    Corsair Vengeance LPX, 4x8GB
    Graphics Card(s)
    Gigabyte GeForce GTX 1070 8GB
    Sound Card
    Realtek ALC1220 @ AMD K17
    Monitor(s) Displays
    BenQ RL2455HM
    Screen Resolution
    1080p
    PSU
    Corsair TX650M 650W

imanlien2020

EternalSoul
Member
Local time
8:10 PM
Posts
242
Location
USA
OS
Windows 11 Pro Version 21H2(OS Build 22000.795)
As of IDK the most recent update maybe?..IDK. Anyway I can open the Microsfot store (I am logged in) and i go to updates and ALL of them say "Something happened on our end" I cant update any of them. I have Surfshark VPN and thats it. Otherwise I have a brand new PC build that works flawless so that aint it but I ran the Powershell code you have here and this is what i get??? I cant get the Store to update and I have tried everything. It was working last week. And No I am not going to uninstall the last update. My pc runs perfect except for the Store issue. Anyone have any Ideas? and please none that require say a repair install or new install ect...I just want my apps to be able to update..and running the Microsoft store troubleshooter says I need to turn on UAC.. like really..I always have UAC off and the apps used to update. Oh yes and before I forget..I use UltraUxThemePatcher, 7tsp and themes from Niivu on Deviantart. I know ive had issues in the past where if I had the system patched for theming the store wouldnt let me download any apps. IDK if this is the issue. Because in the past if I run the DISM and SFC scans it UN-patched my system then i would restart my computer and Bam Microsoft Store worked...that is the Only thing I havent tried yet but I would like other peoples opinions and experiences with this. TY All

2021-12-09_8-51-30.png
 

My Computer

System One

  • OS
    Windows 11 Pro Version 21H2(OS Build 22000.795)
    Computer type
    PC/Desktop
    Manufacturer/Model
    AMD
    CPU
    AMD Ryzen 7 5800X 8 Core
    Motherboard
    Gigabyte X570 Aorus Pro WiFi
    Memory
    32 GB
    Graphics Card(s)
    PCI Express 3.0 x16: PowerColor RX Vega 56 Red Dragon
    Sound Card
    Realtek ALC1220 and AMD Greenland - High Definition Audio Controller
    Monitor(s) Displays
    2 - 27 inch Westinghouse
    Screen Resolution
    1920 x 1080
    Hard Drives
    2 SSD - 2 TB each
    1 HDD - 2 TB
    Keyboard
    logitech
    Mouse
    logitech
    Internet Speed
    1 GB
    Browser
    Microsoft Edge
    Antivirus
    Avast Premium

Brink

Administrator
Staff member
MVP
Thread Starter
Local time
8:10 PM
Posts
5,565
OS
Windows 11 Pro for Workstations
Hello @imanlien2020, :-)

It appears one of those theme software may have modified a system file causing this.

You could test by running SFC to see if the Store will work again like before. You can create a restore point before doing this to go back to if needed.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro for Workstations
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom self build
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    16 GB (8GBx2) G.SKILL TridentZ DDR4 3200 MHz
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G75 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 980 PRO M.2,
    1TB Samsung 970 EVO Plus M.2,
    6TB WD Black WD6001FZWX
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3 wall mounted
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gbps Download and 35 Mbps Upload
    Browser
    Google Chrome
    Antivirus
    Microsoft Defender and Malwarebytes Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    Linksys EA9500 router,
    Motorola MB8611 cable modem,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Galaxy S20 Ultra 5G phone
  • Operating System
    Windows 11 Pro for Workstations
    Computer type
    Laptop
    Manufacturer/Model
    HP Spectre x360 2in1
    CPU
    i7-1065G7 3.9 GHz
    Memory
    16 GB LPDDR4-3200
    Graphics card(s)
    Intel Iris Plus
    Sound Card
    Intel SST
    Monitor(s) Displays
    13.3" 4K UWVA AMOLED multitouch
    Screen Resolution
    3840 x 2160
    Hard Drives
    512 GB PCIe NVMe M.2 SSD
    Browser
    Google Chrome
    Antivirus
    Windows Defender and Malwarebytes Premium

imanlien2020

EternalSoul
Member
Local time
8:10 PM
Posts
242
Location
USA
OS
Windows 11 Pro Version 21H2(OS Build 22000.795)
Hello @imanlien2020, :)

It appears one of those theme software may have modified a system file causing this.

You could test by running SFC to see if the Store will work again like before. You can create a restore point before doing this to go back to if needed.
Ty will do. I actually remember ive doen that before and it fixes the files then I restarted my computer and the store worked again but I also remember those commands didnt work. so when I restarted my PC I then just repatched my system with the UltraUxThemePatcher again since even after the store didnt work. Ill see what happens.
 

My Computer

System One

  • OS
    Windows 11 Pro Version 21H2(OS Build 22000.795)
    Computer type
    PC/Desktop
    Manufacturer/Model
    AMD
    CPU
    AMD Ryzen 7 5800X 8 Core
    Motherboard
    Gigabyte X570 Aorus Pro WiFi
    Memory
    32 GB
    Graphics Card(s)
    PCI Express 3.0 x16: PowerColor RX Vega 56 Red Dragon
    Sound Card
    Realtek ALC1220 and AMD Greenland - High Definition Audio Controller
    Monitor(s) Displays
    2 - 27 inch Westinghouse
    Screen Resolution
    1920 x 1080
    Hard Drives
    2 SSD - 2 TB each
    1 HDD - 2 TB
    Keyboard
    logitech
    Mouse
    logitech
    Internet Speed
    1 GB
    Browser
    Microsoft Edge
    Antivirus
    Avast Premium
Top Bottom