Hello,
> PS C:\Windows\SystemApps> ###Install Enpoint Protection Client###
Get-AppXPackage -allusers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "C:\Windows\SystemApps\Microsoft.Windows.SecHealthUI_cw5n1h2txyewy\AppXManifest.xml"}
Add-AppxPackage : Cannot find path 'C:\Windows\SystemApps\Microsoft.Windows.SecHealthUI_cw5n1h2txyewy\AppXManifest.xml' because it does not
exist.
At line:3 char:38
...
Add-AppxPackage : Cannot find path 'C:\Windows\SystemApps\Microsoft.Windows.SecHealthUI_cw5n1h2txyewy\AppXManifest.xml' because it does not
exist.
At line:3 char:38
Add-AppxPackage : Cannot find path 'C:\Windows\SystemApps\Microsoft.Windows.SecHealthUI_cw5n1h2txyewy\AppXManifest.xml' because it does not
exist.
At line:3 char:38
PS C:\Windows\SystemApps>
Where is the AppXManifest.xml file in Windows Server 2016? 2008? 2012? 2019?
I found it on Windows 10 workstation but did not for the servers...
> ###Install Enpoint Protection Client###
Get-AppXPackage -allusers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "C:\Windows\SystemApps\Microsoft.Windows.SecHealthUI_cw5n1h2txyewy\AppXManifest.xml"}
Any permanent location for the servers?
For a simple command it works:
>
PS C:\Windows\system32> Get-AppXPackage -AllUsers
Name : winstore
Publisher : CN=Microsoft Windows, O=Microsoft Corporation, L=Redmond,
S=Washington, C=US
Architecture : Neutral
ResourceId : neutral
Version : 1.0.0.0
PackageFullName : winstore_1.0.0.0_neutral_neutral_cw5n1h2txyewy
InstallLocation : C:\Windows\WinStore
IsFramework : False
PackageFamilyName : winstore_cw5n1h2txyewy
PublisherId : cw5n1h2txyewy
PackageUserInformation : {S-1-5-21-2681147498-3025511139-3313259523-1024 [ruser018]:
Installed, S-1-5-21-2681147498-3025511139-3313259523-1025
[ruser019]: Installed,
S-1-5-21-2681147498-3025511139-3313259523-1026 [ruser020]:
Installed, S-1-5-21-2681147498-3025511139-3313259523-1027
[ruser021]: Installed...}
IsResourcePackage : False
IsBundle : False
IsDevelopmentMode : False
Name : windows.immersivecontrolpanel
Publisher : CN=Microsoft Windows, O=Microsoft Corporation, L=Redmond,
S=Washington, C=US
Architecture : Neutral
ResourceId : neutral
Version : 6.2.0.0
PackageFullName : windows.immersivecontrolpanel_6.2.0.0_neutral_neutral_cw5n1h2txyewy
InstallLocation : C:\Windows\ImmersiveControlPanel
IsFramework : False
PackageFamilyName : windows.immersivecontrolpanel_cw5n1h2txyewy
PublisherId : cw5n1h2txyewy
PackageUserInformation : {S-1-5-21-2681147498-3025511139-3313259523-1024 [ruser018]:
Installed, S-1-5-21-2681147498-3025511139-3313259523-1025
[ruser019]: Installed,
S-1-5-21-2681147498-3025511139-3313259523-1026 [ruser020]:
Installed, S-1-5-21-2681147498-3025511139-3313259523-1027
[ruser021]: Installed...}
IsResourcePackage : False
IsBundle : False
IsDevelopmentMode : False
PS C:\Windows\system32>
Thanks,
Dom