Tech News Today
  • Hardware
    • Motherboards
    • CPUs
    • Graphic Cards
    • RAM
    • SSDs
    • Computer Cases
    • Monitors
    • Peripherals
    • Power Supply Unit
    • PC Builds
    • Computer Tips
  • Software
  • Operating System
    • Windows
    • Mac
    • Linux
  • Gaming
  • Mobile
  • Console
  • More
    • Internet
    • Networking
    • Security
    • Buyer’s Guide
    • Gadgets
    • Laptops
    • Reviews
    • How To
    • News
Facebook Twitter Instagram
Tech News Today
  • Hardware
    • Motherboards
    • CPUs
    • Graphic Cards
    • RAM
    • SSDs
    • Computer Cases
    • Monitors
    • Peripherals
    • Power Supply Unit
    • PC Builds
    • Computer Tips
  • Software
  • Operating System
    • Windows
    • Mac
    • Linux
  • Gaming
  • Mobile
  • Console
  • More
    • Internet
    • Networking
    • Security
    • Buyer’s Guide
    • Gadgets
    • Laptops
    • Reviews
    • How To
    • News
Tech News Today
Home»Windows»How to Enable/Disable Windows Search

How to Enable/Disable Windows Search

Abhishek SilwalBy Abhishek SilwalAugust 20, 2022
windows search disable

Windows Search is a great feature that helps you avoid having to go through all the path directories to access a file or a folder.

However, you may have to disable this feature in some scenarios. For instance, you may want to restrict user access to search if you want to create a limited environment domain.

Many search features are also redundant and you may want to disable those instead of the search application altogether.

So, we have created this article to help you enable/disable Windows Search or its specific features.

Table of Contents

  • How to Enable/Disable Windows Search
    • Change Search Service Behavior
    • Rename Search Folder
    • Through Group Policy Management Editor
  • How to Enable/Disable Windows Search Web Results
  • How to Enable/Disable Search Highlights
    • Change Search Settings
    • Using Group Policy Editor
    • Through Registry Editor
  • Related Questions
    • How to Hide and Unhide Search Icon on Windows
    • How to Enable/Disable Win + S Search Shortcut?

How to Enable/Disable Windows Search

There are mainly two ways to enable or disable Windows Search. They actually have different outcomes, so read carefully and pick one according to your need.

Change Search Service Behavior

The most convenient method to enable or disable Windows Search is by changing its service configuration. The Windows Search service handles indexing, caching, and search results for files, e-mail, etc.

So, disabling this service turns off indexing altogether. However, keep in mind that you can still use the search app. It can’t find your files and folders unless you enter the exact name or the initial part of the name. But you can still use the Start menu to search for apps and web results.

Regardless, here are some of the ways to disable your search service:

Through Services App

The Services app is the default program you can use to change the configuration of your system services, including the Windows Search service.

Here’s how you can enable/disable Windows Search Service:

  1. Open Run by pressing Win + R.
  2. Type services.msc and press Enter to open the Services app.
  3. Look for Windows Search and double-click on it.
  4. To Disable Search, set the Startup type to Disabled and click Stop.
    windows-search-disable
  5. To Enable Search, set the Startup type to Automatic (Delayed Start) and click Start.
  6. Click on Apply and OK.

Using Command Prompt

Another easy way to enable or disable the Windows Search service is by using the Command Prompt. You only need a single command in both cases, so copying and pasting the command is more convenient.

Here’s what you need to do:

  1. Open Run.
  2. Type cmd and press Ctrl + Shift + Enter to open the Elevated Command Prompt.
  3. Enter the following commands depending on whether you want to disable or enable Search:
    • Disable: sc config "wsearch" start=disabled && sc stop "wsearch"
    • Enable: sc config "wsearch" start=delayed-auto && sc start "wsearch"
      enable-disable-search-command-prompt

With Registry Editor

You can also modify the service’s settings by changing its configuration in your registry settings. In fact, all the above methods change the values in the relevant registry entries and your system directly looks at these entries to check the service configuration.

To use the Registry Editor to change such entries,

  1. Open Run and enter regedit to open the Registry Editor.
  2. Navigate to Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WSearch\
  3. To disable Windows Search, change the value of Start to 4. And, to enable Windows Search, change the value of Start to 2 and DelayedAutoStart to 1.
  4. You need to double-click on the entry, change the Value data and click OK to change its value.
    disable-search-registry

Restart your PC after changing the values for your system to apply the changes.

Rename Search Folder

Renaming the system folders and files used in the search feature is a great way to disable the feature from your File Explorer as well as the Start menu. Here, renaming is the same as deleting the files while creating backups. It effectively stops your system from using such files altogether, making search impossible unless you change the folder back to their default names.

However, this method requires you to change the permission settings for the folders and files. So we recommend you create a restore point beforehand to account for any issues due to improper permissions.

The complete method is as follows:

  1. Open Run and enter %WinDir%\SystemApps
  2. Click on Microsoft.Windows.Search_cw5n1h2txyewy and press F2 to rename it. You can set its name to anything you want, but we recommend just appending .bak or .old to make renaming it again easier.
  3. Open this folder, select SearchApp.exe, and press Alt + Enter to open its Properties.
  4. Go to its Security tab and check whether any users other than TrustedInstaller allow Full Control.
  5. If Users, Administrators (if your account is an admin) or your current user has such permission, you can directly rename the file.
  6. Otherwise, click on Advanced.
  7. Select Change under Owner.
    security-advanced-change
  8. Click on Advanced and on the next page, Find Now.
  9. Select your current user from the list and click OK. Selecting any other users is not recommended. Click OK again to change the owner.
  10. Keep on clicking OK until you close the Properties.
  11. Open the SearchApp.exe Properties and go to Security > Advanced.
  12. Click on Add and then, Select a principal.
    select-a-principal
  13. Perform steps 7-9 to select your current user as a principal.
  14. Set Type to Allow and tick Full Control.
  15. Keep on Pressing OK till you close Properties while applying the changes.
  16. Rename SearchApp.exe in a similar manner to its parent folder. For example, SearchApp.exe.old.
  17. Now, go inside the %WinDir%\SystemApps\MicrosoftWindows.Client.CBS_cw5n1h2txyewy folder.
  18. Look for SearchHost.exe and perform steps 3-16 for this file too.
  19. If the SystemApps folder contains Microsoft.Windows.Cortana_cw5n1h2txyewy folder, you also need to change the name of the folder and the executable file inside this folder as well.

You need to restart your Windows Explorer to apply the changes. To do so,

  1. Press Ctrl + Shift + Esc to open the Task Manager.
  2. Go to the Details tab.
  3. Select explorer.exe and click End Task. Confirm with End process.
    end-explorer
  4. Click on File > Run new task from the menu and enter explorer.

If a window with the name, Search, keeps popping up and closing continuously, you need to restart Windows Explorer again.

Through Group Policy Management Editor

This method is a safer alternative to renaming the search files and folders. However, you can only use it by creating a Software Restriction Group Policy Object for a domain. Here’s how you can do so:

  1. Open the Group Policy Management Editor.
  2. Go to Computer Configuration > Policies > Windows Settings > Security Settings > Software Restriction Policies > Additional Rules.
  3. If Software Restriction Policies does not expand to Additional Rules, right-click on it and select New Software Restriction Policy.
  4. Right-click on Additional Rules and select New Path Rule.
    new-path-rule-software-restriction-policy
  5. Enter the following paths on the Path text box, set the Security level to Disallowed, and click OK:
    • %WinDir%\SystemApps\Microsoft.Windows.Search_cw5n1h2txyewy
    • %WinDir%\SystemApps\Microsoft.Windows.Cortana_cw5n1h2txyewy (if the folder exists)
    • %WinDir%\SystemApps\MicrosoftWindows.Client.CBS_cw5n1h2txyewy\SearchHost.exe

How to Enable/Disable Windows Search Web Results

Showing web results in Windows Search does not have many advantages. In fact, many users unknowingly open the web result when they actually want to run an app or any file in their local drive.

So, if you want to disable this feature, you can do so easily using the steps below:

  1. Open Run and enter regedit.
  2. Navigate to Computer\HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\Windows
  3. Right-click on Windows and select New > Key.
    new-key-windows
  4. Name it as Explorer.
  5. Right-click on Explorer and select New > DWORD (32-bit) Value.
  6. Set its name to DisableSearchBoxSuggestions and double-click on it to change its value.
  7. Change the Value data to 1 to disable web results and click OK.
    disable-search-registry
  8. If you want to enable it, you can change its value to 0.

Restart Windows Explorer (see above) to apply the changes.

How to Enable/Disable Search Highlights

Another possible search feature you might want to delete is the search highlights. It distracts you from your work and many users prefer customizing the start or search menu to their liking instead of automatically getting highlights based on Bing searches.

You can use the methods we have mentioned below to enable or disable this feature. Some of the methods overwrite other methods, so we recommend performing all of them.

Change Search Settings

The usual way to enable or disable search highlights is through the search permission Settings. The methods differ between Windows 10 and 11, so we have included both of them

On Windows 11

  1. Open Run and Enter ms-settings:search-permissions.
  2. Scroll down to Show search highlights and set its switch to On/Off per your need.
    enable-disable-search-highlights

On Windows 10

  1. Right-click on the taskbar or the search bar.
  2. Click on Search and select Show search highlights to toggle this option.

Using Group Policy Editor

You can also change the group policy settings to enable or disable search highlights. This option overrides the settings so make sure to check it as well.

  1. Open Run and enter gpedit.msc.
  2. Go to Computer Configuration > Administrative Templates > Windows Components > Search.
  3. Double-click on Allow search highlights.
    allow-search-highlights-group-policy
  4. Check Disabled or Enabled according to your preference and click OK.

Through Registry Editor

Another way you can change this setting is by modifying the relevant registry entry. Here’s how you can do so:

  1. Open Run and enter regedit.
  2. Navigate to Computer\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\SearchSettings
  3. If IsDynamicSearchBoxEnabled exists, double-click on it to edit its value.
    is-dynamic-search-box-enabled
  4. If not, right-click on SearchSettings and select New > DWORD (32-bit) Value. Set its name to IsDynamicSearchBoxEnabled and double-click on it.
  5. Set the Value data to 0 to disable and 1 to enable the feature and click OK.

Related Questions

How to Hide and Unhide Search Icon on Windows

If you have disabled Windows Search, you might as well hide its icon to save space on the Taskbar. Here’s how you can do so:

On Windows 11

  1. Open Run and Enter ms-settings:taskbar.
  2. Click on the switch next to Search to hide or show its icon.
    disable-search-icon

On Windows 10

  1. Right-click on the taskbar or the search bar.
  2. Click on Search and select Show search box to toggle the option.

How to Enable/Disable Win + S Search Shortcut?

Here’s how you can enable or disable the Win + S shortcut for Search. However, keep in mind that it also disables other hotkeys that include Win + S, such as Win + Shift + S for the snipping tool.

To enable or disable this shortcut:

  1. Open Run and enter regedit.
  2. Computer\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced
  3. Right-click on Advanced and select New > String Value.
  4. Set its name to DisabledHotkeys and double-click on it.
  5. Change the value data to S and click OK.

You don’t need to create this value if it already exists. You can also add S to any other keys already present in the value by separating them with a comma.

how-to
Abhishek Silwal

Abhishek Silwal is an Electronics Engineer and a technical writer at TechNewsToday. He specializes in troubleshooting a wide range of computer-related issues. His educational background in Electronics Engineering has given him a solid foundation in understanding of computers. He is also proficient in several programming languages and has worked on various robotics projects. Even in his early days, he used to tinker with various computer components, both hardware, and software, to satiate his curiosity. This experience has given him a breadth of experience that goes beyond his educational qualification. Abhishek has been writing articles on dealing with varieties of technical issues and performing specific tasks, especially on a Windows machine. He strives to create comprehensive guides on fixing many system and hardware issues and help others solve their problems.

Related Posts

how to make windows 11 look like windows 10

How to Make Windows 11 Look Like Windows 10

January 25, 2023
how to find hidden folder in laptop

How to Find Hidden Folder in Laptop

January 24, 2023
mouse not showing in chrome

Mouse Not Showing in Chrome? Here’s How to Fix It

January 25, 2023
how-to-move-taskbar-windows-11

How to Move Taskbar on Windows 11

January 24, 2023
stickers on windows

How to Add Stickers on Windows 11 Desktop

January 23, 2023
how to add weather to taskbar windows 11

How to Add Weather to Taskbar Windows 11

January 22, 2023
Add A Comment

Leave A Reply Cancel Reply

Latest Posts
how long does a cmos battery last

How Long Does a CMOS Battery Last

January 25, 2023
thunderbolt vs usb c

Thunderbolt Vs USB C: What’s the Difference

January 25, 2023
how to find hidden folder in laptop

How to Find Hidden Folder in Laptop

January 24, 2023
You may also like
4k-tv-as-monitor

How to Use a 4K TV as a Monitor? (Step-by-Step Guide)

January 26, 2023
how-to-install-cinema-on-firestick

How to Install Cinema on Firestick (Step-By-Step Guide)

January 26, 2023
how to adblock on chrome

How to Block Ads on Google Chrome

January 26, 2023
Recommended
Cookie Clicker Garden Guide

Cookie Clicker Garden Guide to Unlocking Every Seed

September 26, 2021
monitor no signal

Computer Turns On But Monitor Says No Signal (9 Ways To Fix)

November 10, 2022
Facebook Twitter Pinterest
  • Home
  • About Us
  • Our Team
  • Editorial Guidelines
  • Privacy Policy
  • Affiliate Disclosure
© 2023 TechNewsToday.

Type above and press Enter to search. Press Esc to cancel.