UTM icon indicating copy to clipboard operation
UTM copied to clipboard

Microsoft Store refuse to open even with the instructions listed we're made

Open gradygambrell opened this issue 2 years ago • 10 comments

Describe the issue I don't know if it's a Microsoft issue or a UTM issue, but I plan to post on Microsoft too in case.

After following the instructions via the Paralles Website to get the Microsoft Store on Windows 11 (https://kb.parallels.com/en/128520#section2), the Microsoft Store refuse to open (it will open, then it will close). Adding to that, It won't open at all without any loading or updating notices anywhere (yes, I waited for nearly 30 minutes just in case).

Here's the steps I reproduce:

(NOTE: The OS I install haves Microsoft Store installed.

  • Finish the OOBE.
  • When reach the desktop, pop in the Spice-Guest Tools and install that.
  • Restarted.
  • Update to the current Windows 11 OS, then restarted.
  • Open the website and download the .reg file.
  • Open Powershell via Admin and type the command Get-AppxPackage -Name "Microsoft.WindowsStore" -AllUsers | Remove-AppxPackage
  • Extract the ZIP file and added the regedit file. Rebooted.
  • Open Powershell again in Admin and run the command wsreset.exe -i
  • Waited.
  • Then after it installed, open the app.
  • Waited for 20-ish minutes before clicking the app again.
  • Waited 10 minutes again, before restart the VM.
  • Open the app again, then the problem occurs.

I should also note that I have a VLAN on, in case that's the problem.

Configuration

  • UTM Version: 3.1.5
  • OS Version: 12.3 (will update to 12.3.1 later)
  • Intel or Apple Silicon? Apple

Crash log NA

Debug log NA

Upload VM NA

gradygambrell avatar Apr 10 '22 00:04 gradygambrell

It's an architecture issue. Some old Windows built-in apps are still compiled for ARM32, but that doesn't run on M1 as only 64-bit is supported. Maybe Parallels is emulating an x86 version of Windows that doesn't have the issue.

JaiganeshKumaran avatar Apr 26 '22 03:04 JaiganeshKumaran

I was able to install Microsoft Store on Windows 11 ARM 64 bit version running in UTM by following the steps mentioned below (courtesy of https://techcommunity.microsoft.com/t5/windows-insider-program/microsoft-store-missing-from-windows-11-insider-preview/m-p/3066298/highlight/true#M14002 and https://www.winhelponline.com/blog/restore-windows-store-windows-10-uninstall-with-powershell/):

  1. Going to Settings > Privacy & security > For developers : Enable Install apps for any source.
  2. Visit the following website:

https://store.rg-adguard.net/

The above third-party site can generate download links (to app installers) for the chosen app. These are direct download links pointing at the official Microsoft servers.

  1. On the above page, paste the following link in the URL text box. The following is the Microsoft Store app’s official link.

https://www.microsoft.com/en-us/p/microsoft-store/9wzdncrfjbmp

  1. Select Retail (or the appropriate branch accordingly), and click the generate button. I selected RP (Release Preview) as Windows 11 on ARM is in preview

  2. As the Microsoft Store app depends on .NET Framework, .NET Runtime, and VC Libs, download the latest packages of each item listed. Be sure to download the correct ones matching the bitness (x86 vs. x64 vs arm64) of your Windows 11.

  3. Now, you would have downloaded these four Appx packages — the version numbers will vary according to the build/version of the Microsoft Store app. Since I have Windows 11 ARM 64 bit, I downloaded the following: Microsoft.VCLibs.140.00_14.0.30704.0_arm64__8wekyb3d8bbwe.Appx Microsoft.NET.Native.Runtime.2.2_2.2.28604.0_arm64__8wekyb3d8bbwe.Appx Microsoft.NET.Native.Framework.2.2_2.2.29512.0_arm64__8wekyb3d8bbwe.Appx Microsoft.WindowsStore_12107.1001.15.0_neutral___8wekyb3d8bbwe.AppxBundle There are also some files with extension BlockMap and I don't really know if they are required, but I downloaded them anyway and kept them besides the Appx files.

  4. You first need to install the .NET Runtime and .NET Framework packages by double clicking them and clicking on Install.

  5. Next you need to install the VCLibs, however, it won't install if you have Widgets running. So first, you need to turn off Widgets from Taskbar settings (right click task bar > Taskbar settings) and also end the Widgets.exe task. Then you can install the VCLibs.

  6. Finally, you can install the Windows Store AppxBundle!

It would not have been possible without the references listed above and I merely followed the instructions listed with my only contribution being step 8!

kanadgodse avatar May 27 '22 10:05 kanadgodse

@kanadgodse For safety, I would recommend that you disable app updates from the Store after installing it as it might auto-update to the ARM32 version later.

JaiganeshKumaran avatar May 28 '22 03:05 JaiganeshKumaran

Well, after installing the AppxBundle, the store automatically updated itself to the latest version. Will need to check if it uodated to ARM32 version or not. I tried this on a MacBook Pro 14 inch M1 Pro SoC. I tried a game from the store (Modern Combat 5) and it worked, although like a PowerPoint presentation. I don't think it would be an issue if the store updated itself.

kanadgodse avatar May 28 '22 04:05 kanadgodse

I tried following the steps @kanadgodse posted, but when running the Windows Store Appx Bundle, the App Installer said this:

Cannot open app package

Reason: Error in parsing the app package.

JohJakob avatar Aug 04 '22 10:08 JohJakob

Apparently, the fastest way to install the Microsoft Store is to install the Xbox app from the internet. It will tell you that the Microsoft Store is missing and offers you to install it. Worked like a charm!

JohJakob avatar Aug 04 '22 13:08 JohJakob

@JohJakob Can you clarify the steps you took? I tried on a new Windows 11 installation to download and install from https://aka.ms/XboxInstaller and it didn't fix the MS Store issue.

osy avatar Sep 04 '22 02:09 osy

@osy I downloaded it from here. In the Xbox app, there was a notice somewhere in the settings that the Windows Store is required for the best experience. There was a “Fix now” button or something like that.

JohJakob avatar Sep 17 '22 10:09 JohJakob

Did you first uninstall the built in app? I’m trying to do this myself and it seems like the Xbox app installs successfully and I can open it but Microsoft store still won’t open.

osy avatar Sep 17 '22 10:09 osy

@osy There was no Xbox app installed on my virtual machine 🤔 Try uninstalling the built-in app and reinstall it via the link above.

JohJakob avatar Sep 18 '22 15:09 JohJakob

@gradygambrell @osy solved I think here: https://dabigblob.github.io/ms-store-arm64/

DaBigBlob avatar Nov 01 '22 03:11 DaBigBlob

Your script didn't work for me, but using the .reg supplied by the wayback machine did. MS Store works now, but I still cannot launch Netflix. The behaviour of it, is the same as with MS Store in the beginning (eg the app closing after starting). Any suggestions?

second2falcon avatar Dec 20 '22 21:12 second2falcon

I just ran wsreset -i in an admin Terminal and it installed the store after a few minutes. No need to install any packages manually. source

Note: I previously had issues with apps not installing or updating, back when I used a VHDX Insider build. It looked like the Microsoft Store Install Service was crashing. I ended up switching to a stable version created with uupdump.

jackson-57 avatar Dec 25 '22 00:12 jackson-57

Current builds of Windows come with Arm64 Microsoft Store. These steps are no longer required.

pmsjt avatar Jan 04 '23 10:01 pmsjt

I was able to install Microsoft Store on Windows 11 ARM 64 bit version running in UTM by following the steps mentioned below (courtesy of https://techcommunity.microsoft.com/t5/windows-insider-program/microsoft-store-missing-from-windows-11-insider-preview/m-p/3066298/highlight/true#M14002 and https://www.winhelponline.com/blog/restore-windows-store-windows-10-uninstall-with-powershell/):

  1. Going to Settings > Privacy & security > For developers : Enable Install apps for any source.
  2. Visit the following website:

https://store.rg-adguard.net/

The above third-party site can generate download links (to app installers) for the chosen app. These are direct download links pointing at the official Microsoft servers.

  1. On the above page, paste the following link in the URL text box. The following is the Microsoft Store app’s official link.

https://www.microsoft.com/en-us/p/microsoft-store/9wzdncrfjbmp

  1. Select Retail (or the appropriate branch accordingly), and click the generate button. I selected RP (Release Preview) as Windows 11 on ARM is in preview
  2. As the Microsoft Store app depends on .NET Framework, .NET Runtime, and VC Libs, download the latest packages of each item listed. Be sure to download the correct ones matching the bitness (x86 vs. x64 vs arm64) of your Windows 11.
  3. Now, you would have downloaded these four Appx packages — the version numbers will vary according to the build/version of the Microsoft Store app. Since I have Windows 11 ARM 64 bit, I downloaded the following: Microsoft.VCLibs.140.00_14.0.30704.0_arm64__8wekyb3d8bbwe.Appx Microsoft.NET.Native.Runtime.2.2_2.2.28604.0_arm64__8wekyb3d8bbwe.Appx Microsoft.NET.Native.Framework.2.2_2.2.29512.0_arm64__8wekyb3d8bbwe.Appx Microsoft.WindowsStore_12107.1001.15.0_neutral___8wekyb3d8bbwe.AppxBundle There are also some files with extension BlockMap and I don't really know if they are required, but I downloaded them anyway and kept them besides the Appx files.
  4. You first need to install the .NET Runtime and .NET Framework packages by double clicking them and clicking on Install.
  5. Next you need to install the VCLibs, however, it won't install if you have Widgets running. So first, you need to turn off Widgets from Taskbar settings (right click task bar > Taskbar settings) and also end the Widgets.exe task. Then you can install the VCLibs.
  6. Finally, you can install the Windows Store AppxBundle!

It would not have been possible without the references listed above and I merely followed the instructions listed with my only contribution being step 8!

Works fine on 22H2

Thanks!

jorgeceballosgarcia avatar Jan 18 '23 18:01 jorgeceballosgarcia

Anyone else getting error when opening the windows security or defender thingy? "Get an app to open this 'windowsdefender' link"

varoudis avatar Feb 02 '23 15:02 varoudis

Dear @kanadgodse ,

I've just created an account on Github to thank you for this.

MarcosP1976 avatar Feb 11 '23 09:02 MarcosP1976

I've also came to thank @kanadgodse for the references and relayed info.

I now have the Microsoft Store on my virtualized Windows 11 running on a Macbook Pro.

3thanjmac avatar Feb 22 '23 05:02 3thanjmac

Current builds of Windows come with Arm64 Microsoft Store. These steps are no longer required.

Even though the Arm64 Store App has been made available, new Insider builds still have an old Arm32 Store App pre-staged in them.

If the device is capable of running Arm32, the Store App will eventually upgrade to Arm64 on its own. This is not the case on Apple Silicon, for example. Because the device can't run the Arm32 Store App, it never gets to upgrade itself to the Arm64 one.

Images should have the Arm64 Store App pre-staged by now. I'll take care of fixing this. Images with the Arm64 Store App pre-staged need none of this contorted work-around process.

pmsjt avatar Feb 23 '23 03:02 pmsjt

Current builds of Windows come with Arm64 Microsoft Store. These steps are no longer required.

Even though the Arm64 Store App has been made available, new Insider builds still have an old Arm32 Store App pre-staged in them.

If the device is capable of running Arm32, the Store App will eventually upgrade to Arm64 on its own. This is not the case on Apple Silicon, for example. Because the device can't run the Arm32 Store App, it never gets to upgrade itself to the Arm64 one.

Images should have the Arm64 Store App pre-staged by now. I'll take care of fixing this. Images with the Arm64 Store App pre-staged need none of this contorted work-around process.

Done. Any build numbered >= 25319 will have the Arm64 Store app pre-staged and should require none of the hackery here described.

image

pmsjt avatar Mar 14 '23 03:03 pmsjt

Done. Any build numbered >= 25319 will have the Arm64 Store app pre-staged and should require none of the hackery here described.

Crystalfetch doesn't list that build so it's not entirely clear what we should be getting. But according to https://betawiki.net/wiki/Windows_11_build_25319, it's a preview build of 23H2 so we should be getting that.

ilsaloving avatar Dec 07 '23 19:12 ilsaloving

https://www.microsoft.com/en-us/software-download/windowsinsiderpreviewarm64

pmsjt avatar Dec 11 '23 09:12 pmsjt