讓使用者更新計量付費連線上的所有應用程式 的登錄值 MeteredUpdatesDefault電腦HKLM\Software\Policies\Microsoft\EdgeUpdate
- 原則 ID
- Pol_DefaultMeteredUpdates
- 適用範圍
- 電腦設定
- 支援的作業系統
- Microsoft Edge Update 1.3.179.5 及更新版本
- 來源
- Microsoft Edge Policy Templates (版本 155.0.4283.45)
- 類別
- Microsoft Edge 更新 › 應用程式
登錄
MeteredUpdatesDefault
REG_DWORD電腦- 啟用時的值
- 取決於選項值
- 元素
- 預設計量更新原則
| 項目 | 儲存的值 |
|---|---|
| 停用的預設計量更新 | 1 |
| 允許的預設計量更新 | 2 |
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\EdgeUpdate] ; 選項 (只使用其中一個) ; 停用的預設計量更新 "MeteredUpdatesDefault"=dword:00000001 ; 允許的預設計量更新 "MeteredUpdatesDefault"=dword:00000002
CMD
:: 選項 (只使用其中一個) :: 停用的預設計量更新 reg add "HKLM\Software\Policies\Microsoft\EdgeUpdate" /v "MeteredUpdatesDefault" /t REG_DWORD /d 1 /f :: 允許的預設計量更新 reg add "HKLM\Software\Policies\Microsoft\EdgeUpdate" /v "MeteredUpdatesDefault" /t REG_DWORD /d 2 /f
PowerShell
# 共通: 建立機碼 New-Item -Path 'HKLM:\Software\Policies\Microsoft\EdgeUpdate' -Force | Out-Null # 選項 (只使用其中一個) # 停用的預設計量更新 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\EdgeUpdate' -Name 'MeteredUpdatesDefault' -PropertyType DWord -Value 1 -Force | Out-Null # 允許的預設計量更新 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\EdgeUpdate' -Name 'MeteredUpdatesDefault' -PropertyType DWord -Value 2 -Force | Out-Null