How to effectively kill "search" permanently from running background?


  1. Posts : 94
    Windows 10 Home Version:21H2 Build:19044.1889
       #1

    How to effectively kill "search" permanently from running background?


    Hello.

    Does anyone know how to do that?

    I've tried all that I could and looked in many places but nothing so far worked for me, I cant manage to definitely kill "search" permanently.

    My build is 1607 (OS build 14393.447) if that helps with anything.

    Thanks
      My Computer


  2. Posts : 42,953
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #2

    Why do you wish to do that? If it's working, search uses no resources when not indexing.
    Only initial indexing takes a few minutes- after that it's 'on-the fly'.

    I can only think you'd want to do that for some sort of privacy reason, or it's simply not working properly.

    When indexing, it backs off (stops) as soon as you use your PC.
    Searching settings is quick if search indexing is enabled. And of course searching the start menu.

    Anyway, try:

    http://www.softwareok.com/?seite=faq-Windows-10&faq=53

    or
    How to effectively kill "search" permanently from running background?-snap-2016-11-27-18.18.05.jpg
    perhaps

    or
    in Indexing options, untick all searched locations.
      My Computers


  3. Posts : 5,452
    Windows 11 Home
       #3

    If you are talking about "SearchUI.exe", then run CMD as admin and copy/paste:

    Code:
    takeown /f "%WINDIR%\SystemApps\Microsoft.Windows.Cortana_cw5n1h2txyewy" /a /r /d y
    icacls "%WINDIR%\SystemApps\Microsoft.Windows.Cortana_cw5n1h2txyewy" /inheritance:r /grant:r Administrators:(OI)(CI)F /t /c
    taskkill /im SearchUI.exe /f
    rd "%WINDIR%\SystemApps\Microsoft.Windows.Cortana_cw5n1h2txyewy" /s /q
      My Computer


  4. Posts : 94
    Windows 10 Home Version:21H2 Build:19044.1889
    Thread Starter
       #4

    TairikuOkami said:
    If you are talking about "SearchUI.exe", then run CMD as admin and copy/paste:

    Code:
    takeown /f "%WINDIR%\SystemApps\Microsoft.Windows.Cortana_cw5n1h2txyewy" /a /r /d y
    icacls "%WINDIR%\SystemApps\Microsoft.Windows.Cortana_cw5n1h2txyewy" /inheritance:r /grant:r Administrators:(OI)(CI)F /t /c
    taskkill /im SearchUI.exe /f
    rd "%WINDIR%\SystemApps\Microsoft.Windows.Cortana_cw5n1h2txyewy" /s /q
    Thank U so much TairikuOkami! I believe it worked!
    But when I start Win and connect to the internet with WIFI I see a process called "@cortana..." hanging there for a while, then it goes away. What exactly is that?
      My Computer


  5. Posts : 9,788
    Mac OS Catalina
       #5

    Cortana is the built in search function of Windows 10. Without SearchUI, which took the place of Index and Search, you have broken Cortona from trying to help you find files, by using Microsoft's bing servers. The best thing to do is just build a firewall rule to block the UDP/TCP requests for the ports that Cortana uses to send metrics out to Bing and Microsoft.
      My Computer


  6. Posts : 94
    Windows 10 Home Version:21H2 Build:19044.1889
    Thread Starter
       #6

    bro67 said:
    Cortana is the built in search function of Windows 10. Without SearchUI, which took the place of Index and Search, you have broken Cortona from trying to help you find files, by using Microsoft's bing servers. The best thing to do is just build a firewall rule to block the UDP/TCP requests for the ports that Cortana uses to send metrics out to Bing and Microsoft.

    Hi bro67,

    What are the UDP and TCP ports cortana uses? I created 2 outbound rules to block: %windir%\systemapps\Microsoft.Windows.Cortana_cw5n1h2txyewy, one TCP and the other UDP but it didnt work...
      My Computer


  7. Posts : 9,788
    Mac OS Catalina
       #7

    Boom, like Ronda Rousey getting knocked out. Third hit I tried. Cyber Defense | PowerShell Script to Block Cortana for Privacy | SANS Institute Keep the main link in your bookmarks. It is a good site to have on hand when you want to know what to lock down and how.
      My Computer


  8. Posts : 94
    Windows 10 Home Version:21H2 Build:19044.1889
    Thread Starter
       #8

    bro67 said:
    Boom, like Ronda Rousey getting knocked out. Third hit I tried. Cyber Defense | PowerShell Script to Block Cortana for Privacy | SANS Institute Keep the main link in your bookmarks. It is a good site to have on hand when you want to know what to lock down and how.
    Just got back to my PC today and saw ur reply. Thats very nice of you to share the link bro67. I'll be working this and see if I can make it.

    Just in case... if I cant make it to block, leaving Cortana process opening for a few minutes and disappearing wont do any harm, right?
      My Computer


  9. Posts : 9,788
    Mac OS Catalina
       #9

    No, but can puke up errors in the logs. I could not find the ports, since I was using my phone. You can run the SysInternals TCP View from microsoft.com. Grab the whole package and that way you have all of the tools, since Process Explorer comes in handy when trying to figure out which subprocess is eating CPU time. How do I find out which program and process ID accesses a given IP address in Windows? - Super User
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 23:33.
Find Us




Windows 10 Forums