Set 4G Cost: registry value Cost4GComputerHKLM\Software\Policies\Microsoft\Windows\WwanSvc\NetCost

Policy ID
SetCost4G
Scope
Computer Configuration
Supported on
At least Windows Server 2012, Windows 8 or Windows RT
Source
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (version 1.0)
Category
Network › WWAN Service › WWAN Media Cost

Registry

Cost4G

REG_DWORDComputer
Enabled value
Depends on the option value
Element
Please select a 4G connection cost value to set:
Options
ItemStored value
Unrestricted1
Fixed2
Variable3
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WwanSvc\NetCost]

; Options (use only one)
; Unrestricted
"Cost4G"=dword:00000001
; Fixed
"Cost4G"=dword:00000002
; Variable
"Cost4G"=dword:00000003
CMD
:: Options (use only one)

:: Unrestricted
reg add "HKLM\Software\Policies\Microsoft\Windows\WwanSvc\NetCost" /v "Cost4G" /t REG_DWORD /d 1 /f
:: Fixed
reg add "HKLM\Software\Policies\Microsoft\Windows\WwanSvc\NetCost" /v "Cost4G" /t REG_DWORD /d 2 /f
:: Variable
reg add "HKLM\Software\Policies\Microsoft\Windows\WwanSvc\NetCost" /v "Cost4G" /t REG_DWORD /d 3 /f
PowerShell
# Common: create the key
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\WwanSvc\NetCost' -Force | Out-Null

# Options (use only one)
# Unrestricted
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WwanSvc\NetCost' -Name 'Cost4G' -PropertyType DWord -Value 1 -Force | Out-Null
# Fixed
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WwanSvc\NetCost' -Name 'Cost4G' -PropertyType DWord -Value 2 -Force | Out-Null
# Variable
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WwanSvc\NetCost' -Name 'Cost4G' -PropertyType DWord -Value 3 -Force | Out-Null