There are times when the Windows Search doesn’t work and you wouldn’t have a clue as to why it happened since it does not give any error codes. In such cases, you have to check the error logs in the Event Viewer to find out more about the problem. From there, look for an error with the Event ID 3104 in the Windows error logs and if you see an error message that says, “Enumerating user sessions to generate filter pools failed”, read on as this post will guide you in fixing the problem. Apart from the error message, you might also see more information in the details section of the log that says, “(HRESULT: 0x80040210) (0x80040210)”.
This kind of error is most likely caused by something that prohibits the search function from initializing. A lot of users assumed that it could be due to Cortana but it’s actually not. While some users also reported that they encounter the issue after they restarted their computers. This error was also reported with the same event ID 3104 on the Windows Server. According to security researchers, this error could be caused by problems in the Registry entry of Windows search. It could also be due to an issue with the SYSTEM account where it hasn’t been added to the DCOM Security. It is also possible that the Windows Search function has not been initialized.
To fix this error, you can try to rebuild the Search Index manually or run the Search and Indexing troubleshooter. You can also check the startup type of the Windows Search service or try some registry tweak.
The first thing you can do to fix the problem is to manually rebuild the Search Index. You can do that by going to Control Panel > Indexing Options and from there, click on Advanced. After that, go to the Index Settings tab and then click on Rebuild > OK. Once you’re done, check if it fixed the problem.
You could also run the Search and Indexing troubleshooter in Windows 10 as it checks whether the settings are in place and automatically corrects any issues with the Windows 10 search function. To run this troubleshooter, just click on the Start button and select Settings > Updates and Security > Troubleshoot. From there, select the Search and Indexing Troubleshooter. Once the troubleshooter is done, restart your computer and see if it fixed the error.
In this option, you have to check the startup type of the Windows Search service since the service won’t start. To do so, refer to these steps:
Before you apply some registry tweak, you need to create a System Restore point first. Once you have that covered, follow these steps:

java -Xms1024M -Xmx1024M -jar {server file name} nogui
net stop wuauserv net stop bits
net start wuauserv net start bitsSince the folder has already been flushed, it will be populated afresh the instant your restart your computer and open Windows Update. Now try to update your computer again and see if the error is fixed or not.
Some users trying to upgrade from Windows 7 or Windows 8/8.1 reported experiencing installation rollback with error code 0x80070004. This error normally appears when the Computer Name is set to names that can’t be used for the computer. It’s also possible this error occurs if users or program files folder were redirected to a different partition.
Error CausesThe Error code 0x80070004 on Windows 10 is normally caused if any of the following were used as the Computer Name and the user tried to upgrade to Windows 10:
If you don’t solve this error, you won’t be able to upgrade from Windows 7 or Windows 8/8.1 to Windows 10. Note that this error will continuously bring you back to the original OS unless fixed.
Please note that if you’re not confident in doing these steps, you might want to consider seeking the help of an expert or using an automated tool that will help fix this.
Here are a few methods to try.
The most common cause of this error is if your computer uses any of the following reserved names:
These reserved names are not meant to be used as computer names. If this is what your computer uses and you try to upgrade to Windows 10, you will surely get this error. Check your computer name and if you see any of the reserved names, change it right away.
Changing Computer Name in Windows 8.1
If you’re trying to upgrade from Windows 8.1, you can change the name of the computer by following these steps:
Changing Computer Name in Windows 7
If you’re trying to upgrade from Windows, you can follow the steps below to change the name of your computer.
If the first method doesn't work, it probably means the computer name isn’t the cause of this error. Another reason why users experience Error code 0x80070004 when upgrading to Windows 10 is if the “Users” directory was relocated. So, when you try upgrading to Windows 10, the installer wasn’t able to find the user profiles on the “%systemdrive%”, where the current operating system is installed.
If you changed or moved any of the Users, Program Data, or Program Files folders, this will cause the error. Before you upgrade to Windows 10, you might be required to reset or reinstall your current operating system (Windows 7 or Windows 8.1).
If you haven’t made any changes or haven’t moved any of the mentioned folders, there’s a great chance that your users' profiles are corrupted. You can also reinstall your current operating system. However, you might want to check for the corrupter user profile first. To do this, follow the steps below:
On the Users Profiles, make a copy of all the accounts somewhere. Sign out from the current user account then try logging in back using the accounts you’ve copied. For each account, you get an error, delete it. However, make sure that you don’t delete the UpdateUser and Administrator account ever.
After this is done, try upgrading your operating system to windows 10 again.
If the above methods still not useful, you might want to rely on an automated tool. Find a secured and trusted tool. It will help fix this issue.
@echo off taskkill /f /im explorer.exe taskkill /f /im shellexperiencehost.exe timeout /t 3 /NOBREAK > nul del %localappdata%PackagesMicrosoft.Windows.ShellExperienceHost_cw5n1h2txyewyTempState* /q timeout /t 2 /NOBREAK > nul start explorer @echo on
DEL /F /A <file path with extension>Note: In the given command, “/F” is the force delete command, while “/A” is the command that selects the files with the ready for archiving attribute. Step 4: After that, go to the location where you can find the folder you want to delete by using the “cd” command again. And then execute the following command right after:
RD /S <folder path>Note: In the given command, “RD” is the command that removes the folder from the directory, while “/S” removes all of its sub-folders and files. On the other hand, if you also use the “/Q” parameter, you won’t see the “Y/N” confirmation but if you didn’t use it, then simply tap the Y button to proceed.
Error Causesnet stop wuauserv net stop bits
net start wuauserv net start bitsSince the folder has already been flushed, it will be populated afresh the instant your restart your computer and open Windows Update.