Deploy an Appx package with the K1000


We currently have a request of a client to install a Microsoft Store app, we manage the workstations using the k2000 and k1000.

Does anyone have any idea how to deploy an *.appx file/program using the k1000?

We have tried using a bat script that starts a powershell script, but we get different results constantly, primarily due to permission restrictions.

Using admin credentials with a script also doesn't work.

Lastly, after the deployment failes, Kace tells us that the software is installed succesfully.

There is a custom inventory rule checking if a file is present and the file is not present, but the K1000 thinks there.

Any suggestions, experiences or help is greatly appreciated.

1 Comment   [ + ] Show comment
  • Does the Powershell script work by itself locally? - Ziggi 3 years ago
    • Yes, it is a script that uses depency files. The script is a *.bat script that starts the powershell script. - Loei 3 years ago

Answers (2)

Posted by: SMal.tmcc 3 years ago
Red Belt

You could be running into a sysnative glich where you are executing the 32bit version of PS (C:\Windows\Syswow64\WindowsPowerShell\v1.0) instead of the 64 bit version


try uploading your ps1 file as dependency and use:

  • Thank you for your reply.
    We have tested your suggestion but it makes no difference, the application does not install. - Loei 3 years ago
    • The solution was to use Elevate64 with full privileges. (Example: DISM.exe /Online /Add-ProvisionedAppxPackage /PackagePath:C:\ProgramData\Quest\KACE\kbots_cache\packages\kbots\97\Microsoft.MinecraftEducationEdition_1.7.1.0.appxbundle /SkipLicenseā€ ) - Dirkenator 3 years ago
Posted by: BNewland 2 months ago
Yellow Belt


if($pshome -like "*syswow64*") {& (join-path ($pshome -replace"syswow64", "sysnative")\powershell.exe) -file$myinvocation.mycommand.Definition @args; exit}

$scriptpath = Split-Path $MyInvocation.MyCommand.Path -Parent

Import-Module appx

Add-AppxProvisionedPackage -Online -PackagePath "${scriptpath}\Microsoft.VCLibs.140.00_14.0.30704.0_x64__8wekyb3d8bbwe.appx" -SkipLicense

This works fine for us.

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login


This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ