Firstly, ty to create another admin account to check search bar, maybe your current user profile has broken.
If another account has the same issue, use a clean Windows 10 ISO file to in-place upgrade, which can fix system files and components related issue. Windows 10 ISO file can be downloaded from media creation tool.
https://www.microsoft.com/en-us/software-download/windows10
-------------------------------------------------------------------------------------
If the Answer is helpful, please click "Accept Answer" and upvote it.
Information posted in the given link is hosted by a third party. Microsoft does not guarantee the accuracy and effectiveness of information.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.