Apps Re-register Microsoft Store app in Windows 11

  • Thread starter Thread starter Brink
  • Start date Published: Start date Updated Updated:
  • Tags Tags
    store

Microsoft_Store_banner.png

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

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.

Reference:

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


 
Last edited:
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 My Computer

At a glance

Windows 11AMD Ryzen 7 2700X, OctalCore, AM4Corsair Vengeance LPX, 4x8GBGigabyte GeForce GTX 1070 8GB
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
Zowie XL LCD, BenQ RL2455HM
Screen Resolution
1080p
PSU
Corsair TX650M 650W
Hi,
Now that I see it again
Any reason why you use line code instead of regular code option ?
 

My Computer My Computer

At a glance

Win-7-10-11Pro's10900k & 9940x & 5930kTrident-Z Royal 4000c16 2x16gb & Trident-Z 36...Titan Xp & 1080ti FTW3 & evga 980ti gaming
OS
Win-7-10-11Pro's
Computer type
PC/Desktop
Manufacturer/Model
Acer 17" Nitro 7840sn/ 2x16gb 5600c40/ 4060/ stock 1tb-os/ 4tb sn850x
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
2-WD-sn850x 4tb/ 970evo+500gb/ 980 pro 2tb.
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
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 My Computers

  • At a glance

    Windows 11 Pro for WorkstationsIntel i7-8700K 5 GHz64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600...ASUS ROG-STRIX-GTX1080TI-O11G-GAMING (11GB GD...
    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
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING (11GB GDDR5X)
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G75 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO M.2,
    TerraMaster F8 SSD Plus NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3 wall mounted
    Cooling
    Corsair Hydro H115i
    Keyboard
    Amazon Basics Wired Full Keyboard MD005
    Mouse
    Logitech MX Master 4
    Internet Speed
    2 Gbps Download and 100 Mbps Upload
    Browser
    Chrome and Edge
    Antivirus
    Microsoft Defender
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    CyberPower CP1500PFCLCD
    Galaxy S23 Plus phone
  • At a glance

    Windows 11 ProSnapdragon X Elite (12 core) 3.42 GHz16 GB LPDDR5x-7467 MHz
    Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Surface Laptop 7 Copilot+ PC
    CPU
    Snapdragon X Elite (12 core) 3.42 GHz
    Memory
    16 GB LPDDR5x-7467 MHz
    Monitor(s) Displays
    15" HDR
    Screen Resolution
    2496 x 1664
    Hard Drives
    1 TB SSD
    Internet Speed
    Wi-Fi 7 and Bluetooth 5.4
    Browser
    Chrome and Edge
    Antivirus
    Microsoft Defender
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 My Computers

  • At a glance

    Windows 11 Pro for WorkstationsIntel i7-8700K 5 GHz64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600...ASUS ROG-STRIX-GTX1080TI-O11G-GAMING (11GB GD...
    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
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING (11GB GDDR5X)
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G75 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO M.2,
    TerraMaster F8 SSD Plus NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3 wall mounted
    Cooling
    Corsair Hydro H115i
    Keyboard
    Amazon Basics Wired Full Keyboard MD005
    Mouse
    Logitech MX Master 4
    Internet Speed
    2 Gbps Download and 100 Mbps Upload
    Browser
    Chrome and Edge
    Antivirus
    Microsoft Defender
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    CyberPower CP1500PFCLCD
    Galaxy S23 Plus phone
  • At a glance

    Windows 11 ProSnapdragon X Elite (12 core) 3.42 GHz16 GB LPDDR5x-7467 MHz
    Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Surface Laptop 7 Copilot+ PC
    CPU
    Snapdragon X Elite (12 core) 3.42 GHz
    Memory
    16 GB LPDDR5x-7467 MHz
    Monitor(s) Displays
    15" HDR
    Screen Resolution
    2496 x 1664
    Hard Drives
    1 TB SSD
    Internet Speed
    Wi-Fi 7 and Bluetooth 5.4
    Browser
    Chrome and Edge
    Antivirus
    Microsoft Defender
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: 208
  • Screenshot 2021-11-03 024837.png
    Screenshot 2021-11-03 024837.png
    103.8 KB · Views: 208

My Computer My Computer

At a glance

Windows 11AMD Ryzen 7 2700X, OctalCore, AM4Corsair Vengeance LPX, 4x8GBGigabyte GeForce GTX 1070 8GB
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
Zowie XL LCD, BenQ RL2455HM
Screen Resolution
1080p
PSU
Corsair TX650M 650W
@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 My Computers

  • At a glance

    Windows 11 Pro for WorkstationsIntel i7-8700K 5 GHz64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600...ASUS ROG-STRIX-GTX1080TI-O11G-GAMING (11GB GD...
    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
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING (11GB GDDR5X)
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G75 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO M.2,
    TerraMaster F8 SSD Plus NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3 wall mounted
    Cooling
    Corsair Hydro H115i
    Keyboard
    Amazon Basics Wired Full Keyboard MD005
    Mouse
    Logitech MX Master 4
    Internet Speed
    2 Gbps Download and 100 Mbps Upload
    Browser
    Chrome and Edge
    Antivirus
    Microsoft Defender
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    CyberPower CP1500PFCLCD
    Galaxy S23 Plus phone
  • At a glance

    Windows 11 ProSnapdragon X Elite (12 core) 3.42 GHz16 GB LPDDR5x-7467 MHz
    Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Surface Laptop 7 Copilot+ PC
    CPU
    Snapdragon X Elite (12 core) 3.42 GHz
    Memory
    16 GB LPDDR5x-7467 MHz
    Monitor(s) Displays
    15" HDR
    Screen Resolution
    2496 x 1664
    Hard Drives
    1 TB SSD
    Internet Speed
    Wi-Fi 7 and Bluetooth 5.4
    Browser
    Chrome and Edge
    Antivirus
    Microsoft Defender
@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 My Computer

At a glance

Windows 11AMD Ryzen 7 2700X, OctalCore, AM4Corsair Vengeance LPX, 4x8GBGigabyte GeForce GTX 1070 8GB
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
Zowie XL LCD, BenQ RL2455HM
Screen Resolution
1080p
PSU
Corsair TX650M 650W
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 My Computer

At a glance

Windows 11 Pro Version 23H2(OS Build 22631.4890)12-Core AMD Ryzen 9 5900X, 4950 MHz (49.5 x 100)4 - G Skill Trident Z Neo F4-3600C16-16GTZNCPCI Express 4.0 x16: PowerColor RX 6800
OS
Windows 11 Pro Version 23H2(OS Build 22631.4890)
Computer type
PC/Desktop
Manufacturer/Model
AMD
CPU
12-Core AMD Ryzen 9 5900X, 4950 MHz (49.5 x 100)
Motherboard
Gigabyte X570 Aorus Master
Memory
4 - G Skill Trident Z Neo F4-3600C16-16GTZNC
Graphics Card(s)
PCI Express 4.0 x16: PowerColor RX 6800
Sound Card
Realtek ALC1220 @ AMD K19.2 - High Definition Audio Controller
Monitor(s) Displays
2 - 27 inch Westinghouse
Screen Resolution
1920 x 1080
Hard Drives
2 SSD - 2 TB each
1 SSD - 4TB
1 HDD - 2TB
Keyboard
logitech
Mouse
logitech
Internet Speed
1 GB
Browser
Firefox
Antivirus
Eset Endpoint Security
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 My Computers

  • At a glance

    Windows 11 Pro for WorkstationsIntel i7-8700K 5 GHz64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600...ASUS ROG-STRIX-GTX1080TI-O11G-GAMING (11GB GD...
    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
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING (11GB GDDR5X)
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G75 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO M.2,
    TerraMaster F8 SSD Plus NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3 wall mounted
    Cooling
    Corsair Hydro H115i
    Keyboard
    Amazon Basics Wired Full Keyboard MD005
    Mouse
    Logitech MX Master 4
    Internet Speed
    2 Gbps Download and 100 Mbps Upload
    Browser
    Chrome and Edge
    Antivirus
    Microsoft Defender
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    CyberPower CP1500PFCLCD
    Galaxy S23 Plus phone
  • At a glance

    Windows 11 ProSnapdragon X Elite (12 core) 3.42 GHz16 GB LPDDR5x-7467 MHz
    Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Surface Laptop 7 Copilot+ PC
    CPU
    Snapdragon X Elite (12 core) 3.42 GHz
    Memory
    16 GB LPDDR5x-7467 MHz
    Monitor(s) Displays
    15" HDR
    Screen Resolution
    2496 x 1664
    Hard Drives
    1 TB SSD
    Internet Speed
    Wi-Fi 7 and Bluetooth 5.4
    Browser
    Chrome and Edge
    Antivirus
    Microsoft Defender
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 My Computer

At a glance

Windows 11 Pro Version 23H2(OS Build 22631.4890)12-Core AMD Ryzen 9 5900X, 4950 MHz (49.5 x 100)4 - G Skill Trident Z Neo F4-3600C16-16GTZNCPCI Express 4.0 x16: PowerColor RX 6800
OS
Windows 11 Pro Version 23H2(OS Build 22631.4890)
Computer type
PC/Desktop
Manufacturer/Model
AMD
CPU
12-Core AMD Ryzen 9 5900X, 4950 MHz (49.5 x 100)
Motherboard
Gigabyte X570 Aorus Master
Memory
4 - G Skill Trident Z Neo F4-3600C16-16GTZNC
Graphics Card(s)
PCI Express 4.0 x16: PowerColor RX 6800
Sound Card
Realtek ALC1220 @ AMD K19.2 - High Definition Audio Controller
Monitor(s) Displays
2 - 27 inch Westinghouse
Screen Resolution
1920 x 1080
Hard Drives
2 SSD - 2 TB each
1 SSD - 4TB
1 HDD - 2TB
Keyboard
logitech
Mouse
logitech
Internet Speed
1 GB
Browser
Firefox
Antivirus
Eset Endpoint Security

Latest Support Threads

Back
Top Bottom