Policy

Enable Windows Package Manager command line interfaces

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.

Policy
Pack Microsoft Windows
Category Windows Components / Desktop App Installer
Policy ID 55946363cceb
Internal name EnableWindowsPackageManagerCommandLineInterfaces

Registry

Copy registry mappings

HKLM\Software\Policies\Microsoft\Windows\AppInstaller\EnableWindowsPackageManagerCommandLineInterfaces (enabled) = 1
HKLM\Software\Policies\Microsoft\Windows\AppInstaller\EnableWindowsPackageManagerCommandLineInterfaces (disabled) = 0

Policy notes

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.

Related policies