Служба Windows Search отвечает за поиск файлов и папок на устройстве. Она способна искать данные не только по наименованию файлов, но и по содержанию этих файлов (метаданным, свойствам и т.д.). Например, поиск по содержанию файлов по умолчанию активирован для текстовых и офисных документов (txt, doc, docx, xls, xlsx, pdf).
На компьютере может быть очень много файлов и папок. Чтобы поиск по устройству не занимал много времени, служба Windows Search использует индексацию файлов. Процесс индексирования представляет собой чтение диска с данными и запись информации о просканированных файлах в базу данных. Индексирование осуществляется в фоновом режиме. Когда вы сохраните новый документ в индексированном расположении, служба Windows Search проиндексирует его и сохранит собранную информацию о нём в своей базе.
Индексатор службы Microsoft Windows Search грузит процессор?
Обычно индексатор службы Microsoft Windows Search не грузит процессор. В нашем случае, когда все файлы проиндексированы, нагрузка на центральный процессор составляет 0%, а объём используемой оперативной памяти составляет порядка 80МБ.
-
На скриншоте видно, что Индексатор службы Microsoft Windows Search в Windows 10 не нагружает процессор, так как все файлы проиндексированы. -
Поэтому, если на вашем устройстве индексатор службы Microsoft Windows Search грузит процессор, это означает, что в настоящее время идёт индексирование файлов. Если вы активно пользуетесь устройством, нажимаете на клавиши клавиатуры, водите мышкой, служба Windows Search замедляет скорость сканирования. В нашем случае при сниженной скорости индексирования нагрузка на процессор составляет 0,6-1,2%.
-
На скриншоте видно увеличение нагрузки на процессор, так как идёт индексирование новых файлов (при сниженной скорости сканирования) -
Конечно, нагрузка будет больше, если процессор относительно старый и имеет одно-два логических ядра. Поэтому приведённые значения нагрузки индексатора службы Microsoft Windows Search на процессор следует считать условными.
Как можно уменьшить нагрузку службы Microsoft Windows Search на процессор?
Определяем папки, которые служба поиска должна индексировать
- Найдите и запустите «Параметры индексирования» в классическом варианте Панели управления.
Как открыть классическую Панель управления?
Несколько простых способов в отдельной статье
- В открывшемся окне нажмите кнопку «Изменить».
- Отметьте галочками папки или диски, которые вы хотите индексировать в фоновом режиме. Оставьте пустым квадрат, чтобы не индексировать папку или диск. После выбора индексируемых расположений нажмите кнопку «ОК».
Уменьшив количество папок и дисков в окне «Индексируемые расположения», вы сможете сократить нагрузку индексатора службы Microsoft Windows Search на процессор. Но имейте в виду, что поиск в исключенных расположениях будет долгим. А в случае использования кнопки поиска в панели задач поиск в неиндексированных расположениях осуществляться не будет. Поэтому не старайтесь исключать все папки. Оставьте папки, в которых вы часто используете функцию поиска.
Устанавливаем классический режим поиска
В Windows 10 предусмотрено 2 режима поиска: классический и расширенный. При классическом режиме поиск осуществляется только в библиотеках пользователя и на рабочем столе. Расширенный режим позволяет искать файлы по всему компьютеру, за исключением системных папок. Расширенный режим, как предупреждает операционная система, может снизить уровень заряда и увеличить нагрузку на центральный процессор. Особенно это актуально для владельцев ноутбуков, которым важно, чтобы их устройство проработало в автономном режиме как можно дольше.
- Перейдите в новые «Параметры Windows» (нажмите на клавиатуре кнопку с логотипом Windows + I ).
- Нажмите на раздел «Поиск».
- В левом боковом меню нажмите на «Поиск в Windows».
- Прокрутите список настроек и выберите параметр «Классический стиль».
Активируем привязку производительности индексатора к параметрам питания устройства
Изменять режим производительности индексатора стало возможным с момента появления Windows 10 версии 2004 (майское обновление 2020 года). Если включить параметр «Использовать параметры режима питания устройства», служба Windows Search будет оценивать, запущен ли на компьютере режим энергосбережения, пониженного электропотребления или игровой процесс. Если да, то служба поиска приостановит индексацию в фоновом режиме.
Также при включении производительности индексатора служба поиска приостановит индексацию файлов в фоновом режиме, если загрузка центрального процессора превысит 80% или загрузка жесткого диска поднимется свыше 70%.
- Перейдите в новые «Параметры Windows» (нажмите на клавиатуре кнопку с логотипом Windows + I ).
- Нажмите на раздел «Поиск».
- В левом боковом меню нажмите на «Поиск в Windows».
- Прокрутите список настроек и включите параметр «Использовать параметры режима питания устройства».
Отключаем службу Windows Search
Отключая службу Windows Search, вы отключите индексирование папок и файлов в фоновом режиме.
Вы сможете осуществлять поиск по устройству, но он будет медленным.
- Запустите приложение «Выполнить» (нажмите на клавиатуре кнопку с логотипом Windows + R ).
- Наберите текст
services.mscи нажмите кнопку «ОК».
- В открывшемся окне найдите службу Windows Search.
- Дважды нажмите на строку службы «Windows Search». Откроется окно с настройками.
- Выберите тип запуска «Отключена».
- Нажмите кнопку «Остановить», чтобы завершить активный процесс выполнения службы Windows Search.
- Нажмите кнопку «ОК», чтобы сохранить настройки службы.
А как у вас работает служба поиска в Windows? Испытываете ли вы проблемы при ее работе в фоновом режиме?
Расскажите о своем опыте в комментариях 😉
Microsoft Windows Search Indexer, or searchindexer.exe, is a crucial process that powers Windows Search. It indexes the files and folders on your computer and, given its nature, consumes lots of CPU at sporadic intervals. However, if CPU usage remains high for prolonged periods, it may indicate an underlying problem that needs to be addressed.
In this tutorial, we’ll show you how to tackle high CPU and disk usage caused by the Windows Search Indexer with various suggestions and solutions for Windows 10 and 11.
Restart Windows Search Service
It’s best to begin by restarting Windows Search on your computer. That should resolve minor technical issues and reduce high CPU usage caused by the searchindexer.exe process. To do that:
- Right-click the Start button and select Run. Or, press Windows + R.
- Type services.msc into the Run Box’s Open field and select OK.
- Right-click the service labeled Windows Search and select Restart.
Optionally, double-click Windows Search and ensure that Startup type is set to Automatic (Delayed Start).
Restart Your PC
A PC reboot clears out additional software-related anomalies that interfere with system-related processes. Save your work, open the Start menu, and select Power > Restart. If that makes no difference, move on with the rest of the fixes.
Run Search and Indexing Troubleshooter
Windows 11 and 10 have a built-in troubleshooter that helps diagnose and fix issues related to Windows Search. To run it:
- Right-click the Start button and select Settings.
- Go to System > Troubleshoot.
- Select Other troubleshooters/Additional troubleshooters.
- Select Run next to Search and Indexing.
- Follow the onscreen prompts to fix issues with Windows Search.
Rebuild Index
Corruption issues within the Windows Search index often lead to erratic behavior with related processes. Use the Control Panel‘s Indexing Options console to rebuild the index from scratch.
Note: Rebuilding the search index takes time and causes high CPU and HDD/SSD usage for the duration of the procedure.
- Open a Run box, type control.exe srchadmin.dll, and select OK.
- Select the Advanced button at the bottom of the Indexing Options window.
- Select Rebuild.
Note: Removing locations you don’t want to include within Windows Search can lessen the load on the searchindexer.exe process. Select the Modify button on the Indexing Options console and uncheck the indexed locations you wish to exclude.
Update Windows
Keeping your Windows operating system up to date with the latest patches and updates can help resolve high CPU usage issues with the Windows Search Indexer process. This also helps improve system performance, security, and stability.
To update Windows, open the Settings app, select Windows Update, and select Check for updates. If there are pending updates, choose Download and install.
Run an SFC Scan
The System File Checker (SFC) is a command line tool that can help fix system file corruption issues causing the Windows Search Indexer to malfunction. You can run it via an elevated Windows PowerShell or Command Prompt console. Here’s how:
- Right-click the Start menu and select Windows PowerShell/Terminal (Admin). Or, type cmd into the Start menu and choose Run as administrator.
- Run the following command:
sfc /scannow
- Wait until the System File Checker scans for and fixes Windows.
Run DISM Tool to Fix Windows
Next, run the DISM (Deployment Image Servicing and Management) tool to resolve issues with operating system stability. Just re-open an elevated Windows PowerShell or Command Prompt console and execute the following command:
DISM.exe /Online /Cleanup-Image /Restorehealth
Perform a Clean Boot
Clean booting Windows helps you identify third-party applications or services causing conflicts with the Windows Search Indexer. To do that:
- Open a Run box, type msconfig, and select OK.
- Switch to the Services tab, select Hide all Microsoft services, and choose Disable all.
- Restart your computer. If the Microsoft Windows Search Indexer’s high CPU usage stops becoming an issue, re-enable the disabled services individually or in batches to identify the conflicting item.
Additionally, open the Task Manager, disable any non-Microsoft login items from the Startup tab, and check if that helps.
Check for Malware
Malware can hijack the Windows Search Indexer and result in high CPU usage. Run a full system scan to detect and remove malicious software from your system. To do that:
- Open the Start menu, type Windows Security into the search box, and press Enter.
- Select Virus & threat protection.
- Select Scan options.
- Select the radio button next to Full scan and choose Scan now.
- Wait until Windows Security scans your computer for malware.
You can follow that up with a Microsoft Defender Antivirus (Offline scan), which scans your computer thoroughly for hidden threats. You can also use third-party anti-virus programs to deal with stubborn malware.
Factory Reset Windows
If none of the above methods work, consider factory resetting your PC. This will wipe all data from your computer, return the operating system to its original state, and resolve severe underlying issues with the Windows Search Indexer. Before proceeding, make sure to back up all important files and documents.
To initiate a factory reset, open the Settings app and go to System > Recovery > Reset PC. For comprehensive step-by-step instructions, check our guides to resetting Windows 11 and 10 to factory defaults.
Related Posts
- How to Fix a “This file does not have an app associated with it” Error on Windows
- How to Fix an Update Error 0x800705b4 on Windows
- How to Resolve “A JavaScript error occured in the main process” Error on Windows
- How to Fix the Network Discovery Is Turned Off Error on Windows
- How to Change Folder Icons in Windows
Readers help support Windows Report. We may get a commission if you buy through our links.
Read our disclosure page to find out how can you help Windows Report sustain the editorial team. Read more
The Windows Search service is one that indexes files for the Windows search tool. That service is the SearchIndexer.exe or Windows Search Indexer process listed on Task Manager’s Processes tab.
However, some users have found that the Search Indexer process can hog a lot of system resources with high CPU and RAM usage.
Why is Microsoft Windows Search indexer running?
The Windows Search indexer can be a bliss just as much as it can be a nuisance and here’s why. Its role is to handle file indexing and thus speed up the search process on your PC.
When it’s running, you find whatever it is that you’re looking for faster. But it can also slow down your drive and affect your overall performance since it’s a relatively resource-intense process, to begin with.
Now, turning the Windows 10 indexing off in order to cut down on the Searchindexer.exe high CPU makes sense if you have a fast drive such as SSD as it can handle the search and retrieval of results on its own.
As always, the right configuration implies balancing different components, but if the Windows desktop search support high CPU becomes unbearable, you can rest assured that disabling the service -at least temporarily – won’t affect your system in any way.
You can always download Indexer Diagnostics to fix Windows Search issues, including high resource consumption instances. If not, feel free to check out our handy solutions to reduce the Windows search’s high CPU utilization.
? Microsoft Windows Search indexer high CPU on Windows 11
Before we move on with the solutions, let’s take a moment to see if and how the Windows desktop search support high CPU issue also applies to Windows 11. In short, yes, it does.
The good news is the solutions listed below will work just as well on the latest version of your OS. In addition, you can also perform these steps:
- Update your drivers on the Windows 11 OS
- Run SFC and DISM commands
- Perform a System Restore to a point previous to the issue
In some cases, the Windows 11 Search Indexing can be turned off completely, so might want to enable it again.
How do I fix Windows Search Indexer high CPU?
1. Use a third-party repair software
If you’re having issues with Search Indexer’s high CPU usage, you should be able to fix it using specialized repair software that can fix a wide array of PC issues automatically.
The software will scan your PC for any problems and give you a list of issues. You can fix all these issues with just a couple of clicks without any additional user input.
These tools can fix a wide array of Windows errors, missing DLL files, BSOD errors, freezes, crashes, and, most importantly high CPU usage, so be sure to check them out.
2. Restart the Windows Search Service
-
1. You can start by pressing the Win + R hotkey and entering services.msc in Run‘s text box.
-
2. Press Run‘s OK button to open the Services window.
-
3. Scroll down to Windows Search.
-
4. Double-click Windows Search to open its configuration settings shown directly below.
-
5. Select Disabled from the Startup type menu.
-
6. Press the Stop button.
-
7. Press the Apply and OK buttons.
-
8. Restart your PC.
-
9. Thereafter, open the Windows Search service window again.
-
10. Select Automatic (Delayed Start) from the Startup type drop-down menu.
-
11. Click the Start option, and then press the Apply and OK buttons to restart Windows Search.
Restarting the Windows Search service might reduce the Search Indexer’s CPU usage. You can do this using the built-in Run dialog, which allows you to access Windows Search Properties.
After restarting the services, the problem with searchindexer.exe high CPU usage should be resolved.
- How to fix Windows 11’s Search indexing was turned off error
- What’s drive indexing on Windows 10 and how it works
- Windows 10/11 File Explorer search not working
- How to disable the search functionality on Windows 11
3. Run Search and Indexing Troubleshooter
- Click the Start button and select Settings.
- Now select Update & Security from the menu.
- Click on Troubleshoot from the left pane and Additional troubleshooters from the right.
- Select the Search and Indexing troubleshooter and hit the Run the troubleshooter button.
- Follow the on-screen instructions to fix the issue.
This can help fix other issues like search results aren’t quite ready yet.
4. Reduce Indexed Locations / Data
- To open Indexing Options, press the Cortana taskbar button.
- Enter indexing in the search box. Then click Indexing Options to open the window shown directly below.
- Press the Modify button to open the Indexed Locations window.
- Click the arrow beside the C: drive to expand its folders. Now you can deselect some of the check boxes to remove indexed locations.
- Press the OK button on the Indexed Locations window.
- Click Close on the Indexing Options window.
Reducing the amount of data the Search Indexer is indexing is one of the best ways to fix Windows Desktop Search support high CPU usage.
Users also complained about the delayed write failed error but the highlighted guide will help you fix it.
5. Rebuild the Index
- Open Indexing Options as outlined above.
- Click the Modify button, and deselect all the selected locations except the C: drive, as shown below.
- Click OK to return to the Indexing Options window.
- Press the Advanced button to open the tab shown directly below.
- Press the Rebuild button on the Index Settings tab.
- That will open the dialog box shown directly below. Press the OK button to confirm and rebuild the index.
Users reported that rebuilding the index fixed the searchindexer.exe high CPU usage, so we encourage you to try that.
6. Disable Windows Search Indexer
- Enter the keyword windows features in the Control Panel‘s search box.
- Click Turn windows features on or off to open the window directly below.
- Deselect the Windows Search check box.
- Press the OK button to confirm the new settings.
- Reboot your desktop or laptop.
7. Run System File Checker
- Click the Start button, type cmd, and select Run as administrator from the results.
- Write or paste the following command and press Enter to execute it:
sfc /scannow - The process will start and the system files will be repaired. Wait until it is finished, then restart your device.
Should I disable indexing in Windows 10?
Digital indexation allows you to locate content faster by using specific filters such as keywords or creation dates. Now, if you don’t really search for files that often or if you use an SSD that can quickly retrieve files, it does not make much sense to keep indexing on.
The same goes for Microsoft Windows Search Indexer high CPU cases as you can easily get stuck at 100% disk usage.
This might be a more drastic resolution, but it will help with the Searchindexer.exe high CPU consumption rates. Don’t worry, this does not mean you won’t be able to use Windows Search at all.
Plus, if you need a replacement for Windows Search after switching it off, there are plenty of alternative third-party search utilities.
For example, you can install the freeware Agent Ransack, Copernic Desktop Search Lite, or UltraSearch. Agent Ransack is a highly-rated search software that has Lite and Pro versions.
So that’s how you can cut the Windows Search’s CPU and RAM usage down to size. That will free up system resources for other software and might also speed up the Windows OS a little.
Matthew Adams
Windows Hardware Expert
Matthew is a freelancer who has produced a variety of articles on various topics related to technology. His main focus is the Windows OS and all the things surrounding it.
He is passionate about the tech world, always staying up-to-date with the latest and greatest. With an analytical view, he likes problem-solving, focusing on errors and their causes.
In his free time, he likes to read and write about history and tries to always develop new skills.
When you open the Task Manager in Windows 10 or Windows 11, you will usually see a process called Search Indexer or searchindexer.exe that’s using a lot of your CPU and Disk from time to time. This article will explain what Search Indexer is and what you can do about it when it’s using too much CPU or Disk.
Also see: High CPU Usage After Windows 11/10 Update (Fix)
Why is Search Indexer causing high CPU and Disk usage?
When you search for files in the Windows 11 or Windows 10 start menu or File Explorer, you may have noticed the search results can sometimes appear almost instantly. This is because those files have been indexed by a feature called Search Indexer. It is a process that indexes selected files so that searching can be quick. But the indexing process can also cause high CPU and Disk usage in the background. It can sometimes reach as high as 100% (usually when your PC is idle).
The time and resources required to complete the indexing process depend on the number of files it needs to index, the speed of your hard drive (SSD is generally faster), and, of course, the power of your CPU. When the Search Indexer runs at full speed, it might slow down your computer in general.
How to disable Search Indexer in Windows 10/11
We don’t usually suggest turning off Search Indexer, but you can if it’s slowing your computer. Before you decide to turn it off, try the other fixes which we will mention later.
Disabling Search Indexer for a specific disk
To disallow Search Indexer from indexing a particular disk, follow these steps:
- Open File Explorer and go to This PC, where all your drives are listed.
- Right-click on the disk you want to disallow indexing for.
- Select Properties.
- At the bottom of the Properties window, uncheck the box that reads Allow files on this drive to have contents indexed in addition to file properties.
- Click Apply, then OK.
- Restart your computer.
Search Indexer should stop indexing contents on that particular drive. Use this method to stop indexing for drives with a large amount of data that you don’t need indexed.
Completely disabling search indexer
To completely disable the Search Indexer service, follow the steps below:
- Go to the start menu.
- Type services.msc and open it.
- In the Services window, look for Windows Search from the list of services on the right panel.
- Right-click on it and select Properties.
- Beside startup type, click on the drop-down menu and select Disabled.
- Click Apply, then OK.
- Restart your PC.
The Search Indexer service should now be disabled and won’t index any files or contents until you re-enable it. Note that searches for files and contents may take longer now.
Restart Search Indexer (searchindexer.exe) service
Restarting Search Indexer Service
Before completely disabling the Search Indexer service, you should try to restart the service and see if it resolves the high Disk or CPU usage problem.
Sometimes searchindexer.exe can get stuck when indexing files or folders that are too large or are frequently accessed. Restarting the Windows 10 or Windows 11 Search Indexer service can help fix the high Disk/CPU usage issue.
To restart the service, follow these steps:
- Press Windows key + R to open the Run window.
- Type services.msc and hit Enter.
- In the Services window, find Windows Search from the list of services.
- Right-click on it and select Properties.
- Click on the Stop button to stop the service immediately.
- Click on the Start button to restart it.
- Check your Task Manager again to see if Search Indexer is still using high CPU or Disk usage.
Manually selecting directories to index
When Search Indexer runs non-stop at high Disk/CPU usage, you may want to manually select the directories or folders you want to index. This allows Search Indexer to index only those directories, saving resources by not indexing other large folders you rarely access.
To do this, follow the steps below:
- Go to the start menu.
- Search for indexing, then open Indexing Options from the search results.
- Click on the Modify button.
- Optionally, click on Show all locations before modifying.
- Select or deselect folders or directories you want Search Indexer to index under Change selected locations.
Search Indexer indexes each item only once, and will only index the same item again if changes are made to the file. By selecting only the folders you want it to index, you can immensely reduce the searchindexer.exe high CPU/Disk usage, especially if you have multiple disks with large amounts of data.
Troubleshooting and rebuilding the index to fix high CPU or disk usage
If none of the above solutions work to resolve the Search Indexer high Disk or CPU usage issue, try running the troubleshooter for search and indexing in Windows 10 or Windows 11.
To troubleshoot and rebuild the index, follow the steps below:
- Open Indexing Options as outlined above.
- In the Indexing Options window, click on the Advanced button.
- Under Troubleshooting in the Index Settings tab, click on the troubleshoot search and indexing link.
- The troubleshooter should start to automatically identify and resolve any problems.
If there is an issue with Search Indexer, rebuilding the search index can help resolve it. To rebuild the index, follow these steps:
- Open the Indexing Options window again.
- Click on Advanced.
- Under Troubleshooting, click on the Rebuild button to rebuild the entire search index.
- This may take some time as Search Indexer reindexes your contents.
- After the index is finished, Search Indexer should stop working until new files are added to your disk.
We hope that these solutions can somehow help resolve your Search Indexer high CPU or Disk usage problem in Windows 10 or Windows 11.
Windows 10 indexing high CPU usage can negatively impact the performance of your computer. If the process spikes up suddenly, you can try the solutions mentioned in this post from MiniTool Website.
Windows Search Indexer High CPU Usage
Windows search indexer can help to handle file indexing hence speeding up the search process on your computer. Sometimes, it might occupy many CPU, disk or memory resources, slowing down your drive and affecting the overall performance of your computer.
If you are also bothered by Window indexing high CPU, disk, or memory usage at the moment, the solutions below might help you out.
Tips:
Windows indexing high CPU usage might contribute to a system crash all of a sudden. A sudden system crash can cause unexpected data loss. Therefore, it is of necessity to back up your important files with the free backup software – MiniTool ShadowMaker to keep your data safe.
MiniTool ShadowMaker TrialClick to Download100%Clean & Safe
How to Fix Indexing High CPU/Disk/Memory Usage?
Fix 1: Restart the Search Index
If Windows Search is running for a very long time, it might open other tasks, leading to index high CPU usage. Therefore, restarting this service might help to reduce the load of the CPU usage.
Step 1. Press Win + R to open the Run box.
Step 2. Type services and hit Enter to open Services.
Step 3. Scroll down to locate Windows Search and right-click on it to choose Properties.
Step 4. Choose the Startup type to Automatic and hit Start.
Step 5. Click on OK to save the changes.
Fix 2: Run Search and Indexing Troubleshooter
When Window encounters some errors with Windows search indexer, you can exploit the Search and Indexing troubleshooter to check and fix the problem itself.
Step 1. Press Win + I to open Windows Settings.
Step 2. Go to Update & Security > Troubleshoot > Additional troubleshooters.
Step 3. Scroll down to find Search and Indexing > hit it > hit Run the troubleshooter, and then the troubleshooter will start troubleshooting the errors in Windows Search for you.
Fix 3: Reduce Indexed Data/Locations
Reducing the amount of data the search indexer is indexing is one of the best ways to fix Windows search indexer high disk usage. To do so:
Step 1. Press Win + R to open the Run box.
Step 2. Type in Control Panel and hit Enter.
Step 3. Click on View by and select Small icons.
Step 4. Scroll down to find Indexing Options and hit it.
Step 5. Click on Modify > deselect all the locations except the C: drive > hit OK.
Fix 4: Rebuild the Index
If you don’t have any resource-intensive tasks planned for the new couple of hours, you can try rebuilding the search index. Here’s how to do it:
Step 1. Press Win + R to open the Run box.
Step 2. Type in Control Panel and hit Enter.
Step 3. Click on View by and select Small icons.
Step 4. Scroll down to find Indexing Options and hit it.
Step 5. Click on Modify > deselect all the locations except the C: drive > hit OK.
Step 6. Go back to the Advanced Options window > click on Advanced > Rebuild > OK.
Fix 5: Delete the Search Database
If the search database is corrupted or too big, Microsoft Windows search indexer high CPU usage will also appear. In this case, you can delete the Windows.ebd file to free up more resources.
Step 1. Press Win + E to open File Explorer.
Step 2. In the View tab, tick Hidden items.
Step 3. Navigate to the following location:
C:\ProgramData\Microsoft\Search\Data\Applications\Windows
Step 4. Scroll down to find Windows.ebd and right-click on it to choose Delete.
Fix 6: Run SFC & DISM
System file Corruption is another possible culprit of Indexing high CPU usage. Here’s how to fix the faulty system files:
Step 1. Type cmd to locate Command Prompt and right-click on it to choose run it as an administrator.
Step 2. Type sfc /scannow and hit Enter.
Step 3. After the process is complete, reboot your computer and run CMD as an administrator.
Step 4. Run the following command one by one and remember to hit Enter after each command.
DISM /Online /Cleanup-Image /CheckHealth
DISM /Online /Cleanup-Image /ScanHealth
DISM /Online /Cleanup-Image /RestoreHealth
Step 5. Restart your system.
