設定 Office 傳送到 Microsoft 的用戶端軟體診斷資料層級 的登錄值 sendtelemetry使用者HKCU\software\policies\microsoft\office\common\clienttelemetry

原則 ID
L_SendTelemetry
適用範圍
使用者設定
支援的作業系統
至少需要 Windows Server 2008 R2 或 Windows 7
來源
Microsoft 365 Apps / Office Administrative Templates (版本 5568.1000)
類別
Microsoft Office 2016 › 隱私權 › 信任中心

登錄

sendtelemetry

REG_DWORD使用者
啟用時的值
取決於選項值
元素
診斷資料的類型:
選項
項目儲存的值
無3
選擇性2
必要1
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\software\policies\microsoft\office\common\clienttelemetry]

; 選項 (只使用其中一個)
; 無
"sendtelemetry"=dword:00000003
; 選擇性
"sendtelemetry"=dword:00000002
; 必要
"sendtelemetry"=dword:00000001
CMD
:: 選項 (只使用其中一個)

:: 無
reg add "HKCU\software\policies\microsoft\office\common\clienttelemetry" /v "sendtelemetry" /t REG_DWORD /d 3 /f
:: 選擇性
reg add "HKCU\software\policies\microsoft\office\common\clienttelemetry" /v "sendtelemetry" /t REG_DWORD /d 2 /f
:: 必要
reg add "HKCU\software\policies\microsoft\office\common\clienttelemetry" /v "sendtelemetry" /t REG_DWORD /d 1 /f
PowerShell
# 共通: 建立機碼
New-Item -Path 'HKCU:\software\policies\microsoft\office\common\clienttelemetry' -Force | Out-Null

# 選項 (只使用其中一個)
# 無
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\common\clienttelemetry' -Name 'sendtelemetry' -PropertyType DWord -Value 3 -Force | Out-Null
# 選擇性
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\common\clienttelemetry' -Name 'sendtelemetry' -PropertyType DWord -Value 2 -Force | Out-Null
# 必要
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\common\clienttelemetry' -Name 'sendtelemetry' -PropertyType DWord -Value 1 -Force | Out-Null