ADMX Viewer
ZH-HANT View in English
Microsoft.Policies.AppInstaller• Machine

啟用 Windows 封裝管理員命令列介面

Download ADMX

此原則會判斷使用者是否可透過命令列介面 (WinGet CLI 或 WinGet PowerShell) 使用 Windows 封裝管理員執行動作。 如果停用此原則,使用者將無法執行 Windows 封裝管理員 CLI 和 PowerShell Cmdlet。 如果啟用或未設定此原則,使用者將可以執行 Windows 封裝管理員 CLI 命令和 PowerShell Cmdlet。(未停用提供的 [啟用應用程式安裝程式] 原則)。 此原則不會覆寫 [啟用應用程式安裝程式] 原則。

Policy Details

Policy Name
EnableWindowsPackageManagerCommandLineInterfaces
Registry Key
Software\Policies\Microsoft\Windows\AppInstaller
Value Name
EnableWindowsPackageManagerCommandLineInterfaces
Supported On
At least Windows Server 2016, Windows 10 Version 1809
OMA-URI (CSP)
DesktopAppInstaller/EnableWindowsPackageManagerCommandLineInterfaces
OS Build Version:10.0.26100
CSP Version:11.0
Conflict Resolution:LastWrite
Allowed Editions:
EnterpriseEnterprise NProfessionalProfessional NEnterprise EvaluationEnterprise N EvaluationEducationEducation NEnterprise SEnterprise S NEnterprise S EvaluationEnterprise S N EvaluationPro Single LanguagePro ChinaPro WorkstationPro Workstation NPro For EducationPro For Education NEnterprisegEnterprisegnIotenterpriseIotenterprisesCloudeditionnCloudeditionIotenterpriseskIotenterpriseseval
Policy State Values
Enabled: 1
Disabled: 0