diff --git a/Sophia/Preset.ps1 b/Sophia/Preset.ps1 index 6307b395..be8bdf78 100644 --- a/Sophia/Preset.ps1 +++ b/Sophia/Preset.ps1 @@ -166,7 +166,7 @@ DisableTailoredExperiences # Offer tailored experiences based on the diagnostic data setting # Предлагать персонализированные возможности, основанные на выбранном параметре диагностических данных -# DisableTailoredExperiences +# EnableTailoredExperiences # Disable Bing search in the Start Menu # Отключить в меню "Пуск" поиск через Bing diff --git a/Sophia/Sophia.psm1 b/Sophia/Sophia.psm1 index 0de49eed..39ff152d 100644 --- a/Sophia/Sophia.psm1 +++ b/Sophia/Sophia.psm1 @@ -491,16 +491,12 @@ function EnableSuggestedContent # Не предлагать персонализированные возможности, основанные на выбранном параметре диагностических данных (только для текущего пользователя) function DisableTailoredExperiences { - if (-not (Test-Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\UserProfileEngagement)) - { - New-Item -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\UserProfileEngagement -Force - } New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Privacy -Name TailoredExperiencesWithDiagnosticDataEnabled -PropertyType DWord -Value 0 -Force } # Offer tailored experiences based on the diagnostic data setting # Предлагать персонализированные возможности, основанные на выбранном параметре диагностических данных -function DisableTailoredExperiences +function EnableTailoredExperiences { New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Privacy -Name TailoredExperiencesWithDiagnosticDataEnabled -PropertyType DWord -Value 1 -Force }