当前位置:   article > 正文

Windows预览体验计划一片空白_window预览计划空白

window预览计划空白

同时可查看我的个人博客:http://heibanbai.com.cn/posts/857a238a/

Open PowerShell as Administator.

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

命令如下:

$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

执行结果:

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>
  • 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
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/Gausst松鼠会/article/detail/161846
推荐阅读
相关标签
  

闽ICP备14008679号