Windows Server 组策略配置记录


接续前一篇 局域网内部署 Active Directory 域服务,配置组策略以提高使用体验。

配置域组策略

在 Group Policy Management (组策略管理) 中配置 Default Domain Policy 即可 (不是 Default Domain Controllers Policy)

Microsoft Edge

Microsoft Edge 需要“下载 Windows 64 位策略”。可按照微软的文档进行配置。

{
   "policyValues": {
      "chrome": {
         "name": "Microsoft Edge Policies",
         "policies": {
            "AIGenThemesEnabled": {
               "level": "mandatory",
               "scope": "machine",
               "source": "platform",
               "value": false
            },
            "AdditionalSearchBoxEnabled": {
               "level": "mandatory",
               "scope": "machine",
               "source": "platform",
               "value": false
            },
            "AddressBarMicrosoftSearchInBingProviderEnabled": {
               "level": "mandatory",
               "scope": "machine",
               "source": "platform",
               "value": false
            },
            "AlwaysOpenPdfExternally": {
               "level": "mandatory",
               "scope": "machine",
               "source": "platform",
               "value": false
            },
            "AutomaticHttpsDefault": {
               "level": "mandatory",
               "scope": "machine",
               "source": "platform",
               "value": 0
            },
            "BackgroundModeEnabled": {
               "level": "mandatory",
               "scope": "machine",
               "source": "platform",
               "value": false
            },
            "BrowserAddProfileEnabled": {
               "level": "mandatory",
               "scope": "machine",
               "source": "platform",
               "value": false
            },
            "BrowserGuestModeEnabled": {
               "level": "mandatory",
               "scope": "machine",
               "source": "platform",
               "value": false
            },
            "ClearCachedImagesAndFilesOnExit": {
               "level": "mandatory",
               "scope": "machine",
               "source": "platform",
               "value": true
            },
            "ConfigureDoNotTrack": {
               "level": "mandatory",
               "scope": "machine",
               "source": "platform",
               "value": true
            },
            "CryptoWalletEnabled": {
               "level": "mandatory",
               "scope": "machine",
               "source": "platform",
               "value": false
            },
            "DnsOverHttpsMode": {
               "level": "mandatory",
               "scope": "machine",
               "source": "platform",
               "value": "automatic"
            },
            "DoubleClickCloseTabEnabled": {
               "level": "mandatory",
               "scope": "machine",
               "source": "platform",
               "value": false
            },
            "EdgeCollectionsEnabled": {
               "level": "mandatory",
               "scope": "machine",
               "source": "platform",
               "value": false
            },
            "EdgeEDropEnabled": {
               "level": "mandatory",
               "scope": "machine",
               "source": "platform",
               "value": false
            },
            "EdgeFollowEnabled": {
               "level": "mandatory",
               "scope": "machine",
               "source": "platform",
               "value": false
            },
            "EdgeOpenInSidebarEnabled": {
               "level": "mandatory",
               "scope": "machine",
               "source": "platform",
               "value": false
            },
            "EdgeShoppingAssistantEnabled": {
               "level": "mandatory",
               "scope": "machine",
               "source": "platform",
               "value": false
            },
            "EdgeSidebarCustomizeEnabled": {
               "level": "mandatory",
               "scope": "machine",
               "source": "platform",
               "value": false
            },
            "EdgeWalletCheckoutEnabled": {
               "level": "mandatory",
               "scope": "machine",
               "source": "platform",
               "value": false
            },
            "EdgeWalletEtreeEnabled": {
               "level": "mandatory",
               "scope": "machine",
               "source": "platform",
               "value": false
            },
            "ExemptSmartScreenDownloadWarnings": {
               "level": "mandatory",
               "scope": "machine",
               "source": "platform",
               "value": [ {
                  "domains": [ "*" ],
                  "file_extension": "exe"
               }, {
                  "domains": [ "*" ],
                  "file_extension": "msi"
               } ]
            },
            "ExternalProtocolDialogShowAlwaysOpenCheckbox": {
               "level": "mandatory",
               "scope": "machine",
               "source": "platform",
               "value": true
            },
            "FamilySafetySettingsEnabled": {
               "level": "mandatory",
               "scope": "machine",
               "source": "platform",
               "value": false
            },
            "GamerModeEnabled": {
               "level": "mandatory",
               "scope": "machine",
               "source": "platform",
               "value": false
            },
            "HideFirstRunExperience": {
               "level": "mandatory",
               "scope": "machine",
               "source": "platform",
               "value": true
            },
            "HubsSidebarEnabled": {
               "level": "mandatory",
               "scope": "machine",
               "source": "platform",
               "value": false
            },
            "ImageEditorServiceEnabled": {
               "level": "mandatory",
               "scope": "machine",
               "source": "platform",
               "value": false
            },
            "MathSolverEnabled": {
               "level": "mandatory",
               "scope": "machine",
               "source": "platform",
               "value": false
            },
            "MicrosoftEdgeInsiderPromotionEnabled": {
               "level": "mandatory",
               "scope": "machine",
               "source": "platform",
               "value": false
            },
            "NewPDFReaderEnabled": {
               "level": "mandatory",
               "scope": "machine",
               "source": "platform",
               "value": false
            },
            "NewTabPageContentEnabled": {
               "level": "mandatory",
               "scope": "machine",
               "source": "platform",
               "value": false
            },
            "NewTabPageHideDefaultTopSites": {
               "level": "mandatory",
               "scope": "machine",
               "source": "platform",
               "value": true
            },
            "NewTabPageQuickLinksEnabled": {
               "level": "mandatory",
               "scope": "machine",
               "source": "platform",
               "value": false
            },
            "PerformanceDetectorEnabled": {
               "level": "mandatory",
               "scope": "machine",
               "source": "platform",
               "value": false
            },
            "PersonalizationReportingEnabled": {
               "level": "mandatory",
               "scope": "machine",
               "source": "platform",
               "value": false
            },
            "PinBrowserEssentialsToolbarButton": {
               "level": "mandatory",
               "scope": "machine",
               "source": "platform",
               "value": false
            },
            "PromotionalTabsEnabled": {
               "level": "mandatory",
               "scope": "machine",
               "source": "platform",
               "value": false
            },
            "QRCodeGeneratorEnabled": {
               "level": "mandatory",
               "scope": "machine",
               "source": "platform",
               "value": false
            },
            "QuickSearchShowMiniMenu": {
               "level": "mandatory",
               "scope": "machine",
               "source": "platform",
               "value": false
            },
            "QuickViewOfficeFilesEnabled": {
               "level": "mandatory",
               "scope": "machine",
               "source": "platform",
               "value": false
            },
            "ScreenCaptureAllowed": {
               "level": "mandatory",
               "scope": "machine",
               "source": "platform",
               "value": false
            },
            "SearchInSidebarEnabled": {
               "level": "mandatory",
               "scope": "machine",
               "source": "platform",
               "value": 2
            },
            "SearchbarAllowed": {
               "level": "mandatory",
               "scope": "machine",
               "source": "platform",
               "value": false
            },
            "SearchbarIsEnabledOnStartup": {
               "level": "mandatory",
               "scope": "machine",
               "source": "platform",
               "value": false
            },
            "SharedLinksEnabled": {
               "level": "mandatory",
               "scope": "machine",
               "source": "platform",
               "value": false
            },
            "ShowAcrobatSubscriptionButton": {
               "level": "mandatory",
               "scope": "machine",
               "source": "platform",
               "value": false
            },
            "ShowDownloadsToolbarButton": {
               "level": "mandatory",
               "scope": "machine",
               "source": "platform",
               "value": true
            },
            "ShowHistoryThumbnails": {
               "level": "mandatory",
               "scope": "machine",
               "source": "platform",
               "value": false
            },
            "ShowMicrosoftRewards": {
               "level": "mandatory",
               "scope": "machine",
               "source": "platform",
               "value": false
            },
            "ShowRecommendationsEnabled": {
               "level": "mandatory",
               "scope": "machine",
               "source": "platform",
               "value": false
            },
            "SmartScreenEnabled": {
               "level": "mandatory",
               "scope": "machine",
               "source": "platform",
               "value": false
            },
            "SmartScreenPuaEnabled": {
               "level": "mandatory",
               "scope": "machine",
               "source": "platform",
               "value": false
            },
            "SplitScreenEnabled": {
               "level": "mandatory",
               "scope": "machine",
               "source": "platform",
               "value": false
            },
            "StandaloneHubsSidebarEnabled": {
               "level": "mandatory",
               "scope": "machine",
               "source": "platform",
               "value": false
            },
            "SuperDragDropEnabled": {
               "level": "mandatory",
               "scope": "machine",
               "source": "platform",
               "value": false
            },
            "TabServicesEnabled": {
               "level": "mandatory",
               "scope": "machine",
               "source": "platform",
               "value": false
            },
            "UploadFromPhoneEnabled": {
               "level": "mandatory",
               "scope": "machine",
               "source": "platform",
               "value": false
            },
            "VisualSearchEnabled": {
               "level": "mandatory",
               "scope": "machine",
               "source": "platform",
               "value": false
            },
            "WalletDonationEnabled": {
               "level": "mandatory",
               "scope": "machine",
               "source": "platform",
               "value": false
            },
            "WindowOcclusionEnabled": {
               "level": "mandatory",
               "scope": "machine",
               "source": "platform",
               "value": false
            }
         }
      },
      "extensions": {
      },
      "precedence": {
         "name": "Policy Precedence",
         "policies": {
         },
         "precedenceOrder": [ "平台计算机", "云计算机", "平台用户", "云用户" ]
      },
      "updater": {
         "name": "Microsoft EdgeUpdate Policies",
         "policies": {
            "EdgePreview": {
               "level": "mandatory",
               "scope": "machine",
               "source": "platform",
               "value": "false"
            },
            "TargetChannel": {
               "level": "mandatory",
               "scope": "machine",
               "source": "platform",
               "value": "stable"
            },
            "UpdaterExperimentationAndConfigurationServiceControl": {
               "level": "mandatory",
               "scope": "machine",
               "source": "platform",
               "value": "true"
            }
         }
      }
   }
}

系统

登录

设置状态
启用便捷型 PIN 登录已启用
隐藏“快速用户切换”的入口点已启用

凭据分配

设置状态
允许分配保存的凭据用于仅 NTLM 服务器身份验证已启用TERMSRV/*

Windows 组件

Microsoft Defender 防病毒

实时防护

设置状态
不论何时启用实时防护,都会启用进程扫描已禁用

Windows Defender SmartScreen

资源管理器

设置状态
配置 Windows Defender SmartScreen已禁用

Windows 安全中心

Systray

设置状态
隐藏 Windows 安全系统托盘已启用

通知

设置状态
隐藏非关键通知已启用

聊天

设置状态配置
配置任务栏上的“聊天”图标已启用已禁用

小组件

设置状态
允许小组件已禁用

自动播放策略

设置状态
关闭自动播放已启用

Windows Copilot

设置状态
关闭 Windows Copilot已启用

云内容

设置状态
请勿在 Windows 聚焦中建议第三方内容已启用
关闭“欢迎使用 Windows”体验已启用

帐户通知

设置状态
在“开始”菜单中关闭帐户通知已启用