關閉設定連結加底線 的登錄值 Anchor Underline使用者HKCU\Software\Policies\Microsoft\Internet Explorer\Main

原則 ID
UnderlineLinksPol
適用範圍
使用者設定
支援的作業系統
至少 Internet Explorer 7.0
來源
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (版本 1.0)
類別
Windows 元件 › Internet Explorer › 網際網路設定 › 進階設定 › 瀏覽

登錄

Anchor Underline

REG_SZ使用者
啟用時的值
取決於選項值
元素
連結加底線
選項
項目儲存的值
永遠顯示yes
永不停用no
暫留hover
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Main]

; 選項 (只使用其中一個)
; 永遠顯示
"Anchor Underline"="yes"
; 永不停用
"Anchor Underline"="no"
; 暫留
"Anchor Underline"="hover"
CMD
:: 選項 (只使用其中一個)

:: 永遠顯示
reg add "HKCU\Software\Policies\Microsoft\Internet Explorer\Main" /v "Anchor Underline" /t REG_SZ /d "yes" /f
:: 永不停用
reg add "HKCU\Software\Policies\Microsoft\Internet Explorer\Main" /v "Anchor Underline" /t REG_SZ /d "no" /f
:: 暫留
reg add "HKCU\Software\Policies\Microsoft\Internet Explorer\Main" /v "Anchor Underline" /t REG_SZ /d "hover" /f
PowerShell
# 共通: 建立機碼
New-Item -Path 'HKCU:\Software\Policies\Microsoft\Internet Explorer\Main' -Force | Out-Null

# 選項 (只使用其中一個)
# 永遠顯示
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Internet Explorer\Main' -Name 'Anchor Underline' -PropertyType String -Value 'yes' -Force | Out-Null
# 永不停用
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Internet Explorer\Main' -Name 'Anchor Underline' -PropertyType String -Value 'no' -Force | Out-Null
# 暫留
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Internet Explorer\Main' -Name 'Anchor Underline' -PropertyType String -Value 'hover' -Force | Out-Null