Windows预览体验计划一片空白

本文遵循BY-SA版权协议,转载请附上原文出处链接。


本文作者: 黑伴白

本文链接: http://heibanbai.com.cn/posts/857a238a/

Windows预览体验计划一片空白,具体解决方案如下:

Open PowerShell as Administator.

In the elevated PowerShell window, copy and paste the following command, all at once, and hit Enter to run it.

执行命令

1
2
3
4
5
6
$path = "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\DataCollection"
# Telemetry level: 1 - basic, 3 - full
$value = "3"
New-ItemProperty -Path $path -Name AllowTelemetry -Value $value -Type Dword -Force
New-ItemProperty -Path $path -Name MaxTelemetryAllowed -Value $value -Type Dword -Force
Restart the OS.

执行结果

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
PS C:\WINDOWS\system32> $path = "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\DataCollection"
PS C:\WINDOWS\system32> # Telemetry level: 1 - basic, 3 - full
PS C:\WINDOWS\system32> $value = "3"
PS C:\WINDOWS\system32> New-ItemProperty -Path $path -Name AllowTelemetry -Value $value -Type Dword -Force


AllowTelemetry : 3
PSPath : Microsoft.PowerShell.Core\Registry::HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Polic
ies\DataCollection
PSParentPath : Microsoft.PowerShell.Core\Registry::HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Polic
ies
PSChildName : DataCollection
PSDrive : HKLM
PSProvider : Microsoft.PowerShell.Core\Registry



PS C:\WINDOWS\system32> New-ItemProperty -Path $path -Name MaxTelemetryAllowed -Value $value -Type Dword -Force


MaxTelemetryAllowed : 3
PSPath : Microsoft.PowerShell.Core\Registry::HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\
Policies\DataCollection
PSParentPath : Microsoft.PowerShell.Core\Registry::HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\
Policies
PSChildName : DataCollection
PSDrive : HKLM
PSProvider : Microsoft.PowerShell.Core\Registry



PS C:\WINDOWS\system32>

蚂蚁🐜再小也是肉🥩!


Windows预览体验计划一片空白
http://heibanbai.com.cn/posts/857a238a/
作者
黑伴白
发布于
2021年3月12日
许可协议

“您的支持,我的动力!觉得不错的话,给点打赏吧 ୧(๑•̀⌄•́๑)૭”

微信二维码

微信支付

支付宝二维码

支付宝支付