I can't remember the last time Windows Search was actually performant, but it certainly wasn't at any point in Windows 11's ...
Open the Windows Run by pushing the Windows + R buttons. Now type the following command in: msdt.exe -id DeviceDiagnostic.