Technical questionAccepted answer
OK to delete Windows.db file on PC?
RobertF
Mar 2
0 views1
Recently I've been having issues with my personal laptop's hard drive running out of space.
After scanning my PC with WinDirStat I noticed a file named "Windows.db" (located in C:/ProgramData/Microsoft/Search/Data/Applications/Windows) taking up 116 GB(!) of memory on my hard drive. I believe it's a Windows search index database.
Is it safe to delete this file to free up space?
NOTE: My PC is running on Windows 11.
1 answer
Accepted answer · original discussion
Destroy666
PermalinkMar 2
It is the database for Windows search indexing indeed. You can either safely:
- Rebuild it. Do that by either searching
Indexing optionsor launching them through Control Panel after showing all icons. Then go toAdvancedand clickRebuild. Doing that might reduce its size heavily. It will grow later though. - Disable indexing or choose less locations to index. Again go to
Indexing optionsbut clickModifythis time. Choose only folders that have files that need to be found quickly. Or don't choose anything if you use app like Everything which is generally faster and less space-consuming. Rebuild index after that to make sure it applies the new settings. - Disable Windows Search service temporarily and then delete the file manually. First two options are much more recommended though.
3 question comments
Use comments to ask for clarification. Post a solution as an answer.
DaiPermalink
Mar 3
Also, I think you mean
Windows.edb, not Windows.db (EDIT: Ah, I'm wrong: it looks like in Windows 11 they changed it to Windows.db, and it's now a SQLite database, not JET Blue/ESE, hence the filename extension change)music2myearPermalink
Mar 30
Does this answer your question? Why my windows search index is 255 GB in size and how do I reduce it?