- Error List Window
- Error List Filters
- Search
- UI Element List
- Fix problems in Windows Search
- Check for updates
- Run the Search and Indexing troubleshooter
- Restart Windows Search or your device
- Reset Windows Search
- Windows 10, version 1809 and earlier
- Windows 10, version 1903 and later
- Help us improve Search in Windows 10
- Fix problems in Windows Search
- Check for updates
- Run the Search and Indexing troubleshooter
- Restart Windows Search or your device
- Reset Windows Search
- Windows 10, version 1809 and earlier
- Windows 10, version 1903 and later
- Help us improve Search in Windows 10
Error List Window
The Error List displays information about a specific error message. You can copy the error number or error string text from the Output window. To display the Output window, press Ctrl+Alt+O. See Output window.
The Error List window lets you perform the following tasks:
Display the errors, warnings, and messages produced while you write code.
Find syntax errors noted by IntelliSense.
Find deployment errors, certain Static Analysis errors, and errors detected while applying Enterprise Template policies.
Double-click any error message entry to open the file where the problem occurs, and move to the error location.
Filter which entries are displayed, and which columns of information appear for each entry.
Search for specific terms and scope the search to just the current project or document.
To display the Error List, choose View > Error List, or press Ctrl+\+E.
You can choose the Errors, Warnings, and Messages tabs to see different levels of information.
To sort the list, click any column header. To sort again by an additional column, hold down the Shift key and click another column header. To select which columns are displayed and which are hidden, choose Show Columns from the shortcut menu. To change the order in which columns are displayed, drag any column header to the left or right.
Error List Filters
There are two types of filter in two dropdown boxes, one on the right side of the toolbar and one to the left of the toolbar. The dropdown list on the left side of the toolbar specifies the set of code files to use (Entire Solution, Open Documents, Current Project, Current Document).
You can restrict the scope of the search to analyze and act on groups of errors. For example, you might want to focus on core errors that are preventing a project from compiling. The scoping options include:
Open Documents: Show errors, warnings, and messages for the open documents.
Current Project: Show errors, warnings, and messages from the project of the currently selected document in the Editor or the selected project in Solution Explorer.
The filtered list of errors, warnings, and messages will change if the project of the currently selected document is different from the project selected in Solution Explorer.
Current Document: Show errors, warnings, and messages for the currently selected document in the Editor or Solution Explorer.
If a filter is currently applied to the search result, the name of the filter appears in the Error List title bar. The Errors, Warnings, and Messages buttons then display the number of filtered items being shown along with the total number of items. For example, the buttons show «x of y Errors». If no filter is applied, the title bar says only «Error List».
The list on the right side of the toolbar specifies whether to show errors from the build (errors resulting from a build operation) or from IntelliSense (errors detected before running a build), or from both.
Search
Use the Search Error List text box on the right side of the Error List toolbar to find specific errors in the error list. You can search on any visible column in the error list, and search results are always sorted based on the column that has sort priority instead of on the query or the filter applied. If you choose the Esc key while the focus is in the Error List, you can clear the search term and filtered search results. You can also click the X on the right side of the text box to clear it.
You can copy the error list and save it to a file. Select the errors you want to copy and right-click the selection, then on the context menu select Copy. You can then paste the errors into a file. If you paste the errors to an Excel spreadsheet, the fields appear as different columns.
UI Element List
Displays the different types of Error List entry (Error, Message, Warning, Warning (active), Warning (inactive).
Displays the error code.
Displays the text of the entry.
Displays the name of the current project.
Displays the file name.
Displays the line where the problem occurs.
Fix problems in Windows Search
If Windows Search is unresponsive or the search results don’t appear as expected, try any of the following solutions in this article.
If you’re running Windows 10 May 2019 Update (version 1903) or later versions and Windows can detect a problem, we’ll run the Search troubleshooter automatically. This troubleshooter will reset Windows Search back to the default experience. View your troubleshooter history under Settings > Update & Security > Troubleshoot > View History. Follow the steps below if your issue is still not resolved.
Original product version: В Windows 10 — all editions
Original KB number: В 4520146
Check for updates
Windows 10 lets you choose when and how to get the latest updates to keep your device running smoothly and securely. To manage your options and see any available updates, select the Start button, and then go to Settings > Update & Security > Windows Update > Check for updates. Install any available updates, and then restart your computer if the updates require it.
For more information, see Update Windows 10.
Run the Search and Indexing troubleshooter
Your PC automatically indexes content to deliver faster search results. Learn more about Search indexing in Windows 10.
Use the Windows Search and Indexing troubleshooter to try to fix any problems that may arise. To use the troubleshooter, follow these steps:
- Select Start, then select Settings.
- In Windows Settings, select Update & Security >Troubleshoot. Under Find and fix other problems, select Search and Indexing.
- Run the troubleshooter, and select any problems that apply. Windows will try to detect and solve them.
You can also use a command prompt to open the troubleshooter. Press Windows logo key+R, enter cmd in the Open box, and then select OK. At the command prompt, run the following command:
Restart Windows Search or your device
End the SearchUI process to restart Windows Search by following these steps:
- Press Ctrl+Alt+Delete, and select Task Manager.
- In the Task Manager window, select the Details tab.
- In the Name column, right-click SearchUI.exe, and then select End task.
- When you’re prompted to end SearchUI.exe, select End process.
The Windows Search process will automatically restart the next time that you search.
If this solution doesn’t fix your problem, try restarting your device. Restarting will also install any pending updates.
You may want to bookmark this page before you restart.
Reset Windows Search
Try resetting Windows Search by using the method that’s appropriate for your version of Windows.
To determine which version of Windows your device is running, follow these steps:
Select Start > Settings > System > About.
Under Windows specifications, check which version of Windows your device is running.
Resetting Windows Search does not affect your files. However, it may temporarily affect the relevance of search results.
Windows 10, version 1809 and earlier
If the Windows 10 October 2018 Update or an earlier update is installed, reset Cortana to reset Windows Search by following these steps:
- Select Start, right-click Cortana, select More, and then select App settings.
- In the Cortana settings, select Reset.
Windows 10, version 1903 and later
If the Windows 10 May 2019 Update or a later update is installed, use Windows PowerShell to reset Windows Search by following these steps:
You must have administrator permissions to run this script.
Download the ResetWindowsSearchBox.ps1 script from the Reset Windows Search PowerShell script, and save the file to a local folder.
Right-click the file that you saved, and select Run with PowerShell.
If you’re asked the following question, select Yes.
Do you want to allow this app to make changes to your device?
The PowerShell script resets the Windows Search feature. When the word Done appears, close the PowerShell window.
If you receive the following error message:
Cannot be loaded because running scripts is disabled on this system
enter the following command on the command line of the PowerShell window, and then press Enter:
The current policy appears in the window. For example, you might see Restricted. We recommend that you note this value because you’ll have to use it later.
Enter the following command on the command line of the PowerShell window, and then press Enter:
You’ll receive a warning message that explains the security risks of an execution policy change. Press Y, and then press Enter to accept the change.
To learn more about PowerShell execution policies, see About Execution Policies.
After the policy change is completed, close the window, and then repeat steps 2-4. However, when the Done message appears this time, DON’T close the PowerShell window. Instead, press any key to continue.
Revert to your previous PowerShell execution policy setting. Enter the following command on the command line of the PowerShell window, press the Spacebar, enter the policy value that you noted in step 5, and then press Enter:
For example, if the policy that you noted in step 5 was Restricted, the command would resemble the following one:
You’ll receive a warning message that explains the security risks of an execution policy change. Press Y, and then press Enter to accept the change and revert to your previous policy setting.
Close the PowerShell window.
If your organization has disabled the ability to run scripts, contact your administrator for help.
Help us improve Search in Windows 10
If the previous suggestions don’t fix the problem, let us know by sending feedback in the Feedback Hub. Provide details, such as a description of the problem, screenshots, log files, and any other information that might be helpful. In the Feedback Hub, select the appropriate category and subcategory. In this case, submit your feedback in the Cortana and Search category.
Fix problems in Windows Search
If Windows Search is unresponsive or the search results don’t appear as expected, try any of the following solutions in this article.
If you’re running Windows 10 May 2019 Update (version 1903) or later versions and Windows can detect a problem, we’ll run the Search troubleshooter automatically. This troubleshooter will reset Windows Search back to the default experience. View your troubleshooter history under Settings > Update & Security > Troubleshoot > View History. Follow the steps below if your issue is still not resolved.
Original product version: В Windows 10 — all editions
Original KB number: В 4520146
Check for updates
Windows 10 lets you choose when and how to get the latest updates to keep your device running smoothly and securely. To manage your options and see any available updates, select the Start button, and then go to Settings > Update & Security > Windows Update > Check for updates. Install any available updates, and then restart your computer if the updates require it.
For more information, see Update Windows 10.
Run the Search and Indexing troubleshooter
Your PC automatically indexes content to deliver faster search results. Learn more about Search indexing in Windows 10.
Use the Windows Search and Indexing troubleshooter to try to fix any problems that may arise. To use the troubleshooter, follow these steps:
- Select Start, then select Settings.
- In Windows Settings, select Update & Security >Troubleshoot. Under Find and fix other problems, select Search and Indexing.
- Run the troubleshooter, and select any problems that apply. Windows will try to detect and solve them.
You can also use a command prompt to open the troubleshooter. Press Windows logo key+R, enter cmd in the Open box, and then select OK. At the command prompt, run the following command:
Restart Windows Search or your device
End the SearchUI process to restart Windows Search by following these steps:
- Press Ctrl+Alt+Delete, and select Task Manager.
- In the Task Manager window, select the Details tab.
- In the Name column, right-click SearchUI.exe, and then select End task.
- When you’re prompted to end SearchUI.exe, select End process.
The Windows Search process will automatically restart the next time that you search.
If this solution doesn’t fix your problem, try restarting your device. Restarting will also install any pending updates.
You may want to bookmark this page before you restart.
Reset Windows Search
Try resetting Windows Search by using the method that’s appropriate for your version of Windows.
To determine which version of Windows your device is running, follow these steps:
Select Start > Settings > System > About.
Under Windows specifications, check which version of Windows your device is running.
Resetting Windows Search does not affect your files. However, it may temporarily affect the relevance of search results.
Windows 10, version 1809 and earlier
If the Windows 10 October 2018 Update or an earlier update is installed, reset Cortana to reset Windows Search by following these steps:
- Select Start, right-click Cortana, select More, and then select App settings.
- In the Cortana settings, select Reset.
Windows 10, version 1903 and later
If the Windows 10 May 2019 Update or a later update is installed, use Windows PowerShell to reset Windows Search by following these steps:
You must have administrator permissions to run this script.
Download the ResetWindowsSearchBox.ps1 script from the Reset Windows Search PowerShell script, and save the file to a local folder.
Right-click the file that you saved, and select Run with PowerShell.
If you’re asked the following question, select Yes.
Do you want to allow this app to make changes to your device?
The PowerShell script resets the Windows Search feature. When the word Done appears, close the PowerShell window.
If you receive the following error message:
Cannot be loaded because running scripts is disabled on this system
enter the following command on the command line of the PowerShell window, and then press Enter:
The current policy appears in the window. For example, you might see Restricted. We recommend that you note this value because you’ll have to use it later.
Enter the following command on the command line of the PowerShell window, and then press Enter:
You’ll receive a warning message that explains the security risks of an execution policy change. Press Y, and then press Enter to accept the change.
To learn more about PowerShell execution policies, see About Execution Policies.
After the policy change is completed, close the window, and then repeat steps 2-4. However, when the Done message appears this time, DON’T close the PowerShell window. Instead, press any key to continue.
Revert to your previous PowerShell execution policy setting. Enter the following command on the command line of the PowerShell window, press the Spacebar, enter the policy value that you noted in step 5, and then press Enter:
For example, if the policy that you noted in step 5 was Restricted, the command would resemble the following one:
You’ll receive a warning message that explains the security risks of an execution policy change. Press Y, and then press Enter to accept the change and revert to your previous policy setting.
Close the PowerShell window.
If your organization has disabled the ability to run scripts, contact your administrator for help.
Help us improve Search in Windows 10
If the previous suggestions don’t fix the problem, let us know by sending feedback in the Feedback Hub. Provide details, such as a description of the problem, screenshots, log files, and any other information that might be helpful. In the Feedback Hub, select the appropriate category and subcategory. In this case, submit your feedback in the Cortana and Search category.