Microsoft KB Archive/163017

= Cannot Run Applications after Making File Association =

Article ID: 163017

Article Last Modified on 10/13/2003

-

APPLIES TO


 * Microsoft Windows NT Workstation 4.0 Developer Edition
 * Microsoft Windows NT Server 4.0 Standard Edition

-



This article was previously published under Q163017



IMPORTANT: This article contains information about editing the registry. Before you edit the registry, make sure you understand how to restore it if a problem occurs. For information about how to do this, view the "Restoring the Registry" Help topic in Regedit.exe or the "Restoring a Registry Key" Help topic in Regedt32.exe.



SYMPTOMS
By default, exe and .exe file extensions cannot be used in Windows NT 4.0 because they are reserved for running programs. However, the extension *.exe can be used as a valid file extension when creating a new application association. If you create an association with the *.exe extension, you will no longer be able to run applications or programs.



CAUSE
The Add New File Type dialog box in Windows NT 4.0 allows for longer file extensions than Windows NT 3.51, which only allowed 4 characters.



RESOLUTION
If the *.exe association has been made and/or removed, you can add the default .exe file type back by using Registry Editor. You can also use the Emergency Repair Disk to recover the registry information.

WARNING: Using Registry Editor incorrectly can cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk.

For information about how to edit the registry, view the "Changing Keys And Values" Help topic in Registry Editor (Regedit.exe) or the "Add and Delete Information in the Registry" and "Edit Registry Data" Help topics in Regedt32.exe. Note that you should back up the registry before you edit it. If you are running Windows NT, you should also update your Emergency Repair Disk (ERD).  Start Registry Editor (Regedt32.exe), and select the following key:

HKEY_CLASSES_ROOT on Local Machine

 From the Edit menu, click Add Key. In the Key Name box, type .exe and then click OK. Select the new .exe key. From the Edit menu, click Add Value. In the Value Name box, type Content Type. Select REG_SZ for Data Type, and then click OK.</li> In the String box, type application/x-msdownload and then click OK.</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 exefile and then click OK.</li> Exit Registry Editor.</li></ol>

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

<div class="status_section">

STATUS
Microsoft has confirmed this to be a problem in Windows NT version 4.0.

Additional query words: apps blue screen

Keywords: kbbug KB163017

-

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

© Microsoft Corporation. All rights reserved.