JSI Tip 9221. When you click the Show Desktop icon, you are prompted for a program to open the file with?

Jerold Schulman

April 3, 2005

1 Min Read
ITPro Today logo in a gray background | ITPro Today

In tip 2892 How do I re-create the Show Desktop icon on my Quick Launch toolbar, we re-created the Show Desktop.scf file at "%USERPROFILE%Application DataMicrosoftInternet ExplorerQuick Lauch".

If you are prompted for a program when you click the Show Desktop icon, the file association for the .scf file is missing or damaged.

To resolve this problem:

1. Open a CMD.EXE window.

2. Type assoc .scf=SHCmdFile and press Enter.

3. Type ftype SHCmdFile=explorer.exe and press Enter.

NOTE: If your problem is NOT resolved:

1. Copy / Paste the following into a Notepad.exe window.:

REGEDIT4[-HKEY_CLASSES_ROOT.scf][HKEY_CLASSES_ROOT.scf]@="SHCmdFile"[-HKEY_CLASSES_ROOTSHCmdFile][HKEY_CLASSES_ROOTSHCmdFile]"NeverShowExt"=""@="Windows Explorer Command""InfoTip"="prop:DocComments"[HKEY_CLASSES_ROOTSHCmdFileCLSID]@="{57651662-CE3E-11D0-8D77-00C04FC99D61}"[HKEY_CLASSES_ROOTSHCmdFileshell][HKEY_CLASSES_ROOTSHCmdFileshellopen][HKEY_CLASSES_ROOTSHCmdFileshellopencommand]@="explorer.exe"[HKEY_CLASSES_ROOTSHCmdFileshellopenddeexec]@="[ShellFile("%1","%1",%S)]""NoActivateHandler"=""[HKEY_CLASSES_ROOTSHCmdFileshellopenddeexecApplication]@="Folders"[HKEY_CLASSES_ROOTSHCmdFileshellopenddeexecTopic]@="AppProperties"[HKEY_CLASSES_ROOTSHCmdFileshellex][HKEY_CLASSES_ROOTSHCmdFileshellexDropHandler]@="{86C86720-42A0-1069-A2E8-08002B30309D}"[HKEY_CLASSES_ROOTSHCmdFileshellexIconHandler]@="{57651662-CE3E-11D0-8D77-00C04FC99D61}"

2. Save the file as ShowDeskTop.txt.

3. Rename the file to ShowDeskTop.reg

4. Right-click the ShowDeskTop.reg file and press Merge.

5. Press Yes.

6. Press OK.



Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like