![]() For installing pre-installed Microsoft apps, both -SkipLicense parameter and downloading from someone's GitHub repo works, but doing this could be a potential risk of violating Microsoft's terms of service. I have seen this guy on TechNet can't even generate the license file for their own app. The trickiest part is getting the license file of Windows Store app. ps1: powershell -executionpolicy bypass -file _YOUR_SCRIPT_.ps1 ) ![]() bat script calling the powershell script, if for any reason you can't just let your managed PCs autorun. ps1 script using add-appxprovisionedpackage. Note that the this command can reinstall not just the Store app but also all other default apps that ship with Windows 10 which have been removed for some reason.Dism does support offline installation of appx packages: My one-line PS script to reinstall the Windows Store app looks very simple: Add-AppxProvisionedPackage -Online -PackagePath "X:\x86fre\Microsoft.WindowsStore_8wekyb3d8bbwe.appxbundle" –LicensePath "X:\x86fre\Microsoft.WindowsStore_8wekyb3d8bbwe.xml" The ISO also contains the ‘ NET.Native‘ and ‘ VCLibs‘ appx files, they should be required for the Windows Store installation. IMPORTANT: be careful, these ISO are depending on your Windows 10 versions. Download this ISO and use these source files. That’s why I had to find another solution: Microsoft has an ISO on VLSC (search for “ Windows 10 Inbox Apps“) containing all of the pre-installed apps. But if these apps will never be provisioned, it won’t work, like in my case. These commands could work for sure, if ‘only’ as AppXPackage will be removed. Get-AppXPackage *WindowsStore* -AllUsers | Foreach
0 Comments
Leave a Reply. |