-
Open
Powershell
as an Administrator. - Run following command to temporarily disable the
digital signature
execution policy.Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass
- Create a new powershell script
script-name.ps1
and add following content:Function DisableCortana { $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 } DisableCortana
- Run the above script to disable the Cortana service.