Friday, August 29, 2014

Windows Search Not Working

I was having a problem getting Windows Search to work on a Windows 2012 R2 server and didn't find much help out in Google-land.  Most results for Windows Search or Indexing Service was for desktop OS's also.  

Here was my scenario:
  • I installed the Windows Search Feature on a Windows 2012 R2 server.  
  • In Control Panel -> Indexing Options, I added the "Marketing" folder from a drive that is attached to the server, plus a few other folders on a different drive.  
  • The "few others" seemed to work.  However, now on the Marketing folder, when you did a search,  all that would come up was "No items match your search."
  • What's worse, you could no longer search the Marketing folder at all, not even the slow non-indexed way.  Everything would turn up "No items match your search."
  • Searching for help on the Internet was a bust. 
I noticed Event ID 3036 in the Application log.  There were some hits on that, but again not much help on Google.  The main thing that caught my attention in the log entry though was "Crawl could not be completed on content source <file:H:/Marketing/>."    Then down lower in the details it said "Access is denied". Ding-Ding!  

I checked the security on H: (a local hard drive) but that looked fine.  However, when I looked at the Marketing folder itself, the security was changed and inheritance was taken away.  This was so that Domain Users didn't have any sort of access by default - only certain users have access to that folder.  The issue was that whoever setup the security (which might have been me) didn't put SYSTEM in there with Full Control (or any rights at all in this case.)  I added SYSTEM in there with Full Control and applied; it took a while to propagate.  

Within a few minutes of that change I noticed (within the Indexing Options control panel applet) that indexing was chugging again and the documents count was going up.  When done, indexing was working – yeah!! 

So since there wasn’t any solution that I could find when searching the Internet, I figured I’d toss it on where to perhaps help the next guy!


This was helpful too, so I didn’t have to wait FOREVER for indexing to take place.

Make indexing run faster (don't pause for user activity)
Regedit -> Computer\HKLM\SOFTWARE\Microsoft\Windows Search\UseLowPriorityConfiguration - change to "0"


2 comments:

  1. Well I found out how to fix it as I posted above, but I ended up turning it off. I had heard that Windows Search wasn't very good for a large set of files but wanted to try it first hand. Well I tried it, it sucked. When it worked, it worked good; but every other day or so all the server shares would be come inaccessible needing a server reboot to fix. Even the non-indexed shares. Not good for the main fileserver!! Disabled search service and the server is happy as a clam. Disappointing!!!

    ReplyDelete
  2. MapleStory.es - 3D isometric adventure MMORPG<

    Download MapleStory and start the game.

    https://maplestory.es/

    MapleStory is a free to download 2D online video game of the MMORPG genre, created by the Korean company Wizet. Although the game is free to play, it includes other items that can be purchased for real money. Around the world, the game has millions of users. The story of the game is about some travelers who seek to save the Maple World from the terrible Black Mage. In this plot, the travelers become stronger as they eliminate the enemies of the game, many creatures of different appearance. As they advance in level, travelers choose the paths and disciplines to follow, which we will detail below.

    What is MapleStory?
    MapleStory 2 is a 3D isometric adventure MMORPG in which players create their own character and select one of several jobs to explore the new Maple World. Players will find several NPCs with various Quests, Monsters, and Bosses from the previous version, as well as completely new ones to fight against. The game also features dungeons and raids for players to team up with each other to complete.

    Out of action
    There are also a variety of activities for players to participate in, such as buying and building personal homes, crafting with Life Skills, fishing, composing music, creating custom user content such as custom clothing, and much more.

    History of the last UPDATE
    Nexon published the first closed beta test of the global version which ran from May 9, 2018 to May 16, 2018, and a second closed beta ran from July 18 to August 1, 2018. The game launched on October 10, 2018 with players who purchased a Founder's Pack on or after October 1, 2018. On Wednesday, May 27, 2020, Nexon ended service for the global version of MapleStory 2.

    https://maplestory.es/

    ReplyDelete

Please let me know if this helped you out, or if you would like to submit other suggestions or correct something I may have mis-stated.

About Me

My photo
Science Fiction Author / Vice President of Technology for The Christman Company