⚡ PowerShell 5.1+
Disable Tailored Experiences
Stops Windows from using diagnostic data to personalize tips and ads.
Set-DisableTailoredExperiences.ps1
<#
.SYNOPSIS
Disable Tailored Experiences.
.DESCRIPTION
Stops Windows from using diagnostic data to personalize tips and ads.
Sets HKCU:\Software\Microsoft\Windows\CurrentVersion\Privacy \ TailoredExperiencesWithDiagnosticDataEnabled to 0.
.EXAMPLE
.\Set-DisableTailoredExperiences.ps1
#>
[CmdletBinding()]
param()
$regPath = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Privacy'
if (-not (Test-Path $regPath)) {
New-Item -Path $regPath -Force | Out-Null
}
New-ItemProperty -Path $regPath -Name 'TailoredExperiencesWithDiagnosticDataEnabled' -Value 0 -PropertyType DWord -Force | Out-Null
Write-Host "Disable Tailored Experiences applied. Sign out and back in (or restart explorer.exe) for it to fully take effect." -ForegroundColor Green