Maliyeti Ayarla: kayıt defteri değeri CostBilgisayarHKLM\Software\Policies\Microsoft\Windows\Wireless\NetCost

İlke Kimliği
SetCost
Kapsam
Bilgisayar Yapılandırması
Desteklenen işletim sistemleri
En az Windows Server 2012, Windows 8 veya Windows RT
Kaynak
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (sürüm 1.0)
Kategori
Ağ › WLAN Hizmeti › WLAN Medya Maliyeti

Kayıt defteri

Cost

REG_DWORDBilgisayar
Etkin değeri
Seçenek değerine bağlıdır
Öğe
Şu ayarı yapmak için lütfen bir WLAN bağlantısı maliyeti değeri seçin:
Seçenekler
MaddeSaklanan değer
Kısıtlanmamış1
Sabit2
Değişken3
.reg · CMD · PowerShell ile uygula
.reg
Windows Registry Editor Version 5.00

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

; Seçenekler (yalnızca birini kullanın)
; Kısıtlanmamış
"Cost"=dword:00000001
; Sabit
"Cost"=dword:00000002
; Değişken
"Cost"=dword:00000003
CMD
:: Seçenekler (yalnızca birini kullanın)

:: Kısıtlanmamış
reg add "HKLM\Software\Policies\Microsoft\Windows\Wireless\NetCost" /v "Cost" /t REG_DWORD /d 1 /f
:: Sabit
reg add "HKLM\Software\Policies\Microsoft\Windows\Wireless\NetCost" /v "Cost" /t REG_DWORD /d 2 /f
:: Değişken
reg add "HKLM\Software\Policies\Microsoft\Windows\Wireless\NetCost" /v "Cost" /t REG_DWORD /d 3 /f
PowerShell
# Ortak: anahtarı oluştur
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\Wireless\NetCost' -Force | Out-Null

# Seçenekler (yalnızca birini kullanın)
# Kısıtlanmamış
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Wireless\NetCost' -Name 'Cost' -PropertyType DWord -Value 1 -Force | Out-Null
# Sabit
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Wireless\NetCost' -Name 'Cost' -PropertyType DWord -Value 2 -Force | Out-Null
# Değişken
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Wireless\NetCost' -Name 'Cost' -PropertyType DWord -Value 3 -Force | Out-Null