trešdiena, 2019. gada 10. aprīlis

How to install calculator and photoviewer if Windows store is disabled

If Windows store is disabled in AD, Windows photoviewer and calculator are not available for users. To install photoviewer and calculator. It works when Calculator and photoviewer are installed only for local users and need to be Registered for AD users.
From User context
Get-AppxPackage -User $env:UserName *photos* | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\\AppXManifest.xml"} 
From Computer context
Get-AppxPackage -AllUsers *windowscalculator* | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\\AppXManifest.xml"}
Can be done via Group policy.

Nav komentāru:

Ierakstīt komentāru