To fix windows 10 search bar not working, you need to follow the methods given below,
1) Set Up a New User Account.
2) Activate the search bar with the Registry Editor.
3) Turn off Tablet Mode.
4) Activate the search bar with the Registry Editor.
5) Turn off the Use of Small Taskbar Buttons.