mirror of
https://github.com/Sycnex/Windows10Debloater.git
synced 2024-11-15 12:13:13 +00:00
Created Enable Cortana File
This contains the code from the EnableCortana Function.
This commit is contained in:
parent
8f7ad249fb
commit
f38866cf59
17
Individual Scripts/Enable Cortana
Normal file
17
Individual Scripts/Enable Cortana
Normal file
@ -0,0 +1,17 @@
|
||||
Write-Host "Re-enabling Cortana"
|
||||
$Cortana1 = "HKCU:\SOFTWARE\Microsoft\Personalization\Settings"
|
||||
$Cortana2 = "HKCU:\SOFTWARE\Microsoft\InputPersonalization"
|
||||
$Cortana3 = "HKCU:\SOFTWARE\Microsoft\InputPersonalization\TrainedDataStore"
|
||||
If (!(Test-Path $Cortana1)) {
|
||||
New-Item $Cortana1
|
||||
}
|
||||
Set-ItemProperty $Cortana1 AcceptedPrivacyPolicy -Value 1
|
||||
If (!(Test-Path $Cortana2)) {
|
||||
New-Item $Cortana2
|
||||
}
|
||||
Set-ItemProperty $Cortana2 RestrictImplicitTextCollection -Value 0
|
||||
Set-ItemProperty $Cortana2 RestrictImplicitInkCollection -Value 0
|
||||
If (!(Test-Path $Cortana3)) {
|
||||
New-Item $Cortana3
|
||||
}
|
||||
Set-ItemProperty $Cortana3 HarvestContacts -Value 1
|
Loading…
Reference in New Issue
Block a user