Get Calculator back

%3CLINGO-SUB%20id%3D%22lingo-sub-2246543%22%20slang%3D%22en-US%22%3EGet%20Calculator%20back%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2246543%22%20slang%3D%22en-US%22%3E%3CP%3EI%20have%20acciddentally%20removed%20the%20Windows%20Calculator%20from%20my%20image%2C%20using%20the%20virtual%20desktop%20optimization%20tool.%20How%20do%20i%20get%20it%20back%20in%20my%20image%20and%20hosts%2C%20for%20all%20users%3F%20I%20can%20manually%20install%20it%2C%20after%20enabling%20the%20right%20services%20and%20logging%20in%20to%20the%20store%20as%20a%20user%2C%20but%20then%20the%20calculator%20is%20only%20available%20for%20that%20user.%20Need%20some%20help%20%3A)%3C%2Fimg%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Contributor

I have accidentally removed the Windows Calculator from my image, using the virtual desktop optimization tool. How do i get it back in my image and hosts, for all users? I can manually install it, after enabling the right services and logging in to the store as a user, but then the calculator is only available for that user. Need some help :)

1 Reply

@Mtollex70 

If you've accidentally removed an appx using the WVD optimization tool and MS Store doesn't work for you follow this:

  1. Go here to get the appx bundle.  Microsoft Store - Generation Project (v1.2.1) [by @rgadguard & mkuba50] (rg-adguard.net)
    1. This site exposes the appxbundle and dependencies of MS Store apps. 
  2. Input the URL of the MS Store Appx into the search.
  3. You can get the Store URL from the AppxPackages.json file from the WVD Optimization Configuration Files folder.
  4. For example- Groove is:
    1. "AppxPackage": "Microsoft.ZuneMusic",
    2.     "VDIState": "Disabled",
    3.     "URL": "https://www.microsoft.com/en-us/p/groove-music/9wzdncrfj3pt
  5.  

Example and will look like this:

 

SharpShooterKansasKid_0-1620699557723.png

 

 

Download a recent .appxbundle. you only need the most recent.

It shows the dependencies but most likely the are already on the WVD so start with appxbundle

It will download as a long guid.  Copy the name/url from the site on the left and rename the downloaded guid to the url name:

Run powershell with admin credentials and run DISM:

DISM.EXE /Online /Add-ProvisionedAppxPackage /PackagePath:c\temp\Microsoft.ZuneMusic_2019.18052.11112.0_neutral_~_8wekyb3d8bbwe.appxbundle /SkipLicense

SharpShooterKansasKid_1-1620699557727.png

 

Warning: if you run just add-appxpackage it won’t install for all users.