Policy
Enable Windows Package Manager command line interfaces
Windows 11 25H2
Policy overview
Key metadata and intent for this policy.
Supported OS tags: Windows10, Windows10RT, Windows11, WindowsServer2016
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 values
How enabled and disabled states update the registry.
| Registry location | Type | Enabled value | Disabled value |
|---|---|---|---|
| HKLM\Software\Policies\Microsoft\Windows\AppInstaller\EnableWindowsPackageManagerCommandLineInterfaces | REG_DWORD | 1 | 0 |
Policy elements
Inputs and configuration options exposed by this policy.
This policy has no additional user input fields.
Other policies in this category
Explore related policies at the same level.
- ComputerEnable App InstallerAt least Windows Server 2016, Windows 10 Version 1809
- ComputerEnable App Installer Additional SourcesAt least Windows Server 2016, Windows 10 Version 1809
- ComputerEnable App Installer Allowed SourcesAt least Windows Server 2016, Windows 10 Version 1809
- ComputerEnable App Installer Default SourceAt least Windows Server 2016, Windows 10 Version 1809
- ComputerEnable App Installer Experimental FeaturesAt least Windows Server 2016, Windows 10 Version 1809
- ComputerEnable App Installer Hash OverrideAt least Windows Server 2016, Windows 10 Version 1809
- ComputerEnable App Installer Local Archive Malware Scan OverrideAt least Windows Server 2016, Windows 10 Version 1809
- ComputerEnable App Installer Local Manifest FilesAt least Windows Server 2016, Windows 10 Version 1809
- ComputerEnable App Installer Microsoft Store SourceAt least Windows Server 2016, Windows 10 Version 1809
- ComputerEnable App Installer Microsoft Store Source Certificate Validation BypassAt least Windows Server 2016, Windows 10 Version 1809
- ComputerEnable App Installer ms-appinstaller protocolAt least Windows Server 2016, Windows 10 Version 1809
- ComputerEnable App Installer SettingsAt least Windows Server 2016, Windows 10 Version 1809