最近微软发布了windows11预览版,想体验一下,发现升级渠道出了点问题,解决方案如下!!

  1. 以管理员身份启动WindowsPowerShell,可以直接在搜索框中搜索,右键选择“以管理员身份运行”
  2. 运行以下命令
$path = "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\DataCollection"
$value = "3"
New-ItemProperty -Path $path -Name AllowTelemetry -Value $value -Type Dword -Force
New-ItemProperty -Path $path -Name MaxTelemetryAllowed -Value $value -Type Dword -Force

运行完截图
![1625203503494.png][1]

  1. 重启电脑

  2. 恢复正常

![1625203795204.png][2]

enter image description here
enter image description here