大网数据广告活动
启动与系统组件

Windows.edb becomes larger than expected

· 52CE 我爱测

Address an issue in which Windows.edb becomes larger than expected when PST files are indexed in Windows 10, 8.1, or 8.

This article provides a workaround for an issue where Windows.edb becomes larger than expected when PST files are indexed in Windows 10, 8.1, or 8.

Applies to:   Windows 10 - all editions
Original KB number:   2952967

Symptoms

When you index a PST file from Control Panel > Indexing options, the size of the Windows.edb file (which is located under %ProgramData%\Microsoft\Search\Data\Applications\Windows) grows in proportion to the size of the PST file. This issue can result in low disk space and other performance issues. This issue doesn't occur in Windows 7.

Cause

There are two reasons why Windows.edb is larger in Windows 8, Windows 8.1 and Windows 10 than in Windows 7:

  • Both properties and persistent indexes are stored in Windows.edb starting with Windows 8. in Windows 7, only properties are stored in Windows.edb-p persistent indexes are stored separately, in *.ci files.

  • Windows 8, Windows 8.1 and Windows 10 indexes the entire contents of files, regardless of their size. Windows 7 indexes only the first part of large documents.

Neither of these behaviors is configurable on Windows 8, Windows 8.1 or Windows 10. This behavior improves recall for searches and general performance of indexing and querying.

Workaround

To work around this issue, follow these steps:

  1. Index less content. If you have a lot of content, Windows.edb can be expected to grow very large. In this case, the only option to reduce disk usage is to index less content locally (by having Outlook cache less mail locally or by changing scopes in Indexing Options > Modify, followed by rebuilding the index from Advanced > Rebuild).

  2. Run an offline defrag of the .edb file from a command prompt by running the following commands:

    Sc config wsearch start=disabled
    Net stop wsearch
    
    EsentUtl.exe /d %AllUsersProfile%\Microsoft\Search\Data\Applications\Windows\Windows.edb
    
    Sc config wsearch start=delayed-auto
    
    Net start wsearch
    

Source: Microsoft Learn / IT Pro troubleshooting by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / IT Pro troubleshooting
适用范围
- Supported versions of Windows Client · Source date 02/12/2026
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。