Enable Windows Package Manager command line interfaces

Policy ID
EnableWindowsPackageManagerCommandLineInterfaces
Scope
Computer Configuration
Supported on
At least Windows Server 2016, Windows 10 Version 1809
Source
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (version 1.0)
Category
Windows Components › Desktop App Installer

Description

This policy determines if a user can perform an action using the Windows Package Manager through a command line interface (WinGet CLI, or WinGet PowerShell).

If you disable this policy, users will not be able execute the Windows Package Manager CLI, and PowerShell cmdlets.

If you enable, or do not configuring this policy, users will be able to execute the Windows Package Manager CLI commands, and PowerShell cmdlets. (Provided “Enable App Installer” policy is not disabled).

This policy does not override the “Enable App Installer” policy.

Registry

ComputerHKEY_LOCAL_MACHINE
  • EnableWindowsPackageManagerCommandLineInterfacesREG_DWORD

Other policies in the same category

View all policies in this category (15)