Remove "Search" app
- Windows onlyThis script improves your privacy on Windows
- Single actionThis page belongs to a script, containing basic changes to achieve a task.
- Impact: Medium
System Functionality / Data Loss Risk: Moderate
This action improves privacy with minimal impact when you run the recommended script.
This action improves privacy with some impact when you run the recommended script. - Batch (batchfile)These changes use Windows system commands to update your settings.
- Administrator rights requiredThis script requires privilege access to do the system changes
- Fully reversible
You can fully restore this action (revert back to the original behavior) using this website.
The restore/revert methods provided here can help you fix issues.
Overview
This script removes the "Search" app from Windows to improve privacy.
The search app was previously known as Microsoft.Windows.Cortana
.
This app was commonly known as Cortana 1 2 3.
It was pre-installed on older versions of Windows 10 1 2 3.
It collected personal data such as contacts, emails, calendar events, voice inputs, and searches 4.
Cortana has been retired, with end-of-support reached in 2024 5.
Microsoft.Windows.Search
is introduced in Windows 10 version 2004 6.
This app replaced Cortana's role in providing search functionality 6
Its executable, SearchApp.exe
, is located at C:\Windows\SystemApps\Microsoft.Windows.Search_cw5n1h2txyewy\SearchApp.exe
7 8.
This app powers the Windows search bar 7 8.
Community reports suggest that this app may collect data to display advertisements 9 10.
Removing these apps enhances privacy by eliminating potential data collection. It improves security by reducing the attack surface. Additionally, removing these unnecessary apps may boost system performance by freeing up resources
Removing these apps may cause the taskbar search to become unresponsive 11 12, though File Explorer search remains functional. This has been confirmed on following versions on Windows:
Windows Version | App Removed | Taskbar Search Functionality |
---|---|---|
Windows 10 Pro (19H1/1903, 19H2/1909) | Cortana | 🔴 Unresponsive |
Windows 10 Pro (20H2, 21H2, 22H2) | Search app | 🔴 Unresponsive |
Windows 11 (21H2) | Search app | 🟢 No impact |
Due to these impacts, the script does not remove Microsoft.Windows.Cortana
at all and removes Microsoft.Windows.Search
on Windows versions where it's known that it has no impact.
Overview of default preinstallation
Microsoft.Windows.Cortana
:
OS | Version | Existence |
---|---|---|
Windows 10 | 19H1 | ✅ |
Windows 10 | 19H2 | ✅ |
Windows 10 | 20H2 | ❌ |
Windows 10 | 21H2 | ❌ |
Windows 10 | 22H2 | ❌ |
Windows 11 | 21H2 | ❌ |
Windows 11 | 22H2 | ❌ |
Windows 11 | 23H2 | ❌ |
Microsoft.Windows.Search
:
OS | Version | Existence |
---|---|---|
Windows 10 | 19H1 | ❌ |
Windows 10 | 19H2 | ❌ |
Windows 10 | 20H2 | ✅ |
Windows 10 | 21H2 | ✅ |
Windows 10 | 22H2 | ✅ |
Windows 11 | 21H2 | ✅ |
Windows 11 | 22H2 | ❌ |
Windows 11 | 23H2 | ❌ |
This script is only recommended if you understand its implications.
Some non-critical or features may no longer function correctly after running this script.
This script can be fully reversed to restore changes if something goes wrong.
Sources
- Windows 10 - Apps - Windows Application Management. Microsoft Docs. (2021).
Original: https://docs.microsoft.com/en-us/windows/application-management/apps-in-windows-10
Archived: https://web.archive.org/web/20210727081048/https://docs.microsoft.com/en-us/windows/application-management/apps-in-windows-10 - AppLocker CSP - Windows Client Management. Microsoft Learn. (2023).
Original: https://learn.microsoft.com/en-us/windows/client-management/mdm/applocker-csp
Archived: https://web.archive.org/web/20231006175115/https://learn.microsoft.com/en-us/windows/client-management/mdm/applocker-csp - Get the system apps on Windows client operating system - Windows Application Management. Microsoft Learn. (2022).
Original: https://learn.microsoft.com/en-us/windows/application-management/system-apps-windows-client-os
Archived: https://web.archive.org/web/20221101233445/https://learn.microsoft.com/en-us/windows/application-management/system-apps-windows-client-os - Cortana and privacy. support.microsoft.com. (2021).
Original: https://support.microsoft.com/en-us/windows/cortana-and-privacy-47e5856e-3680-d930-22e1-71ec6cdde231
Archived: https://web.archive.org/web/20211028113404/https://support.microsoft.com/en-us/windows/cortana-and-privacy-47e5856e-3680-d930-22e1-71ec6cdde231 - End of support for Cortana - Microsoft Support. support.microsoft.com. (2024).
Original: https://support.microsoft.com/en-us/topic/end-of-support-for-cortana-d025b39f-ee5b-4836-a954-0ab646ee1efa
Archived: https://web.archive.org/web/20240814092925/https://support.microsoft.com/en-us/topic/end-of-support-for-cortana-d025b39f-ee5b-4836-a954-0ab646ee1efa - Applocker Blocking windows search functionality Win 10 - 2004 - Microsoft Community. (2023).
Original: https://answers.microsoft.com/en-us/windows/forum/all/applocker-blocking-windows-search-functionality/5509bfcc-061c-49e0-803d-6dbb1bc6a839
Archived: https://web.archive.org/web/20231007222810/https://answers.microsoft.com/en-us/windows/forum/all/applocker-blocking-windows-search-functionality/5509bfcc-061c-49e0-803d-6dbb1bc6a839 - KB5003637 Problem With Windows Search Bar - Microsoft Q&A. (2023).
Original: https://learn.microsoft.com/en-us/answers/questions/461791/kb5003637-problem-with-windows-search-bar
Archived: https://web.archive.org/web/20231007222923/https://learn.microsoft.com/en-us/answers/questions/461791/kb5003637-problem-with-windows-search-bar - Unable to start a DCOM Server - MicrosoftWindows.Client.CBS_120.2212.4170.0_x64__cw5n1h2txyewy!InputApp as Unavailable/Unavailable. Error 2147942402 (TextInputHost.exe) - Microsoft Q&A. (2023).
Original: https://learn.microsoft.com/en-us/answers/questions/842652/unable-to-start-a-dcom-server-microsoftwindows-cli
Archived: https://web.archive.org/web/20231007222844/https://learn.microsoft.com/en-us/answers/questions/842652/unable-to-start-a-dcom-server-microsoftwindows-cli?cid=kerryherger&page=2 - Windows 10 20H2 searchapp.exe - network connection - Microsoft Q&A. (2023).
Original: https://learn.microsoft.com/en-us/answers/questions/175856/windows-10-20h2-searchapp-exe-network-connection
Archived: https://web.archive.org/web/20231007222907/https://learn.microsoft.com/en-us/answers/questions/175856/windows-10-20h2-searchapp-exe-network-connection - Searchapp.exe connecting to MS for no reason. - Microsoft Q&A. (2023).
Original: https://learn.microsoft.com/en-us/answers/questions/893937/searchapp-exe-connecting-to-ms-for-no-reason
Archived: https://web.archive.org/web/20231007222922/https://learn.microsoft.com/en-us/answers/questions/893937/searchapp-exe-connecting-to-ms-for-no-reason - Windows Search Does not work at all : r/Windows10. www.reddit.com. (2024).
Original: https://www.reddit.com/r/Windows10/comments/dadm4j/windows_search_does_not_work_at_all
Archived: https://archive.ph/2024.08.15-071830/https://www.reddit.com/r/Windows10/comments/dadm4j/windows_search_does_not_work_at_all/ - Why is Windows Search no longer working after changing User Principal Name? - Server Fault. serverfault.com. (2024).
Original: https://serverfault.com/questions/1020745/why-is-windows-search-no-longer-working-after-changing-user-principal-name
Archived: https://web.archive.org/web/20240815072418/https://serverfault.com/questions/1020745/why-is-windows-search-no-longer-working-after-changing-user-principal-name
Apply Now
Choose one of three ways to apply:
Download script
Download and run the script directly- No app needed
- Offline usage
- Easy-to-apply
- Free
- Open-source
Help
How to apply or restore "Remove "Search" app" using script
- ≈ 2 min to complete
- Tools: Web Browser
- Difficulty: Simple
- ≈ 5 instructions
- 1
Download
Download the script file by clicking on thebutton above.
Use button above to restore changes. - 2
Keep the file
If warned by your browser, keep the file. - 3
Open
Open the downloaded file. - 4
Exit
Once it's done, press any key to exit the window. - 5
Restart
Restart your computer for all changes to take effect.
Apply with privacy.sexy
Guided, automated application with safety checks- Recommended for most users
- Includes safety checks
- Free
- Open-source
- Popular
- Offline/Online usage
Help
How to apply or restore "Remove "Search" app" using privacy.sexy
- ≈ 3 min to complete
- Tools: privacy.sexy
- Difficulty: Simple
- ≈ 4 instructions
- 2
Choose script
- Search for the script name: Remove "Search" app
- Check the script by clicking on the checkbox.
- 3
Run
Click on ▶️ Run button at the bottom of the page.This button only appears on desktop version (recommended). On browser, use 💾 Save button.
- Apply
- Revert
:: Enable removal of system app 'Microsoft.Windows.Search' by marking it as "EndOfLife"
:: Create "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore\EndOfLife\$CURRENT_USER_SID\Microsoft.Windows.Search_cw5n1h2txyewy" registry key
:: This operation will not run on Windows versions earlier than Windows11-21H2.
PowerShell -ExecutionPolicy Unrestricted -Command "$versionName = 'Windows11-21H2'; $buildNumber = switch ($versionName) { 'Windows11-FirstRelease' { '10.0.22000' }; 'Windows11-22H2' { '10.0.22621' }; 'Windows11-21H2' { '10.0.22000' }; 'Windows10-22H2' { '10.0.19045' }; 'Windows10-21H2' { '10.0.19044' }; 'Windows10-20H2' { '10.0.19042' }; 'Windows10-1909' { '10.0.18363' }; 'Windows10-1607' { '10.0.14393' }; default { throw "^""Internal privacy$([char]0x002E)sexy error: No build for minimum Windows '$versionName'"^""; }; }; $minVersion = [System.Version]::Parse($buildNumber); $ver = [Environment]::OSVersion.Version; $verNoPatch = [System.Version]::new($ver.Major, $ver.Minor, $ver.Build); if ($verNoPatch -lt $minVersion) { Write-Output "^""Skipping: Windows ($verNoPatch) is below minimum $minVersion ($versionName)"^""; Exit 0; }; $keyPath='HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore\EndOfLife\$CURRENT_USER_SID\Microsoft.Windows.Search_cw5n1h2txyewy'; $registryHive = $keyPath.Split('\')[0]; $registryPath = "^""$($registryHive):$($keyPath.Substring($registryHive.Length))"^""; $userSid = (New-Object System.Security.Principal.NTAccount($env:USERNAME)).Translate([Security.Principal.SecurityIdentifier]).Value; $registryPath = $registryPath.Replace('$CURRENT_USER_SID', $userSid); if (Test-Path $registryPath) { Write-Host "^""Skipping, no action needed, registry path `"^""$registryPath`"^"" already exists."^""; exit 0; }; try { New-Item -Path $registryPath -Force -ErrorAction Stop | Out-Null; Write-Host "^""Successfully created the registry key at path `"^""$registryPath`"^""."^""; } catch { Write-Error "^""Failed to create the registry key at path `"^""$registryPath`"^"": $($_.Exception.Message)"^""; }"
:: Uninstall 'Microsoft.Windows.Search' Store app
:: This operation will not run on Windows versions earlier than Windows11-21H2.
PowerShell -ExecutionPolicy Unrestricted -Command "$versionName = 'Windows11-21H2'; $buildNumber = switch ($versionName) { 'Windows11-FirstRelease' { '10.0.22000' }; 'Windows11-22H2' { '10.0.22621' }; 'Windows11-21H2' { '10.0.22000' }; 'Windows10-22H2' { '10.0.19045' }; 'Windows10-21H2' { '10.0.19044' }; 'Windows10-20H2' { '10.0.19042' }; 'Windows10-1909' { '10.0.18363' }; 'Windows10-1607' { '10.0.14393' }; default { throw "^""Internal privacy$([char]0x002E)sexy error: No build for minimum Windows '$versionName'"^""; }; }; $minVersion = [System.Version]::Parse($buildNumber); $ver = [Environment]::OSVersion.Version; $verNoPatch = [System.Version]::new($ver.Major, $ver.Minor, $ver.Build); if ($verNoPatch -lt $minVersion) { Write-Output "^""Skipping: Windows ($verNoPatch) is below minimum $minVersion ($versionName)"^""; Exit 0; }; Get-AppxPackage 'Microsoft.Windows.Search' | Remove-AppxPackage"
:: Mark 'Microsoft.Windows.Search' as deprovisioned to block reinstall during Windows updates.
:: Create "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore\Deprovisioned\Microsoft.Windows.Search_cw5n1h2txyewy" registry key
:: This operation will not run on Windows versions earlier than Windows11-21H2.
PowerShell -ExecutionPolicy Unrestricted -Command "$versionName = 'Windows11-21H2'; $buildNumber = switch ($versionName) { 'Windows11-FirstRelease' { '10.0.22000' }; 'Windows11-22H2' { '10.0.22621' }; 'Windows11-21H2' { '10.0.22000' }; 'Windows10-22H2' { '10.0.19045' }; 'Windows10-21H2' { '10.0.19044' }; 'Windows10-20H2' { '10.0.19042' }; 'Windows10-1909' { '10.0.18363' }; 'Windows10-1607' { '10.0.14393' }; default { throw "^""Internal privacy$([char]0x002E)sexy error: No build for minimum Windows '$versionName'"^""; }; }; $minVersion = [System.Version]::Parse($buildNumber); $ver = [Environment]::OSVersion.Version; $verNoPatch = [System.Version]::new($ver.Major, $ver.Minor, $ver.Build); if ($verNoPatch -lt $minVersion) { Write-Output "^""Skipping: Windows ($verNoPatch) is below minimum $minVersion ($versionName)"^""; Exit 0; }; $keyPath='HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore\Deprovisioned\Microsoft.Windows.Search_cw5n1h2txyewy'; $registryHive = $keyPath.Split('\')[0]; $registryPath = "^""$($registryHive):$($keyPath.Substring($registryHive.Length))"^""; if (Test-Path $registryPath) { Write-Host "^""Skipping, no action needed, registry path `"^""$registryPath`"^"" already exists."^""; exit 0; }; try { New-Item -Path $registryPath -Force -ErrorAction Stop | Out-Null; Write-Host "^""Successfully created the registry key at path `"^""$registryPath`"^""."^""; } catch { Write-Error "^""Failed to create the registry key at path `"^""$registryPath`"^"": $($_.Exception.Message)"^""; }"
:: Remove the registry key "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore\EndOfLife\$CURRENT_USER_SID\Microsoft.Windows.Search_cw5n1h2txyewy" (Revert 'Microsoft.Windows.Search' to its default, non-removable state.)
:: This operation will not run on Windows versions earlier than Windows11-21H2.
PowerShell -ExecutionPolicy Unrestricted -Command "$versionName = 'Windows11-21H2'; $buildNumber = switch ($versionName) { 'Windows11-FirstRelease' { '10.0.22000' }; 'Windows11-22H2' { '10.0.22621' }; 'Windows11-21H2' { '10.0.22000' }; 'Windows10-22H2' { '10.0.19045' }; 'Windows10-21H2' { '10.0.19044' }; 'Windows10-20H2' { '10.0.19042' }; 'Windows10-1909' { '10.0.18363' }; 'Windows10-1607' { '10.0.14393' }; default { throw "^""Internal privacy$([char]0x002E)sexy error: No build for minimum Windows '$versionName'"^""; }; }; $minVersion = [System.Version]::Parse($buildNumber); $ver = [Environment]::OSVersion.Version; $verNoPatch = [System.Version]::new($ver.Major, $ver.Minor, $ver.Build); if ($verNoPatch -lt $minVersion) { Write-Output "^""Skipping: Windows ($verNoPatch) is below minimum $minVersion ($versionName)"^""; Exit 0; }; $keyPath='HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore\EndOfLife\$CURRENT_USER_SID\Microsoft.Windows.Search_cw5n1h2txyewy'; $registryHive = $keyPath.Split('\')[0]; $registryPath = "^""$($registryHive):$($keyPath.Substring($registryHive.Length))"^""; $userSid = (New-Object System.Security.Principal.NTAccount($env:USERNAME)).Translate([Security.Principal.SecurityIdentifier]).Value; $registryPath = $registryPath.Replace('$CURRENT_USER_SID', $userSid); Write-Host "^""Removing registry key at `"^""$registryPath`"^""."^""; if (-not (Test-Path -LiteralPath $registryPath)) { Write-Host "^""Skipping, no action needed, registry key `"^""$registryPath`"^"" does not exist."^""; exit 0; }; try { Remove-Item -LiteralPath $registryPath -Force -ErrorAction Stop | Out-Null; Write-Host "^""Successfully removed the registry key at path `"^""$registryPath`"^""."^""; } catch { Write-Error "^""Failed to remove the registry key at path `"^""$registryPath`"^"": $($_.Exception.Message)"^""; }"
Ijo6IFJlbW92ZSBhYmlsaXR5IHRvIHJlbW92ZSBzeXN0ZW0gYXBwICdNaWNyb3NvZnQuV2luZG93cy5TZWFyY2gnIHRvIG1hdGNoIG9wZXJhdGluZyBzeXN0ZW0gZGVmYXVsdHNcbjo6IFJlc3RvcmUgXCJIS0xNXFxTT0ZUV0FSRVxcTWljcm9zb2Z0XFxXaW5kb3dzXFxDdXJyZW50VmVyc2lvblxcQXBweFxcQXBweEFsbFVzZXJTdG9yZVxcRW5kT2ZMaWZlXFwkQ1VSUkVOVF9VU0VSX1NJRFxcTWljcm9zb2Z0LldpbmRvd3MuU2VhcmNoX2N3NW4xaDJ0eHlld3lcIiByZWdpc3RyeSBrZXkgYnkgZGVsZXRpbmcgaXRcbjo6IFRoaXMgb3BlcmF0aW9uIHdpbGwgbm90IHJ1biBvbiBXaW5kb3dzIHZlcnNpb25zIGVhcmxpZXIgdGhhbiBXaW5kb3dzMTEtMjFIMi5cblBvd2VyU2hlbGwgLUV4ZWN1dGlvblBvbGljeSBVbnJlc3RyaWN0ZWQgLUNvbW1hbmQgXCIkdmVyc2lvbk5hbWUgPSAnV2luZG93czExLTIxSDInOyAkYnVpbGROdW1iZXIgPSBzd2l0Y2ggKCR2ZXJzaW9uTmFtZSkgeyAnV2luZG93czExLUZpcnN0UmVsZWFzZScgeyAnMTAuMC4yMjAwMCcgfTsgJ1dpbmRvd3MxMS0yMkgyJyB7ICcxMC4wLjIyNjIxJyB9OyAnV2luZG93czExLTIxSDInIHsgJzEwLjAuMjIwMDAnIH07ICdXaW5kb3dzMTAtMjJIMicgeyAnMTAuMC4xOTA0NScgfTsgJ1dpbmRvd3MxMC0yMUgyJyB7ICcxM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1Ib3N0IFwiXlwiXCJTa2lwcGluZywgbm8gYWN0aW9uIG5lZWRlZCwgcmVnaXN0cnkga2V5IGBcIl5cIlwiJHJlZ2lzdHJ5UGF0aGBcIl5cIlwiIGRvZXMgbm90IGV4aXN0LlwiXlwiXCI7IGV4aXQgMDsgfTsgdHJ5IHsgUmVtb3ZlLUl0ZW0gLUxpdGVyYWxQYXRoICRyZWdpc3RyeVBhdGggLUZvcmNlIC1FcnJvckFjdGlvbiBTdG9wIHwgT3V0LU51bGw7IFdyaXRlLUhvc3QgXCJeXCJcIlN1Y2Nlc3NmdWxseSByZW1vdmVkIHRoZSByZWdpc3RyeSBrZXkgYXQgcGF0aCBgXCJeXCJcIiRyZWdpc3RyeVBhdGhgXCJeXCJcIi5cIl5cIlwiOyB9IGNhdGNoIHsgV3JpdGUtRXJyb3IgXCJeXCJcIkZhaWxlZCB0byByZW1vdmUgdGhlIHJlZ2lzdHJ5IGtleSBhdCBwYXRoIGBcIl5cIlwiJHJlZ2lzdHJ5UGF0aGBcIl5cIlwiOiAkKCRfLkV4Y2VwdGlvbi5NZXNzYWdlKVwiXlwiXCI7IH1cIiI=
Help
How to apply or restore "Remove "Search" app" using commands
- ≈ 2 min to complete
- Tools: Command Prompt
- Difficulty: Medium
- ≈ 3 instructions
- 1
Open Command Prompt
Open Command Prompt as Administrator. - 2
Copy code
Copy the code: - 3
Paste & run
Paste the commands into Command Prompt and press Enter to run.Some changes require a system restart to take effect
Similar Guides
Wider Goal
Guides below includes this guide to achieve a wider goal.See other more general settings that includes this one as one of its actions.
These plans combine multiple privacy settings, including this one, for stronger protection.
- Remove system apps
- Remove Windows apps
- Remove bloatware
This category includes scripts for uninstalling default system apps in Windows. System apps are pre-installed applications located in the C:\Windows* directory. Th...
This category covers the uninstallation of Windows apps. Windows apps were introduced with Windows 8 and are typically acquired and installed through the Store app...
Remove bloatware — This system calibration provides an easy-to-follow breakdown of how. Besides that, this documentation offers practical insights on the procedure...
Same Goal
Other guides in Remove system appsSee settings that are in the same category as this guide.
Using other actions in the same category may help you achieve your goal better.
See all 35 guides
About the Creators
These people have authored this documentation and written its scripts:
Reviewed By
This guide has undergone comprehensive auditing and peer review:Expert review by undergroundwires
- Verified technical accuracy and editorial standards
- Assessed system impact and user privacy risks
Public review by large community
- Privacy enthusiasts and professionals peer-reviewed
- Millions of end-users tested across different environments
History
We continually monitor our guides, their impact and all other privacy options. We update our guides when new information becomes available. On every update, we publicly store who made the change, what has been changed, why the change was made and when the change was made.