Disable Cortana
The following PowerShell script can be used to disable Cortana in Windows 10. The “AllowCortana” -Value can be changed to 1 to re-enable Cortana. In order for this to run you must run Power Shell as an Administrator and you …
The following PowerShell script can be used to disable Cortana in Windows 10. The “AllowCortana” -Value can be changed to 1 to re-enable Cortana.
In order for this to run you must run Power Shell as an Administrator and you will want to bypass the default “Restricted” execution policy for scripts in Power Shell using the following command. This does not make any configuration changes as the “Unrestricted” option is only for the session, once it is closed the “Restricted” execution policy is still in place.
Set-ExecutionPolicy Unrestricted -Scope Process
With the execution policy items out of the way you can run the Power Shell ISE and an Administrator and then copy and paste the code below into the editor and then run it.
$path = "HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search" IF(!(Test-Path -Path $path)) { New-Item -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows" -Name "Windows Search" } Set-ItemProperty -Path $path -Name "AllowCortana" -Value 0 #Restart Explorer to change it immediately Stop-Process -name explorer