Solved

Defrag Index EDB - Windows Server 2012 R2

Posted on 2016-08-26
3
273 Views
Last Modified: 2016-08-30
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
Comment
Question by:TTAF4
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 43

Accepted Solution

by:
Davis McCarn earned 250 total points
ID: 41772859
1
 
LVL 18

Assisted Solution

by:Mike T
Mike T earned 250 total points
ID: 41772929
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
 

Author Comment

by:TTAF4
ID: 41777554
Thank guys. Really really appreciate it.

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

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I don't know if many of you have made the great mistake of using the Cisco Thin Client model with the management software VXC. If you have then you are probably more then familiar with the incredibly clunky interface, the numerous work arounds, and …
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
In this Micro Tutorial viewers will learn how to use Windows Server Backup to create full image of their system. Tutorial shows how to install Windows Server Backup Feature on Windows 2012R2 and how to configure scheduled Bare Metal Recovery backup.…
In this Micro Tutorial viewers will learn how to use Boot Corrector from Paragon Rescue Kit Free to identify and fix the boot problems of Windows 7/8/2012R2 etc. As an example is used Windows 2012R2 which lost its active partition flag (often happen…

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question