/build/static/layout/Breadcrumb_cap_w.png
02/26/2019 255 views

Hi,

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

Comments

  • Does the Powershell script work by itself locally?
    • Yes, it is a script that uses depency files. The script is a *.bat script that starts the powershell script.
      • This content is currently hidden from public view.
        Reason: Removed by member request For more information, visit our FAQ's.
  • This content is currently hidden from public view.
    Reason: Removed by member request For more information, visit our FAQ's.

All Answers

0

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

http://www.samlogic.net/articles/sysnative-folder-64-bit-windows.htm

try uploading your ps1 file as dependency and use:



Answered 02/26/2019 by: SMal.tmcc
Red Belt

  • Thank you for your reply.
    We have tested your suggestion but it makes no difference, the application does not install.
    • 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ā€ )