Solved

Defrag Index EDB - Windows Server 2012 R2

Posted on 2016-08-26
3
149 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 17

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

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Every now and then, Microsoft does something that totally impresses me. It doesn't happen often, but in this case I must say I am thoroughly impressed with Windows Server Backup. One of the long time issues with Windows Backup has been the ability t…
The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
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 they can get their files copied out from their unbootable system without need to use recovery services. As an example non-bootable Windows 2012R2 installation is used which has boot problems.

763 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