疑難排解: 允許使用者存取建議的疑難排解方法以解決已知問題 的登錄值 TroubleshootingAllowRecommendations電腦HKLM\Software\Policies\Microsoft\Windows\Troubleshooting\AllowRecommendations

原則 ID
TroubleshootingAllowRecommendations
適用範圍
電腦設定
支援的作業系統
至少需要 Windows Server 2016、Windows 10 1903 版
來源
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (版本 1.0)
類別
系統 › 疑難排解與診斷 › Microsoft 支援服務診斷工具

登錄

TroubleshootingAllowRecommendations

-電腦

TroubleshootingAllowRecommendations

REG_DWORD電腦
啟用時的值
取決於選項值
元素
允許 Microsoft 針對已知問題提供建議的疑難排解方法
選項
項目儲存的值
不允許使用者、系統功能或 Microsoft 套用疑難排解。0
只針對系統功能和 Microsoft 自動套用重大問題的疑難排解。1
自動針對系統功能和 Microsoft 的嚴重問題套用疑難排解。在可取得其他問題的疑難排解時通知使用者,並允許使用者選擇套用或略過。2
自動套用系統功能與 Microsoft 所造成的嚴重問題及其他問題的疑難排解。疑難排解解決問題時通知使用者。3
透過系統功能和 Microsoft 自動對關鍵問題和其他問題套用疑難排解。當疑難排解解決問題時,請勿通知使用者。4
讓使用者自行選擇疑難排解設定。5
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Troubleshooting\AllowRecommendations]

; 選項 (只使用其中一個)
; 不允許使用者、系統功能或 Microsoft 套用疑難排解。
"TroubleshootingAllowRecommendations"=dword:00000000
; 只針對系統功能和 Microsoft 自動套用重大問題的疑難排解。
"TroubleshootingAllowRecommendations"=dword:00000001
; 自動針對系統功能和 Microsoft 的嚴重問題套用疑難排解。在可取得其他問題的疑難排解時通知使用者,並允許使用者選擇套用或略過。
"TroubleshootingAllowRecommendations"=dword:00000002
; 自動套用系統功能與 Microsoft 所造成的嚴重問題及其他問題的疑難排解。疑難排解解決問題時通知使用者。
"TroubleshootingAllowRecommendations"=dword:00000003
; 透過系統功能和 Microsoft 自動對關鍵問題和其他問題套用疑難排解。當疑難排解解決問題時,請勿通知使用者。
"TroubleshootingAllowRecommendations"=dword:00000004
; 讓使用者自行選擇疑難排解設定。
"TroubleshootingAllowRecommendations"=dword:00000005
CMD
:: 選項 (只使用其中一個)

:: 不允許使用者、系統功能或 Microsoft 套用疑難排解。
reg add "HKLM\Software\Policies\Microsoft\Windows\Troubleshooting\AllowRecommendations" /v "TroubleshootingAllowRecommendations" /t REG_DWORD /d 0 /f
:: 只針對系統功能和 Microsoft 自動套用重大問題的疑難排解。
reg add "HKLM\Software\Policies\Microsoft\Windows\Troubleshooting\AllowRecommendations" /v "TroubleshootingAllowRecommendations" /t REG_DWORD /d 1 /f
:: 自動針對系統功能和 Microsoft 的嚴重問題套用疑難排解。在可取得其他問題的疑難排解時通知使用者,並允許使用者選擇套用或略過。
reg add "HKLM\Software\Policies\Microsoft\Windows\Troubleshooting\AllowRecommendations" /v "TroubleshootingAllowRecommendations" /t REG_DWORD /d 2 /f
:: 自動套用系統功能與 Microsoft 所造成的嚴重問題及其他問題的疑難排解。疑難排解解決問題時通知使用者。
reg add "HKLM\Software\Policies\Microsoft\Windows\Troubleshooting\AllowRecommendations" /v "TroubleshootingAllowRecommendations" /t REG_DWORD /d 3 /f
:: 透過系統功能和 Microsoft 自動對關鍵問題和其他問題套用疑難排解。當疑難排解解決問題時,請勿通知使用者。
reg add "HKLM\Software\Policies\Microsoft\Windows\Troubleshooting\AllowRecommendations" /v "TroubleshootingAllowRecommendations" /t REG_DWORD /d 4 /f
:: 讓使用者自行選擇疑難排解設定。
reg add "HKLM\Software\Policies\Microsoft\Windows\Troubleshooting\AllowRecommendations" /v "TroubleshootingAllowRecommendations" /t REG_DWORD /d 5 /f
PowerShell
# 共通: 建立機碼
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\Troubleshooting\AllowRecommendations' -Force | Out-Null

# 選項 (只使用其中一個)
# 不允許使用者、系統功能或 Microsoft 套用疑難排解。
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Troubleshooting\AllowRecommendations' -Name 'TroubleshootingAllowRecommendations' -PropertyType DWord -Value 0 -Force | Out-Null
# 只針對系統功能和 Microsoft 自動套用重大問題的疑難排解。
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Troubleshooting\AllowRecommendations' -Name 'TroubleshootingAllowRecommendations' -PropertyType DWord -Value 1 -Force | Out-Null
# 自動針對系統功能和 Microsoft 的嚴重問題套用疑難排解。在可取得其他問題的疑難排解時通知使用者,並允許使用者選擇套用或略過。
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Troubleshooting\AllowRecommendations' -Name 'TroubleshootingAllowRecommendations' -PropertyType DWord -Value 2 -Force | Out-Null
# 自動套用系統功能與 Microsoft 所造成的嚴重問題及其他問題的疑難排解。疑難排解解決問題時通知使用者。
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Troubleshooting\AllowRecommendations' -Name 'TroubleshootingAllowRecommendations' -PropertyType DWord -Value 3 -Force | Out-Null
# 透過系統功能和 Microsoft 自動對關鍵問題和其他問題套用疑難排解。當疑難排解解決問題時,請勿通知使用者。
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Troubleshooting\AllowRecommendations' -Name 'TroubleshootingAllowRecommendations' -PropertyType DWord -Value 4 -Force | Out-Null
# 讓使用者自行選擇疑難排解設定。
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Troubleshooting\AllowRecommendations' -Name 'TroubleshootingAllowRecommendations' -PropertyType DWord -Value 5 -Force | Out-Null