Forcing MS Store apps updates

Oleg K 136 Reputation points
2022-07-03T18:09:47.337+00:00

Our vulnerability scanning software is finding a bunch of workstations with unpatched Photos, codecs and other apps that usually come and update via MS Store. It is around 10% of a whole fleet. After a bit of tinkering we are guessing that it doesn't update on its own if user never opened Store and logged in via SSO to M365 account. Although it seems unlikely that 90% of users were opening Store. It could also be something related to VPN/proxy/network, but we don't see a viable pattern.

We have Store for Business. It is managed by another team which we can reach out to if needed (they manage whole M365 service). Intune is not currently in use and i only know that they are preparing to test Autopilot. It might be possible to do something in Intune, if we find correct people with access, etc.

Tried looking whether it is possible to somehow install updates "offline", by downloading some package, pushing it via deployment tools, maybe with some script. Haven't found anything yet.

Does anyone have any working solution to achieve that. Scripts, Intune policy, something else? Other than asking thousands of users to open Store and login :)

Windows for business | Windows Client for IT Pros | User experience | Other
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Carlos Solís Salazar 18,191 Reputation points MVP Volunteer Moderator
    2022-07-10T13:01:08.23+00:00

    Hi @Oleg K

    Thank you for asking this question on the **Microsoft Q&A Platform. **

    I understand that you want to update the apps in the MS Store without user interaction.

    I found two viable solutions:

    1. you can run the following script $namespaceName = "root\cimv2\mdm\dmmap"
      $className = "MDM_EnterpriseModernAppManagement_AppManagement01"
      $wmiObj = Get-WmiObject -Namespace $namespaceName -Class $className
      $result = $wmiObj.UpdateScanMethod()

    Source: https://social.technet.microsoft.com/Forums/windows/en-US/5ac7daa9-54e6-43c0-9746-293dcb8ef2ec/how-to-force-update-of-windows-store-apps-without-launching-the-store-app?forum=win10itprosetup

    1. You can update apps via Winget, I use these options, and because the App "Photos" doesn´t require administrator privileges it can be possible. This is a post about Winget https://pureinfotech.com/update-apps-winget-windows-11/

    Hope this helps,
    Carlos Solís Salazar


    Accept Answer and Upvote, if any of the above helped, this thread can help others in the community looking for remediation for similar issues.
    NOTE: To answer you as quickly as possible, please mention me in your reply.


    1 person found this answer helpful.

  2. Oleg K 136 Reputation points
    2022-07-10T16:43:35.823+00:00

    Thanks. We will try these options and will let you know if that works.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.