Already a NinjaOne customer? Log in to view more guides and the latest updates.

NinjaOne Patching: WinGet (Windows Package Manager) Integration Guide

reviewed by Ian Crego

Topic

This article discusses using WinGet (Microsoft Windows Package Manager) with NinjaOne.

Environment

NinjaOne Patching

Description

WinGet is the command-line tool for the Windows Package Manager. In NinjaOne, the WinGet integration installs and upgrades applications on Microsoft Windows 10 or later devices and configures patch settings for selected software. NinjaOne currently supports WinGet version 1.8.

NinjaOne currently offers over 6,000 software products for WinGet and may add more in the future.

WinGet Integration (NinjaOne, Inc., 01:22)

Select a topic to continue:

About WinGet

Microsoft WinGet allows users to discover, install, upgrade, and remove applications on Windows endpoints. In NinjaOne, this integration serves as a powerful command-line interface to Microsoft’s Windows Package Manager service.

  • System Requirements: Windows 10 2004 (build 19041) or higher is required to support NinjaOne's Windows Package Manager integration. The Windows Package Manager is available on Windows 11, modern versions of Windows 10, and Windows Server 2025 as a part of the app installer.
  • Software Availability: Not all products in the default WinGet repository will be available within NinjaOne.
  • Automatic deployment: When you have activated software patching for a policy, and the product list includes WinGet products, the NinjaOne agent will deploy a WinGet engine component to Windows 10 and later workstations.
  • Security and validation: All packages submitted to the Windows Package Manager repository undergo an approval process to ensure they comply with Windows Package Manager policies and are not known to be malicious. WinGet runs each submission through several antivirus programs. NinjaOne does not validate software packages in the repository and cannot guarantee their authenticity, security, or integrity.
  • Installation scope: The application can only be activated, deactivated, or removed. There are no additional configuration options except within policy software patching and installation settings. Once WinGet is activated, deactivating or removing the application will also remove all WinGet settings. When WinGet is deactivated, you cannot use the WinGet engine for scans and patch applications.
  • Engine Constraints: WinGet does not currently support "force close" functionality for applications during updates. You cannot install or update per-user application instances. NinjaOne currently only supports system-wide installers.

To learn more about WinGet, read Microsoft's UUse WinGet to install and manage applicationsarticle (external link).

Using WinGet in NinjaOne

Follow the steps below to add and configure software through WinGet, and manage patching for WinGet-managed applications.

Activating WinGet

You must activate the NinjaOne WinGet application before adding software.

  1. In AdministrationApps, click Add, then select winget.
  2. Click Enable if not selected by default.
Figure 1: Administration → Apps → Add app → Winget (click to enlarge)

Adding WinGet Software

After activating the NinjaOne WinGet application globally, you can activate it on the policy level, enabling users to search for any application across the WinGet and NinjaOne catalogs by vendor name, product name, or source.

  1. Navigate to AdministrationPolicies and select a Windows policy.
Figure 2: Windows policy selection (click to enlarge)
  1. Click Software in the configuration options, ensure the Software tab is selected, then click the Add Software button.
Figure 3: The Software tab (click to enlarge)
  1. On the Software Library page, click Source, then select winget. Find the desired application and click Add. When finished, click Save.
Figure 4: Adding WinGet software (click to enlarge)

Configuring WinGet Software for Patch Management

Once you have added the software to the policy, you can modify it for patch management.

Select the Software

  1. Navigate to AdministrationPolicies and open a Windows policy, or use the process described in Adding WinGet Software, above, to add the software.
  2. Click Software in the configuration options, ensure the Software tab is selected, and select the checkboxes for one or more applications. Then, click the Edit button.
Figure 5: The Software list (click to enlarge)

Configure the Software

  1. Update the patch configuration fields to your preference, then click Save.
Figure 6: Configuration options (click to enlarge)
  1. Click Save on the policy's configuration page to set the changes.
Figure 7: Save changes (click to enlarge)

Scanning for Software Updates

You can use NinjaOne to scan for new updates to WinGet-supporting software.

  1. In the device dashboard for any endpoint with WinGet software added, click the action button and select Software UpdateScan. NinjaOne performs the Windows patch management scan and updates the Activities section.
  2. View patch activities in PatchingSoftwareApproved/Rejected/Installed.

Automatically Upgrading All Applications

You can receive automatic updates for all WinGet-supported applications, saving you administrator time and enhancing application security.

Activating automatic updates will bypass all application-specific approvals or rejections and upgrade every available application that WinGet detects.

In your policy, click Software in the configuration options, make sure the General tab is selected, then scroll to the WinGet card and select the Update all available software to the latest version checkbox.

Selecting the optional Attempt to update even if the software's current version is unknown checkbox makes WinGet run with the --include-unknown command, which will upgrade packages even if the system cannot determine the current installed version.

Figure 8: Enable automatic upgrades (click to enlarge)

Additional Resources

For more information about WinGet, refer to Use WinGet to install and manage applications (external link).

FAQ

Next Steps