Microsoft KB Archive/172223

= Cannot Run Shortcuts from the Start Menu or from the Desktop =

Article ID: 172223

Article Last Modified on 2/23/2007

-

APPLIES TO


 * Microsoft Windows 2000 Server
 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Professional Edition
 * Microsoft Windows NT Workstation 4.0 Developer Edition
 * Microsoft Windows NT Server 4.0 Standard Edition

-



This article was previously published under Q172223





SYMPTOMS
When you double-click on a shortcut or select an item from the Start menu, nothing happens. When you try to run any program or shortcut from Control Panel, the following error messages may appear:

Access to the specified device, path, or file is denied.

-or-

This file does not have a program associated with it for performing this action. Create an association in My Computer by clicking View and then clicking Options.

Also, when you click Options from the View menu in My Computer, click the File Types tab, and then select Application, the "Open with:" field is blank (instead of displaying (EXECUTABLE)).



CAUSE
The Open and/or Open\Command key(s) in the HKEY_CLASSES_ROOT\Exefile\Shell subkey of the registry have been corrupted, modified, or are missing.



RESOLUTION
You can use the Emergency Repair Disk to restore the Software Hive.



WORKAROUND
To manually check and/or restore the Open key you will need to edit the registry. To edit the registry, perform the following steps:

WARNING: Using Registry Editor incorrectly can cause serious, system-wide problems that may require you to reinstall Windows NT to correct them. Microsoft cannot guarantee that any problems resulting from the use of Registry Editor can be solved. Use this tool at your own risk.   Run Registry Editor, (Regedt32.exe) and verify the following registry entries exist.

  HKEY_CLASSES_ROOT\Exefile\Shell\Open

Default Value = EditFlags:REG_BINARY:00 00 00 00

HKEY_CLASSES_ROOT\Exefile\Shell\Open\Command

Default Value = :REG_SZ:"%1"%*

If these keys do not exist, modify the registry as described in the steps below. If the keys do exist, verify that the information contained in them is correct.   Select the following key:

     HKEY_CLASSES_ROOT\Exefile\Shell  From the Edit menu, click Add Key. In the Key Name box, type Open, and then click OK.</li> Select the new Open key.</li> From the Edit menu, click Add Value.</li> In the Value Name box, type EditFlags. Select REG_BINARY for Data Type. Click OK.</li> In the String box, type 00000000. Choose Hex as the Data Format and then click OK.</li> From the Edit menu, click Add Key.</li> In the Key Name box, type Command, and then click OK.</li> Select the new Command key.</li> From the Edit menu, click Add Value.</li> Leave the Value Name box blank. Select REG_SZ for Data Type, and then click OK.</li> In the String box, type "%1"%*, with quotation marks, and then click OK.</li> Exit Registry Editor.</li></ol>

All application shortcut and program functionality should now be restored to its default state.

Keywords: kbenv KB172223

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.