傳播延伸錯誤的資訊 的登錄值 ExtErrorInformation 等 1 個電腦HKLM\Software\Policies\Microsoft\Windows NT\Rpc

原則 ID
RpcExtendedErrorInformation
適用範圍
電腦設定
支援的作業系統
至少需要 Windows Server 2003 作業系統或 Windows XP Professional
來源
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (版本 1.0)
類別
系統 › 遠端程序呼叫

登錄

ExtErrorInformation

REG_DWORD電腦
啟用時的值
取決於選項值
元素
傳播延伸錯誤的資訊:
選項
項目儲存的值
關閉0
在例外狀況時啟動1
在例外狀況時關閉2
開啟3
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows NT\Rpc]

; 選項 (只使用其中一個)
; 關閉
"ExtErrorInformation"=dword:00000000
; 在例外狀況時啟動
"ExtErrorInformation"=dword:00000001
; 在例外狀況時關閉
"ExtErrorInformation"=dword:00000002
; 開啟
"ExtErrorInformation"=dword:00000003
CMD
:: 選項 (只使用其中一個)

:: 關閉
reg add "HKLM\Software\Policies\Microsoft\Windows NT\Rpc" /v "ExtErrorInformation" /t REG_DWORD /d 0 /f
:: 在例外狀況時啟動
reg add "HKLM\Software\Policies\Microsoft\Windows NT\Rpc" /v "ExtErrorInformation" /t REG_DWORD /d 1 /f
:: 在例外狀況時關閉
reg add "HKLM\Software\Policies\Microsoft\Windows NT\Rpc" /v "ExtErrorInformation" /t REG_DWORD /d 2 /f
:: 開啟
reg add "HKLM\Software\Policies\Microsoft\Windows NT\Rpc" /v "ExtErrorInformation" /t REG_DWORD /d 3 /f
PowerShell
# 共通: 建立機碼
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Rpc' -Force | Out-Null

# 選項 (只使用其中一個)
# 關閉
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Rpc' -Name 'ExtErrorInformation' -PropertyType DWord -Value 0 -Force | Out-Null
# 在例外狀況時啟動
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Rpc' -Name 'ExtErrorInformation' -PropertyType DWord -Value 1 -Force | Out-Null
# 在例外狀況時關閉
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Rpc' -Name 'ExtErrorInformation' -PropertyType DWord -Value 2 -Force | Out-Null
# 開啟
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Rpc' -Name 'ExtErrorInformation' -PropertyType DWord -Value 3 -Force | Out-Null

ExtErrorInfoExceptions

REG_SZ電腦
啟用時的值
取決於選項值
元素
延伸性錯誤資訊例外狀況:
值類型
REG_SZ
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows NT\Rpc]

; 值名稱與類型依照 ADMX。請自行填入下方的 <輸入值>
"ExtErrorInfoExceptions"="<輸入值>"
CMD
:: 值名稱與類型依照 ADMX。請自行填入下方的 <輸入值>

reg add "HKLM\Software\Policies\Microsoft\Windows NT\Rpc" /v "ExtErrorInfoExceptions" /t REG_SZ /d "<輸入值>" /f
PowerShell
# 值名稱與類型依照 ADMX。請自行填入下方的 <輸入值>

New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Rpc' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Rpc' -Name 'ExtErrorInfoExceptions' -PropertyType String -Value '<輸入值>' -Force | Out-Null