如何更改 Win7/8/10 的 WiFi 適配器 MAC 位址?網路介面卡「進階」標籤缺少「網路位址」字段

如何更改 Win7/8/10 的 WiFi 適配器 MAC 位址?網路介面卡「進階」標籤缺少「網路位址」字段

Network Address當選項卡下沒有選項時,如何更改無線適配器MAC位址Advanced

我已按照步驟操作Device manager -> Network adapters -> properties -> Advanced,但沒有“網路位址”或類似選項。

作業系統:Win 7 Pro

答案1

答案有點晚了,但在這裡添加這個以供未來的訪客和我自己的參考。

可以Network Address透過修改註冊表來手動新增缺少的欄位。找到以下註冊表​​項路徑:

HKLM\SYSTEM\CurrentControlSet\Control\Class{4D36E972-E325-11CE-BFC1-08002BE10318}\00xx\NDI\params

其中00xx會替換為與您感興趣的網路介面卡關聯的數字鍵(透過檢查DriverDesc字串值進行搜尋)。在下面params建立一個新的子項目NetworkAddress。在 下方新增以下字串值NetworkAddress

"optional"="1"
"type"="edit"
"uppercase"="1"
"limittext"="12"
"paramdesc"="Network Address"

現在再次檢查選項Advance卡,Network Address現在應該顯示在那裡。請注意,更改 MAC 時請確保其以 、0206開頭0A,否則0E可能無法運作。似乎是 Windows 的限製或限制。 (請參閱另一個答案

以下是完整的 .reg 檔案範例,該檔案將Network Address欄位新增至相關 NIC:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E972-E325-11CE-BFC1-08002BE10318}\0009\NDI\params\NetworkAddress]
"optional"="1"
"type"="edit"
"uppercase"="1"
"limittext"="12"
"paramdesc"="Network Address"

就我而言,我的 wifi 適配器恰好處於開啟狀態0009。更改它以適合您的特定機器。

答案2

您「無法」更改 MAC 位址,它是由製造商硬編碼的 48 位元序列,應該類似於汽車上的 VIN,專門標識該汽車或在我們的例子中是網路適配器。

話雖如此,這裡是另一個問題的鏈接,其中列出了多個 MAC 欺騙程序。更改此設定的能力取決於您的網路驅動程序,並非所有驅動程式都為您提供該選項。如果屬性中沒有「進階」選項,則您的網路卡可能不允許欺騙。 將 Broadcom 無線適配器 MAC 位址變更為任何位址

http://www.wikihow.com/Spoof-a-MAC-Address

http://www.howtogeek.com/192173/how-and-why-to-change-your-mac-address-on-windows-linux-and-mac/

還沒有嘗試下載這個並對其運行病毒掃描(這可能會在更改註冊表項時發出警告),但它看起來很有希望http://snaked-bytes.blogspot.com/2011/12/how-to-change-your-mac-address-in.html。由於它確實更改了註冊表項,因此看起來像這裡http://snaked-bytes.blogspot.com/2011/12/how-to-change-your-mac-address-in.html你也許能找到你的。

答案3

我在 Windows 10 中遇到了同樣的問題。請看下面的步驟,

  1. 開啟註冊表編輯器。為此,請按 (Win+r),然後在對話方塊中鍵入登錄編輯器並按 Enter 鍵。

  2. 然後找到以下註冊表​​項

    **HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E972-E325-11CE-BFC1-08002bE10318}**
    
  3. 然後搜尋名為 0000、0001、0002、000x 的子項,其中包含裝置中安裝的網路介面卡的詳細資訊。

  4. 如果您沒有取得參數名稱 NetworkAddress,則需要在相同的子項目(假設為 0001)中建立字串值。右鍵點選子項目->新建->字串值。然後輸入 12 位數字(避免連字號、冒號)。

  5. 現在,斷開網路連線。

  6. 現在再次連接到網路。你就可以走了。

    如果需要,您可以從 cmd 提示字元中檢查 MAC 位址。輸入 getmac,您將看到您提供的新 mac 位址。

謝謝

答案4

根據greatwolf的回答,我寫了一個適合我的PowerShell腳本。 (我的裝置是 Windows 11、ASUS 筆記型電腦、MediaTek Wi-Fi 6 MT7921 無線網路卡。)此腳本將在登​​錄中尋找 Wi-Fi 適配器金鑰,然後新增網路位址字段到它。

$NetAdapterPath = 'Registry::HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4d36e972-e325-11ce-bfc1-08002be10318}'
$RegistryKey = (Get-ChildItem $NetAdapterPath -ErrorAction SilentlyContinue | Where-Object {IF (($_.Property -contains "DriverDesc") -and (Test-Path Registry::"$($_.Name)\Default")) {($_ | Get-ItemPropertyValue -Name DriverDesc) -match "Wi-Fi"} ELSE {$False}})
$parentPath = "Registry::$($RegistryKey.Name)\NDI\params"
If ((Get-ChildItem -Path $parentPath -Name) -contains "NetworkAddress") {
    Write-Output "The Wi-Fi adapter already has the ""Network Address"" field!"
} Else {
    New-Item -Path $parentPath -Name "NetworkAddress"
    New-ItemProperty -Path "$($parentPath)\NetworkAddress" -Name "ParamDesc" -Type "String" -Value "Network Address"
    New-ItemProperty -Path "$($parentPath)\NetworkAddress" -Name "optional" -Type "String" -Value "1"
    New-ItemProperty -Path "$($parentPath)\NetworkAddress" -Name "type" -Type "String" -Value "edit"
    New-ItemProperty -Path "$($parentPath)\NetworkAddress" -Name "uppercase" -Type "String" -Value "1"
    New-ItemProperty -Path "$($parentPath)\NetworkAddress" -Name "limittext" -Type "String" -Value "12"
}

相關內容