Windows 7 Search Programs And Files stopped working – The Fix

by Klaus Graefensteiner 8. July 2010 08:32

Introduction

A couple of days ago I ran into a problem with the Windows 7 Start and Search dialog. I clicked on the Windows start button and typed “mstsc /console” with the intent to start the Remote Desktop Client. No luck, this feature ceased functioning. It worked in the morning and now any program that I type in the textbox just returns some strange results.

01a - Search is not working

Figure 1: Search Programs And Files behaves strangely

I googled and ended up finding the following discussion thread that help me fix the problem: http://social.answers.microsoft.com/Forums/en-US/w7files/thread/c5e258e4-323a-40f2-b893-5c25b8dace0c.  In this blog post I am now describing in all detail how to troubleshoot The Search on Windows 7 and finally fix it.

Here are the three things to check:

  1. Make sure Search is enabled (of course it is, it worked in the morning)
  2. Use the Windows 7 Search troubleshooting wizard (that didn’t return anything helpful in my case)
  3. Fix the registry (This is dangerous, but fixed my problem)

Verify that Search is enabled

Open the Control Panel.

02 - Control Panel

Figure 2: Control Panel

Click on the Turn Windows features on or off link on the left.

03 - Uninstall and Change Programs

Figure 3: Turn Windows features on or off

Scroll all the way down and make sure that the Windows Search checkbox is checked

04 - Windows Features Search

Figure 4: Windows Search is checked

Run the Windows 7 Troubleshooter for Search

Let’s assume Windows Search is enabled. Now lets use one Windows 7’s new features: Troubleshooters. To get there go to the Control Panel again. This time click on the Find and fix problems link in the System and Security group (top left).

02 - Control Panel

Figure 5: Control Panel

This will open the Troubleshooting screen. In the top right corner is a little search field. Type “search” there and hit enter.

07 - Control Panel Troubleshooting

Figure 6: Search for Search in the Troubleshooting screen

The result should display a link to the Search and Indexing troubleshooting script.

 08 - Searching for search troubleshooter - results

Figure 7: Search and Indexing troubleshooting script

Click on the link and follow the wizard steps.

09 - Troubleshoot Search and Indexing

Figure 8: Troubleshooting Search and Indexing didn’t return a problem in my case

Fix the Search in the Windows Registry

All the steps above didn’t fix the problem, but the following change of one registry key will finally make the search working again. First you need to open Regedit.exe, which is located in the c:\Windows folder.

 10 - RegEdit Location

Figure 9: Regedit location

Navigate to the following key:

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes\{EF87B4CB-F2CE-4785-8658-4CA6C63E38C6}\TopViews\{00000000-0000-0000-0000-000000000000}.

This should display the list of properties as shown in the picture below.

11 - Registry Editor Current User

Figure 10: Registry values

Double click on the property on the right that is called GroupBy. It should most likely display the Value data: System.Null.

12 - Edit String Before

Figure 11: Wrong GroupBy value of System.Null

Change the value to: System.StartMenu.Group

13 - Edit String After

Figure 12: Correct GroupBy value is System.StartMenu.Group

Click the OK button and the Search should work again. It did at least in my case.

14a - Program Manager Search is working again

Figure 13: Search is working again

Ausblick

The good news is that my search feature is working again. The question remains: What caused the registry corruption? Here is a list of changes on my computer that happened since the feature last worked and I noticed the problem first.

  1. Installed ITunes 9.2
  2. Installed Safari 5.0
  3. Reverted .NET strong key assembly enforcement loosened by sn -Vr * with sn -Vx as admin in VS2010 command prompt.
  4. Installed definition Update for Windows Defender - 1.85.967.0

Tags: , , ,

Windows 7 | Tips & Tricks

About Klaus Graefensteiner

I like the programming of machines.

Add to Google Reader or Homepage

LinkedIn FacebookTwitter View Klaus Graefensteiner's profile on Technorati
Klaus Graefensteiner

Klaus Graefensteiner
works as Developer In Test and is founder of the PowerShell Unit Testing Framework PSUnit. More...

Open Source Projects

PSUnit is a Unit Testing framwork for PowerShell. It is designed for simplicity and hosted by Codeplex.
BlogShell is The tool for lazy developers who like to automate the composition of blog content during the writing of a blog post. It is hosted by CodePlex.

Administration

About

Powered by:
BlogEngine.Net
Version: 1.6.1.0

License:
Creative Commons License

Copyright:
© Copyright 2013, Klaus Graefensteiner.

Disclaimer:
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

Theme design:
This blog theme was designed and is copyrighted 2013 by Klaus Graefensteiner

Rendertime:
Page rendered at 5/19/2013 6:17:12 AM (PST Pacific Standard Time UTC DST -7)