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"
$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>
|
蚂蚁🐜再小也是肉🥩!