restrict taskbar search to local computer, disable WEB


  1. Posts : 28
    Windows 10
       #1

    restrict taskbar search to local computer, disable WEB


    I have enabled the search bar in Windows 10 1903. I wonder if this is possible to restrict this search bar to the local computer and completely disable web searches. This web search launch Edge with Bing despite the fact that edge is not my default browser and bing not my default search engine.As I have the pro edition, I have already tried to play with the group policy editor but no option seems to effectively disable this; though some options seems to claims it. There are indeed options that claim to disable "web search" but web search in the taskbar remains active even after having enabled these options!
      My Computer


  2. Posts : 35,402
    Win 10 Pro (21H2) (2nd PC is 21H2)
       #2

    Things have changed in 1903 now that MS has separated Cortana and search.

    There were tutorials here and things you can find on the web that dealt with these issues. Beware of any such you find- they may be obsolete now.

    Note that you can focus searches yourself. Try using Win key + S - here I've clicked Apps at the top:
    restrict taskbar search to local computer, disable WEB-1.png

    Note that the search bar now supports the Advanced Query Syntax just as the file explorer search field does, so you can use that.
    https://docs.microsoft.com/en-us/win...s-aqsreference

    Example:
    documents: ie* ext:txt

    - finds all files starting ie whose extension (file type) is txt
      My Computers


  3. Posts : 4,544
    Windows 11 Pro 64-bit
       #3

    You can disable web search in the windows 10 taskbar with this batch script.

    Code:
    ::  DISABLE WEB SEARCH IN THE WINDOWS 10 TASKBAR
    
    @Echo Off
    
    net sess>nul 2>&1||(powershell start cmd -ArgumentList """/c %~0""" -verb Runas & exit)
    
    :_Start
    Cls & Mode CON  LINES=11 COLS=70 & Color 0E 
    Echo.
    Echo.       
    Echo         Type (D) to Disable Web Search in Windows 10  
    Echo.       
    Echo.
    Echo.
    Echo.         
    Echo         Type (E) to Enable Web Search in Windows 10    
    Echo.       
    
    
    
    Set /p input= RESPONSE: 
    If /i  Not %input%==D (Goto :_Ex) Else (Goto :_Disable)
    
    :_Ex
    If /i  Not %input%==E  (Goto :_Start) Else (Goto :_Enable)
    
    
    
    
    
    :_Enable
    
    Reg.exe Delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Search" /v "BingSearchEnabled"  /f
    Reg.exe Delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Search" /v "AllowSearchToUseLocation"  /f
    Reg.exe Delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Search" /v "CortanaConsent"  /f
    
    
    Cls & Mode CON  LINES=5 COLS=40 & Color 0E 
     Echo.
     Echo. 
     Echo            Enabling Web Search    
    
    Ping -n 5  localhost > Nul
    
    Exit
    
    
    
    
    
    :_Disable
    
    Reg.exe add "HKCU\Software\Microsoft\Windows\CurrentVersion\Search" /v "BingSearchEnabled" /t REG_DWORD /d "0" /f
    Reg.exe add "HKCU\Software\Microsoft\Windows\CurrentVersion\Search" /v "AllowSearchToUseLocation" /t REG_DWORD /d "0" /f
    Reg.exe add "HKCU\Software\Microsoft\Windows\CurrentVersion\Search" /v "CortanaConsent" /t REG_DWORD /d "0" /f
    
    Cls & Mode CON  LINES=5 COLS=40 & Color 0E 
     Echo.
     Echo. 
     Echo            Disabling Web Search
    
    Ping -n 5  localhost > Nul
    Turn On or Off Search online and include web results in Windows 10
      My Computer


  4. Posts : 35,402
    Win 10 Pro (21H2) (2nd PC is 21H2)
       #4

    @FreeBooter- could you suggest as a comment after this tutorial (now obsolete) that your solution be included in a revised version or new tutorial?
    Turn On or Off Search online and include web results in Windows 10

    (Its title is rather obscure- took me a while to find it)
    Thanks
      My Computers


  5. Posts : 4,544
    Windows 11 Pro 64-bit
       #5
      My Computer


  6. Posts : 28
    Windows 10
    Thread Starter
       #6

    @FreeBooter it seems to work, thanks.
      My Computer


  7. Posts : 35,402
    Win 10 Pro (21H2) (2nd PC is 21H2)
       #7

    Unfortunately Brink has advised that that script will not work in later builds- you can read the discussion at the end of the tutorial.
      My Computers


  8. Posts : 1,806
    Windows 10 Pro 21H1 19043.1348
       #8

    Olive said:
    I have enabled the search bar in Windows 10 1903. I wonder if this is possible to restrict this search bar to the local computer and completely disable web searches. This web search launch Edge with Bing despite the fact that edge is not my default browser and bing not my default search engine.As I have the pro edition, I have already tried to play with the group policy editor but no option seems to effectively disable this; though some options seems to claims it. There are indeed options that claim to disable "web search" but web search in the taskbar remains active even after having enabled these options!
    Hi Olive.
    I actually use and enjoy the search features of Cortana with my preferred search engine (startpage.com) and browser (Vivaldi).
    If you prefer to not search the web at all, at the least this may prevent windows from launching a Bing search using Edge.

    I currently use windows version 1809, however; I have used the following methods successfully with 1709 through 1809 to fix Edge and Bing so I never see them. I'm not certain if this will work properly with 1903 but might be worth a check.

    Check this link.

    How to Bypass Microsoft Edge in Windows 10
      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 08:39.
Find Us




Windows 10 Forums