Cambia Research - Supporting the Microsoft .NET Developer Community Supporting the Microsoft .NET Developer Community  

     | Home  | Articles  | Categories  | Coders  | Search  | Submit  | Contact Us    
Measuring programming progress by lines of code is like measuring aircraft building progress by weight. --Bill Gates

Share Your Knowledge! -- Create and submit your articles the easy way with WebWriter.

Updated:11:50 AM CT Sep 01, 2007
Posted:11:49 AM CT Sep 01, 2007

Windows Explorer Opens Search Window When Clicking a Folder

Author: Steve Lautenschlager

Blog EntryWindows

 Overview

For some inexplicable reason in Windows XP when you click on a folder in Windows Explorer, a search window pops up rather than simply opening the folder.

 The Problem

I suspect this is a very rare problem, but I spent 2 hours yesterday trying to figure it out so thought I'd share my experience.

First I'll explain the problem. In Windows Explorer if you click on an ordinary folder you'll get a search window instead of a folder view listing the folder's contents.

First, here's an ordinary view in Windows Explorer

 Click on an ordinary folder in Windows Explorer

If you right-click a folder, you see that Search is the default action.

 The context menu shows that Search is the bolded default

Now click or double-click the folder to open its contents as you normally would. You get a search window instead.

 Search windows is opened with no file listing. Arggh.

 How did this happen?

You have probably been playing with 'Folder Options'. I'm not exactly sure what caused the problem in my case, but I was trying to change icons for file types when this problem arose.

 The Solution


You would think there would be some easy way to change the default action in the context menu. If there is I didn't find it.

A simply registry edit will fix this issue.

The key to change is:

HKEY_CLASSES_ROOT\Directory\Shell\Default

If you have this problem, then it's likely your Default key has a value of nothing. Change the value of the key to the string: "none".

That should do it. If you actually had this problem and this article helped leave me a message. I'm wondering if anyone will every read this?

(if you haven't edited the registry before just type 'regedit' at a command line. Be careful, you can corrupt your system if you change something without knowing what you're doing.)

 Fix the problem with a registry edit

Add New Comment
Windows Explorer Opens Search Window When Clicking a Folder
Bk13 Sep 07, 12:58Reply 
Cool!
Steve Lautenschlager13 Sep 07, 20:39Reply 
re: Cool!
Jane17 Sep 07, 7:48Reply 
re: Cool!
Andy21 Apr 08, 3:58Reply 
re: Windows Explorer Opens Search Window When Clicking a Folder
Henk de Raadt24 Oct 07, 16:35Reply 
re: Windows Explorer Opens Search Window When Clicking a Folder
Ferreira14 May 08, 4:25Reply 
re: Windows Explorer Opens Search Window When Clicking a Folder
Yasaf D07 Jul 08, 13:35Reply 
Windows Explorer Opens Search Window When Clicking a Folder
TonyRingo21 Sep 07, 12:18Reply 
Excellent
Scott26 Sep 07, 15:20Reply 
Who knew?!
Steve Lautenschlager26 Sep 07, 18:32Reply 
re: Who knew?!
hellomousey07 Jan 08, 9:42Reply 
Windows Explorer Opens Search Window When Clicking a Folder
Your Mopther03 Oct 07, 19:53Reply 
Windows Explorer Opens Search Window When Clicking a Folder
Darren08 Oct 07, 17:25Reply 
Thanks, man!
KP10 Oct 07, 6:20Reply 
Windows Explorer Opens Search Window When Clicking a Folder
Jos29 Oct 07, 12:02Reply 
Windows Explorer Opens Search Window When Clicking a Folder
Al Baker02 Nov 07, 12:48Reply 
Windows Explorer Opens Search Window When Clicking a Folder
Peter07 Nov 07, 9:59Reply 
Windows Explorer Opens Search Window When Clicking a Folder
Erik24 Nov 07, 22:19Reply 
Windows Explorer Opens Search Window When Clicking a Folder
rohit28 Nov 07, 8:22Reply 
Windows Explorer Opens Search Window When Clicking a Folder
IndygoDave12 Dec 07, 7:08Reply 
Windows Explorer Opens Search Window When Clicking a Folder
Esha 17 Dec 07, 23:12Reply 
Windows Explorer Opens Search Window When Clicking a Folder
Balaji26 Dec 07, 19:08Reply 
Windows Explorer Opens Search Window When Clicking a Folder
Jim26 Dec 07, 20:12Reply 
Windows Explorer Opens Search Window When Clicking a Folder
ED16 Jan 08, 5:23Reply 
Windows Explorer Opens Search Window When Clicking a Folder
thebone17 Jan 08, 0:13Reply 
Windows Explorer Opens Search Window When Clicking a Folder
South Africa23 Jan 08, 6:57Reply 
Windows Explorer Opens Search Window When Clicking a Folder
Tony25 Jan 08, 10:12Reply 
Windows Explorer Opens Search Window When Clicking a Folder
ste30 Jan 08, 14:54Reply 
Windows Explorer Opens Search Window When Clicking a Folder
eagle407 Feb 08, 22:32Reply 
Windows Explorer Opens Search Window When Clicking a Folder
CarolinaGirl11 Feb 08, 9:04Reply 
Windows Explorer Opens Search Window When Clicking a Folder
SH26 Feb 08, 18:17Reply 
registry
Steve Lautenschlager26 Feb 08, 21:59Reply 
Windows Explorer Opens Search Window When Clicking a Folder
Alexandra03 May 08, 4:02Reply 
Windows Explorer Opens Search Window When Clicking a Folder
ashish06 Jun 08, 1:50Reply 
Windows Explorer Opens Search Window When Clicking a Folder
Misty11 Jun 08, 22:43Reply 
Windows Explorer Opens Search Window When Clicking a Folder
Ashish G24 Jun 08, 8:31Reply 
Windows Explorer Opens Search Window When Clicking a Folder
Allan03 Jul 08, 9:28Reply 
Thanks. Although I nearly did it wrong!
Paul12 Aug 08, 8:08Reply 
CR Comments by Cambia Research
advertisement
 
Steve Lautenschlager (steve)
Steve is the founder and creator of Cambia Research. Developing and maintaining the site combines his passions for technology, writing and education.
Steve holds a Ph.D. in particle physics from Duke University, has worked at CERN, the European center for particle physics (where the web was born) and in Microsoft's web division with microsoft.com, msnbc.com and other web properties. Steve is a web consultant specializing in Microsoft.NET technologies. Read more here.


 
Copyright © Cambia Research 2002-2007. All Rights Reserved. steve [ at ] cambiaresearch.com