Can Not Run Shortcuts from the Start Menu or Desktop

Last reviewed: September 12, 1997
Article ID: Q172223
The information in this article applies to:
  • Microsoft Windows NT Workstation version 4.0
  • Microsoft Windows NT Server version 4.0

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.

  1. 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 = <No Name>: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.

  1. Select the following key:

          HKEY_CLASSES_ROOT\Exefile\Shell
    

  2. From the Edit menu, click Add Key.

  3. In the Key Name box, type Open, and then click OK.

  4. Select the new Open key.

  5. From the Edit menu, click Add Value.

  6. In the Value Name box, type EditFlags. Select REG_BINARY for Data Type. Click OK.

  7. In the String box, type 00000000. Choose Hex as the Data Format and then click OK.

  8. From the Edit menu, click Add Key.

  9. In the Key Name box, type Command, and then click OK.

  10. Select the new Command key.

  11. From the Edit menu, click Add Value.

  12. Leave the Value Name box blank. Select REG_SZ for

        Data Type, and then click OK.
    

  13. In the String box, type "%1"%*, with quotation marks, and then

        click OK.
    

  14. Exit Registry Editor.

All application shortcut and program functionality should now be restored to its default state.
Keywords          : NTSrvWkst kbenv
Version           : WinNT:4.0
Platform          : winnt


================================================================================


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: September 12, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.