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

     | Home  | Articles  | Categories  | Coders  | Search  | Submit  | Contact Us    
If your project doesn't work, look for the part that you didn't think was important. --Arthur Bloch

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 
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 
re: Windows Explorer Opens Search Window When Clicking a Folder
Mike12 Apr 10, 13:34Reply 
re: Windows Explorer Opens Search Window When Clicking a Folder
JT25 Aug 10, 19:50Reply 
Cool!
Steve Lautenschlager13 Sep 07, 20:39Reply 
re: Cool!
Jane17 Sep 07, 7:48Reply 
re: Cool!
Andy21 Apr 08, 3:58Reply 
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 
Thank you!
Brian28 Feb 09, 14:50Reply 
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 
Windows Explorer Opens Search Window When Clicking a Folder
Razz Hjelle28 Aug 08, 14:55Reply 
Windows Explorer Opens Search Window When Clicking a Folder
XXX from Finland31 Aug 08, 2:17Reply 
Windows Explorer Opens Search Window When Clicking a Folder
Dutch guy07 Sep 08, 4:25Reply 
Windows Explorer Opens Search Window When Clicking a Folder
TheWeldor29 Oct 08, 18:50Reply 
Windows Explorer Opens Search Window When Clicking a Folder
Matt Waite19 Nov 08, 22:17Reply 
Windows Explorer Opens Search Window When Clicking a Folder
Barathi30 Dec 08, 9:45Reply 
Windows Explorer Opens Search Window When Clicking a Folder
Tom B.18 Jan 09, 23:34Reply 
Windows Explorer Opens Search Window When Clicking a Folder
Bill Lessiter06 Mar 09, 13:36Reply 
Windows Explorer Opens Search Window When Clicking a Folder
Bill Lessiter06 Mar 09, 13:43Reply 
Windows Explorer Opens Search Window When Clicking a Folder
Anonymous17 Mar 09, 13:37Reply 
exactly...
joe lion15 Apr 09, 1:45Reply 
Windows Explorer Opens Search Window When Clicking a Folder
Tasha27 Jun 09, 16:13Reply 
Windows Explorer Opens Search Window When Clicking a Folder
Anonymous10 Aug 09, 11:58Reply 
Windows Explorer Opens Search Window When Clicking a Folder
Cherrington05 Oct 09, 10:38Reply 
re: Windows Explorer Opens Search Window When Clicking a Folder
Alex28 Oct 09, 21:40Reply 
Windows Explorer Opens Search Window When Clicking a Folder
Gardoglee30 Oct 09, 14:11Reply 
Windows Explorer Opens Search Window When Clicking a Folder
utz18 Nov 09, 16:58Reply 
Windows Explorer Opens Search Window When Clicking a Folder
Pamela14 Apr 10, 11:02Reply 
Windows Explorer Opens Search Window When Clicking a Folder
Jayesh17 Apr 10, 8:29Reply 
Windows Explorer Opens Search Window When Clicking a Folder
Robert08 May 10, 1:43Reply 
Windows Explorer Opens Search Window When Clicking a Folder
DAwn22 Jul 10, 14:11Reply 
CR Comments by Cambia Research
advertisement
 
Steve Lautenschlager (steve)
Steve founded Cambia Research to augment his .NET hobby. Developing and maintaining the site combines his interests in technology, writing and education.


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