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

启用 Windows 程序包管理器允许的源

Download ADMX

此策略控制企业 IT 管理员允许的其他源。 如果未配置此策略,用户将能够添加或删除策略配置的源之外的其他源。 如果启用此策略,则只能从 Windows 程序包管理器中添加或删除指定的源。可使用“winget source export”从已安装的源获取每个允许的源的表示形式。 如果禁用此策略,则不能为 Windows 程序包管理器配置其他源。

Policy Details

Policy Name
EnableAllowedSources
Registry Key
Software\Policies\Microsoft\Windows\AppInstaller
Value Name
EnableAllowedSources
Supported On
At least Windows Server 2016, Windows 10 Version 1809
OMA-URI (CSP)
DesktopAppInstaller/EnableAllowedSources
OS Build Version:10.0.22621
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

Configuration Elements

允许的源:

Type: list