#302449 - 23/09/2007 07:14
Windows XP problem: "Show Desktop" icon no longer works
|
carpal tunnel
Registered: 08/07/1999
Posts: 5552
Loc: Ajijic, Mexico
|
My "Show Desktop" icon in the system tray no longer works. This particular routine is unusual, in that it is not an ordinary shortcut to an application. Instead, it (apparently) calls up a bit of code embedded in Internet Explorer. Microsoft's knowledge base has a routine for re-creating the Show Desktop icon that writes the following to the "C:\Documents and Settings\[username]\Application Data\Microsoft\Internet Explorer\Quick Launch" directory: [Shell] Command=2 IconFile=explorer.exe,3 [Taskbar] Command=ToggleDesktop There is also a "Guided Help" option on the Microsoft website that does it all automatically. I have done it manually, and I have used the Guided Help option. As near as I can tell, both methods create the proper file in the proper location, but Show Desktop doesn't work. Does anybody have a fix for this? tanstaafl.
_________________________
"There Ain't No Such Thing As A Free Lunch"
|
Top
|
|
|
|
#302450 - 23/09/2007 15:47
Re: Windows XP problem: "Show Desktop" icon no longer works
[Re: tanstaafl.]
|
carpal tunnel
Registered: 08/06/1999
Posts: 7868
|
Does the key combination Windows-D still work to show it?
|
Top
|
|
|
|
#302452 - 23/09/2007 19:34
Re: Windows XP problem: "Show Desktop" icon no longer works
[Re: tanstaafl.]
|
addict
Registered: 18/02/2002
Posts: 658
|
Well whenever I have this problem (and I used to often on my old Dell laptop for some reason) I did basically the same thing as you, ie, followed the directions on the link you provided. But you sort of lost me with: Quote: Microsoft's knowledge base has a routine for re-creating the Show Desktop icon that writes the following to the "C:\Documents and Settings\[username]\Application Data\Microsoft\Internet Explorer\QuickLaunch" directory:
I just open a blank notepad file, paste that bit of code, and save the file as Show Desktop.scf to my desktop. This creates the Show Desktop shortcut and I just move it back into my Quick Launch toolbar.
Sorry if you already tried this!
|
Top
|
|
|
|
#302455 - 23/09/2007 21:35
Re: Windows XP problem: "Show Desktop" icon no longer works
[Re: tanstaafl.]
|
old hand
Registered: 16/02/2002
Posts: 867
Loc: Oxford, UK
|
Perhaps the file asociation for .scf files is broken. To check/repair it run regedit then look in HKEY_CLASSES_ROOT\.scf -- it should look like the following:  If that looks okay then copy/pasting the following into a .reg file and double-clicking might change your computer's behaviour in this instance (this is a guess... it might bugger it up totally). Make a System Restore Point beforehand:: Code:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\SHCmdFile] "NeverShowExt"="" @="Windows Explorer Command" "InfoTip"="prop:DocComments"
[HKEY_CLASSES_ROOT\SHCmdFile\CLSID] @="{57651662-CE3E-11D0-8D77-00C04FC99D61}"
[HKEY_CLASSES_ROOT\SHCmdFile\shell]
[HKEY_CLASSES_ROOT\SHCmdFile\shell\open]
[HKEY_CLASSES_ROOT\SHCmdFile\shell\open\command] @="explorer.exe"
[HKEY_CLASSES_ROOT\SHCmdFile\shell\open\ddeexec] @="[ShellFile(\"%1\",\"%1\",%S)]" "NoActivateHandler"=""
[HKEY_CLASSES_ROOT\SHCmdFile\shell\open\ddeexec\Application] @="Folders"
[HKEY_CLASSES_ROOT\SHCmdFile\shell\open\ddeexec\Topic] @="AppProperties"
[HKEY_CLASSES_ROOT\SHCmdFile\shellex]
[HKEY_CLASSES_ROOT\SHCmdFile\shellex\DropHandler] @="{86C86720-42A0-1069-A2E8-08002B30309D}"
[HKEY_CLASSES_ROOT\SHCmdFile\shellex\IconHandler] @="{57651662-CE3E-11D0-8D77-00C04FC99D61}"
Attachments
303805-showdesktop.jpg (147 downloads)
Edited by AndrewT (23/09/2007 21:45)
|
Top
|
|
|
|
#302456 - 24/09/2007 03:40
Re: Windows XP problem: "Show Desktop" icon no longer works
[Re: tanstaafl.]
|
pooh-bah
Registered: 20/01/2002
Posts: 2085
Loc: New Orleans, LA
|
Cool, never used that one. I used Windows-M all the time, but I like Windows-D better as hitting it again puts things back. And as to what it means, I assume D = show desktop, where M = Minimize all.
|
Top
|
|
|
|
#302458 - 24/09/2007 06:34
Re: Windows XP problem: "Show Desktop" icon no longer works
[Re: tanstaafl.]
|
old hand
Registered: 16/02/2002
Posts: 867
Loc: Oxford, UK
|
It could be that your Windows is hiding file extensions and you created somefile.reg.txt?
An alternative is to run regedit and use File->Import
|
Top
|
|
|
|
#302459 - 24/09/2007 12:49
Re: Windows XP problem: "Show Desktop" icon no longer works
[Re: AndrewT]
|
carpal tunnel
Registered: 18/01/2000
Posts: 5688
Loc: London, UK
|
Quote: It could be that your Windows is hiding file extensions and you created somefile.reg.txt?
If you want to save a file from notepad without the .txt extension, put quotes around the filename: "somefile.reg"
_________________________
-- roger
|
Top
|
|
|
|
#302460 - 24/09/2007 12:58
Re: Windows XP problem: "Show Desktop" icon no longer works
[Re: lectric]
|
carpal tunnel
Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
|
Quote: I like Windows-D better as hitting it again puts things back.
Okay, that is awesome. Even the icon does that, which I didn't realize.
_________________________
Bitt Faulk
|
Top
|
|
|
|
#302461 - 24/09/2007 15:57
Re: Windows XP problem: "Show Desktop" icon no longer works
[Re: AndrewT]
|
carpal tunnel
Registered: 20/12/1999
Posts: 31618
Loc: Seattle, WA
|
Quote: Perhaps the file asociation for .scf files is broken.
I tried to help Doug debug this privately, and that's the conclusion I came to as well.
More than that, I think the file association for many files types somehow got broken on that machine.
I know it's not a question of the file getting named .reg.txt , because the first thing he does on any new machine (like me) is to turn off extension-hiding.
So there's something fishy going on there, I just have no idea what.
|
Top
|
|
|
|
#302462 - 24/09/2007 16:09
Re: Windows XP problem: "Show Desktop" icon no longer works
[Re: tfabris]
|
carpal tunnel
Registered: 24/12/2001
Posts: 5528
|
"Repair Associations" option in TweakUI?
|
Top
|
|
|
|
#302463 - 24/09/2007 23:00
Re: Windows XP problem: "Show Desktop" icon no longer works
[Re: AndrewT]
|
carpal tunnel
Registered: 08/07/1999
Posts: 5552
Loc: Ajijic, Mexico
|
Quote: It could be that your Windows is hiding file extensions and you created somefile.reg.txt?
I'm pretty sure that is not the case. The instructions that Microsoft gives on recreating the icon specifically warns about this, and as Tony said earlier I always have my file extensions displayed. Also, the applet that Microsoft provides that creates the file automatically would most likely do it correctly, and neither the manually created nor the automatically created icon works.
Interestingly enough, Windows hides the .scf extension even though filetype extension display is turned on in Explorer. SCF, I believe, stands for Shell Command File, and these seem to be "special" files. The icon is not an ordinary shortcut pointing towards an executable, but seems to be part of the executable itself.
Looking at the filename from a DOS prompt does show the .scf extension, and a peek at my Windows Registry does seem to indicate that the .scf file association is intact.
tanstaafl.
_________________________
"There Ain't No Such Thing As A Free Lunch"
|
Top
|
|
|
|
#302465 - 25/09/2007 00:07
Re: Windows XP problem: "Show Desktop" icon no longer works
[Re: tanstaafl.]
|
carpal tunnel
Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
|
Open an Explorer window (double-click on My Computer, for instance), click on the Tools menu and select the Folder Options menu item. Click on the File Types tab and find the entry for "REG". There should be a button that says "Restore". Click it.
_________________________
Bitt Faulk
|
Top
|
|
|
|
#302468 - 25/09/2007 11:48
Re: Windows XP problem: "Show Desktop" icon no longer works
[Re: Dignan]
|
carpal tunnel
Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
|
If it's non-standard, the "Advanced" button changes to "Restore". If the "Restore" button is not there, it's already set to the default. If you want to change it to something else, that panel is where you do it from. It ought to be reasonably obvious at that point.
This was under Windows XP Pro, so I suppose that it's possible that it might be slightly different elsewhere.
_________________________
Bitt Faulk
|
Top
|
|
|
|
#302470 - 25/09/2007 21:42
Re: Windows XP problem: "Show Desktop" icon no longer works
[Re: tanstaafl.]
|
carpal tunnel
Registered: 20/12/1999
Posts: 31618
Loc: Seattle, WA
|
Somewhere up above, someone suggested using TweakUI and fixing your default associations. I think it was a good suggestion. Have you tried that yet?
|
Top
|
|
|
|
#302473 - 26/09/2007 04:16
Re: Windows XP problem: "Show Desktop" icon no longer works
[Re: tanstaafl.]
|
enthusiast
Registered: 29/03/2005
Posts: 364
Loc: Probably lost somewhere in Wal...
|
Isn't it as easy as shift-right clicking a .reg file, choose open with..., choose program..., pick regedit from the list (or browse...), and be sure to check the box: always open wih this program? (or something like that, i have dutch windows at work).
_________________________
Empeg Mk1 #00177, 2.00 final, hijack 4.76
|
Top
|
|
|
|
#302475 - 26/09/2007 16:23
Re: Windows XP problem: "Show Desktop" icon no longer works
[Re: Phoenix42]
|
carpal tunnel
Registered: 20/12/1999
Posts: 31618
Loc: Seattle, WA
|
I don't think he's got a problem with installing TweakUI, I think where his problem lies is finding the option to repair default file associations buried in the extensive TweakUI property screens.
I'm on Vista at the moment and can't look it up myself. Anyone?
|
Top
|
|
|
|
#302477 - 26/09/2007 19:03
Re: Windows XP problem: "Show Desktop" icon no longer works
[Re: tanstaafl.]
|
old hand
Registered: 16/02/2002
Posts: 867
Loc: Oxford, UK
|
Quote: I don't know what program to use for the *.reg file association.
I'm probably missing a vital piece of background information here but there's no necessity for the *.reg association. You can manually import a *.reg file:
Start -> Run... regedit will get Regedit up on your PC.
From there: File -> Import... and browse to the *.reg file you want to import.
|
Top
|
|
|
|
#302478 - 26/09/2007 19:08
Re: Windows XP problem: "Show Desktop" icon no longer works
[Re: AndrewT]
|
carpal tunnel
Registered: 20/12/1999
Posts: 31618
Loc: Seattle, WA
|
I know he doesn't need the file association for regedit to make regedit work.
But my worry is that the thing that's broken is the association for .SCF files, and that's why the microsoft KB fix isn't working for him.
If the association for SCF files is broken, maybe other file associations are broken on the machine as well, pointing to an even larger problem. That's why I think the TweakUI "fix default file associations" trick is worth trying.
|
Top
|
|
|
|
#302479 - 26/09/2007 19:09
Re: Windows XP problem: "Show Desktop" icon no longer works
[Re: tanstaafl.]
|
carpal tunnel
Registered: 20/12/1999
Posts: 31618
Loc: Seattle, WA
|
Quote: but don't see where it can correct/repair file associations.
According to uncle Google:
Quote: 1. Access the TweakUI Control Panel applet (if you do not have it installed, read the tip elsewhere in MalekTips). 2. On the multi-tabbed dialog box that appears, click on the "Repair" tab (you may need to click on the arrows next to the tabs to cycle through the tabbed windows). 3. Click on the pulldown arrow and choose "Repair Associations." 4. Now, click "Repair Now." 5. Click "OK" to close the dialog box.
I think that was the Win98 version instructions, but maybe XP is similar.
|
Top
|
|
|
|
#302480 - 26/09/2007 19:29
Re: Windows XP problem: "Show Desktop" icon no longer works
[Re: tfabris]
|
carpal tunnel
Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
|
I don't see anything that looks like file association stuff in TweakUI for XP v2.10.0.0.
_________________________
Bitt Faulk
|
Top
|
|
|
|
#302481 - 26/09/2007 19:32
Re: Windows XP problem: "Show Desktop" icon no longer works
[Re: wfaulk]
|
carpal tunnel
Registered: 20/12/1999
Posts: 31618
Loc: Seattle, WA
|
Darn. Where else can we get some kind of fixer for that sort of thing?
|
Top
|
|
|
|
#302484 - 26/09/2007 19:54
Re: Windows XP problem: "Show Desktop" icon no longer works
[Re: tanstaafl.]
|
carpal tunnel
Registered: 20/12/1999
Posts: 31618
Loc: Seattle, WA
|
Quote: But what IS a file association other than a couple of lines in the Windows Registry?
For the most part, yes, that's all it is.
Sometimes those lines in the windows registry will point to something called a "handler", which is an entry point in a DLL, that runs actual code when that file extension is encountered.
When you had a problem getting the SCF to work *AND* getting the REG to work, I thought that maybe a whole bunch of file associations had gotten messed up. But perhaps that's not it at all; like you said, the registry entry looks correct to you.
Quote: Could the problem lie within IE?
Very well could be!
|
Top
|
|
|
|
#302485 - 26/09/2007 19:59
Re: Windows XP problem: "Show Desktop" icon no longer works
[Re: tfabris]
|
old hand
Registered: 16/02/2002
Posts: 867
Loc: Oxford, UK
|
Here is a collection of *.reg files. The *.scf is more complete than the one I posted further up. Amongst them there's also one for *.reg association.
Edited by AndrewT (26/09/2007 20:00)
|
Top
|
|
|
|
#302486 - 26/09/2007 21:14
Re: Windows XP problem: "Show Desktop" icon no longer works
[Re: tfabris]
|
addict
Registered: 04/09/2004
Posts: 532
Loc: Oklahoma
|
I just dug through one of the databases and it gives this info. Would be interested to know what happens when you try it?
If the Show Desktop icon is deleted from Quick Launch, the procedure below will recreate the file.
Open Notepad and enter the following text:
[Shell] Command=2 IconFile=explorer.exe,3 [Taskbar] Command=ToggleDesktop
Save the new file as Show Desktop.scf then drag and drop the icon on the Quick Launch bar or whatever location you want the shortcut to appear.
|
Top
|
|
|
|
#302487 - 26/09/2007 21:20
Re: Windows XP problem: "Show Desktop" icon no longer works
[Re: Ladmo]
|
carpal tunnel
Registered: 20/12/1999
Posts: 31618
Loc: Seattle, WA
|
Yes, that's exactly the procedure he was trying to follow. It did not work, because the SCF file isn't being treated like an executable script.
At first we thought it was because the file association for SCF was messed up, but doug says the registry is correct for SCF file associations.
|
Top
|
|
|
|
#302488 - 26/09/2007 22:07
Re: Windows XP problem: "Show Desktop" icon no longer works
[Re: tfabris]
|
carpal tunnel
Registered: 24/12/2001
Posts: 5528
|
Quote: Yes, that's exactly the procedure he was trying to follow. It did not work, because the SCF file isn't being treated like an executable script.
At first we thought it was because the file association for SCF was messed up, but doug says the registry is correct for SCF file associations.
I'm afraid you're going to have to use the universal Windows fix:
Step 1 - Reinstall Windows Step 2 - Repeat as necessary
|
Top
|
|
|
|
#302489 - 27/09/2007 04:44
Re: Windows XP problem: "Show Desktop" icon no longer works
[Re: AndrewT]
|
carpal tunnel
Registered: 08/07/1999
Posts: 5552
Loc: Ajijic, Mexico
|
Quote: Here is a collection of *.reg files. The *.scf is more complete than the one I posted further up. Amongst them there's also one for *.reg association.
Yes, indeed!
The *.scf fixer worked! So, Tony was right all along.
The *reg fixer did not work, but Schido's suggestion of just forcing regedit.exe as the default program for all files of type *.reg did work. I would have done that from the beginning but I just didn't know if regedit.exe was indeed the correct program.
So, problem(s) solved, and all is right with the world. Thanks to all, especially AndrewT, Tony, and Schido for the help. I learned a lot from this experience. Unfortunately at my advanced age, by this time tomorrow I'll probably have forgotten it all. 
tanstaafl.
_________________________
"There Ain't No Such Thing As A Free Lunch"
|
Top
|
|
|
|
#302490 - 27/09/2007 18:46
Re: Windows XP problem: "Show Desktop" icon no longer works
[Re: tanstaafl.]
|
carpal tunnel
Registered: 20/12/1999
Posts: 31618
Loc: Seattle, WA
|
I'm glad you got it sorted.  The fact that your SCF file association was messed up is a worry, still. I wonder which others are messed up.
|
Top
|
|
|
|
#302492 - 28/09/2007 21:52
Re: Windows XP problem: "Show Desktop" icon no longer works
[Re: tfabris]
|
veteran
Registered: 21/03/2002
Posts: 1424
Loc: MA but Irish born
|
Quote: I don't think he's got a problem with installing TweakUI, I think where his problem lies is finding the option to repair default file associations buried in the extensive TweakUI property screens.
I really need to read slower, I feel like an 1d10t.
Edit: Fixed a broken end quote tag. Apparently you need to type slower, too. -wfaulk
Edited by wfaulk (29/09/2007 01:10)
|
Top
|
|
|
|
#302493 - 29/09/2007 00:22
Re: Windows XP problem: "Show Desktop" icon no longer works
[Re: Phoenix42]
|
carpal tunnel
Registered: 17/12/2000
Posts: 2665
Loc: Manteca, California
|
Quote:
Quote: I don't think he's got a problem with installing TweakUI, I think where his problem lies is finding the option to repair default file associations buried in the extensive TweakUI property screens.
I really need to read slower, I feel like an 1d10t.
One Dee Ten Tee. Have you been reading lately?
Maybe "Vorpal Blade" by John Ringo?
_________________________
Glenn
|
Top
|
|
|
|
#302494 - 02/10/2007 04:26
Re: Windows XP problem: "Show Desktop" icon no longer works
[Re: tfabris]
|
new poster
Registered: 02/10/2007
Posts: 2
|
got the same problem and was easily able to use the .scr fix to re-associate the .scf file to show the desktop BUT the icon is gone... how can i repair that?? the ico reg fix didnt do the trick whats next to get the icon back please thnx in advance
Edited by disp (02/10/2007 04:28)
|
Top
|
|
|
|
#302495 - 02/10/2007 04:40
Re: Windows XP problem: "Show Desktop" icon no longer works
[Re: tfabris]
|
new poster
Registered: 02/10/2007
Posts: 2
|
bingo tweakui fixed the icon associations fine thnks 4 vrythng
|
Top
|
|
|
|
|
|