PowerShell

How to install unsigned .Appx app package using PowerShell in Windows 10

How to install unsigned .Appx app package using PowerShell in Windows 10

Malicious programs are constantly finding new ways to harm or damage devices. Seeing these things, it would always reasonable to get apps in the Appx file format that is used by Universal Windows Platform (UWP) applications in Windows 10. It allows you to install the apps directly from the Microsoft Store.

However, sometimes you may need to install the .Appx package from outside the Windows Store. In that case, Windows 10 offers you to install it using a simple command in PowerShell. For example, let us assume that you are a software developer and you have a great app idea to work on. But before uploading it to the Store, you must have to test it properly.

In this guide, we will explain a pretty easy way to install .Appx Package With PowerShell.

Install Appx app Package with PowerShell

Enable sideloading of apps

Before you begin, make sure the sideload apps is enabled in the Windows Settings. By default, this option does available in the enabled form but sometimes it might be disabled by the administrator.

In order to check it or to change these settings, you first need to sign in as an administrator. After that, open the Windows Settings > Update & Security > For Developers. Now move to the right pane and select the radio button next to the Sideload apps.

At this time, you may receive a warning prompt while enabling app sideloading on your Windows device. To turn on app sideloading, click on the Yes button.

Use PowerShell

Once you have made the proper verification/changes, it is time to install the .Appx Package.

To do this, open an elevated PowerShell prompt in your Windows device.

In the Windows PowerShell interface, type the following text and press Enter -

Add-AppxPackage -Path "C:\Path\to\File.Appx"

In the above command-line, the respective path indicates the location of the .appx file that is stored in the subfolder directory of your device.

So, here you have to replace the Path with the exact located path of the .appx file.

Also, replace file.appx with the Universal Windows Platform file name as shown in the above snapshot. Then press Enter to run the command line.

On pressing the Enter key it will start executing the command and in a moment the app gets installed in your device.

Now you can simply click on the Start button and open the app like any other application.

That's it.

Interesting read: 10 basic PowerShell commands that every Windows 10 user should know.

Cursor jumps or moves randomly while typing in Windows 10
If you find that your mouse cursor jumps or moves on its own, automatically, randomly while typing in Windows laptop or computer, then some of these s...
How to reverse Mouse and Touchpads scrolling direction in Windows 10
Mouse and Touchpads not only make computing easy but more efficient and less time-consuming. We cannot imagine a life without these devices, but still...
How to change Mouse pointer and cursor size, color & scheme on Windows 10
The mouse pointer and cursor in Windows 10 are very important aspects of the operating system. This can be said for other operating systems as well, s...