Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 724
  • Last Modified:

Defrag Index EDB - Windows Server 2012 R2

Dear Experts

Is it possible to defrag the windows.edb that is used by the search index in Server 2012 R2?

The index on my RDS 2012 R2 server is growing out of control.

We have tried this but it does not work:

Amend registry value

Name : CoreCount
Type : DWORD
Value : 1
Location : HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Search

It appears to be a bug in 2012 R2.
0
TTAF4
Asked:
TTAF4
2 Solutions
 
Davis McCarnOwnerCommented:
1
 
Mike TLeading EngineerCommented:
Hi,

I agree with David above. The best I would suggest is if you really must use it on RDS, enable it and monitor the EDB file, and when it gets to a threshold, turn it off, which I believe deletes the EDB, but if not, just do it yourself, and then re-enable it.

There is a long-ish article that details compacting it or defragging it when it gets to big:

http://winaero.com/blog/fix-windows-search-fills-your-hard-drive-with-a-large-edb-file/

Mike
1
 
TTAF4Author Commented:
Thank guys. Really really appreciate it.

Defragmenting the index DB took it down from 96GB to 10gb.
0

Featured Post

Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now