Solved

Cannot execute any exe files

Posted on 2004-09-01
7
197 Views
Last Modified: 2010-04-13
The message i get is something like this:
(this happens when i double click on the actual file, in windows explorer, not when opening it from a shortcut)

"Could not find the file c:\whatever.exe (or one of its components). be assured that the route and the name of file are correct and that all the libraries are available."

This happened after VirusScan found a virus, and deleted it.
The virus was in C:\Winnt\Fonts\csrss.exe.

The OS is windows 2000 pro, sp4.

Thank you,

joesatri
0
Comment
Question by:joesatri
  • 4
  • 3
7 Comments
 

Author Comment

by:joesatri
ID: 11960781
Another thing. For instance, if i try opening acrobat reader, i get the same message.  However, if i try opening a document, it opens correctly.
0
 

Author Comment

by:joesatri
ID: 11960909
Increasing value to 250.
0
 
LVL 57

Accepted Solution

by:
Pete Long earned 250 total points
ID: 11961166
Also, this is a Virus Fix that re associates .exe files if they are stuffed up, but might save your bacon in this instance.

On the Windows taskbar, click Start > Programs > command. The command prompt will display the current directory, which should be the Windows directory. In most cases that will be displayed as:
C:\WINDOWS>

if not type "cd c:\windows {enter}" without the quotes


Type ren REGEDIT.EXE REGEDIT.COM.
Press Enter.
Type REGEDIT.
Press Enter.
Modify the following Registry value:
HKEY_CLASSES_ROOT\exefile\shell\open\command

and change

"C:\WINDOWS\SYSTEM\winsvrc.exe "%1" %*

to

"%1" %*

For clarity, these seven characters are the following: double quote, percent sign, the numeral one, double quote, space, percent sign, and asterisk. Don't forget the space.

Also take a look here http://www.jsiinc.com/SUBA/tip0200/rh0271.htm

Pete


0
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

 
LVL 57

Expert Comment

by:Pete Long
ID: 11961172
oops we are on windows 2000, your regedit is in either c:\winnt or c:\winnt\system32 (im on XP so I cant check)
0
 
LVL 57

Expert Comment

by:Pete Long
ID: 11961188
http://www.jsiinc.com/SUBD/tip1600/rh1605.htm
Cannot run EXE files [Programs don't open]
When you try to launch applications [.exe files], an error message appears similar to the ones below and the program will not run:
http://www.mvps.org/sramesh2k/images/exefiles2.JPG


Solution 1:

Click Start, Run and type Command
Type the following and then press Enter after typing each one:

cd\windows
copy regedit.exe regedit.com
start regedit.com  [or regedit.com]

Navigate to and select the following key:
HKEY_CLASSES_ROOT\exefile\shell\open\command

Double-click the (Default) value in the right pane.
Delete the current value data, and then type: "%1" %* [with quotes]
(ie., quote-percent-one-quote-space-percent-asterisk.)

Exit the Registry Editor and restart Windows.

Solution 2:

Download .exe File association fix from here:
http://www.dougknox.com/xp/file_assoc.htm
[To run the .reg files, again you will need to rename regedit.exe to regedit.com and run the REG file using "regedit.com filename.reg" parameter]

NOTE: Once set, update the definition files for your anti-virus software and scan the system for viruses.

Related Microsoft Knowledgebase articles:

You receive an error message when you try to start a program that has an .exe file name extension:
http://support.microsoft.com/?kbid=837334 [New]

You Are Unable to Start a Program with an .exe File Extension:
http://support.microsoft.com/default.aspx?kbid=310585

You Cannot Start Programs (.exe Files) When Your Computer Is Infected with the SirCam Virus:
http://support.microsoft.com/default.aspx?kbid=311446

CREDIT to RAMESH http://www.mvps.org/sramesh2k/exefile.htm
0
 

Author Comment

by:joesatri
ID: 11961255
Thx Peter, it worked :)

Although i couldn't open the command prompt, (neither from the RUN dialog nor from the start menu), i created a batch file.

echo boo!
cmd

so this opened the command promt, and it allowed me to open regedit.exe

Next, i changed the reg value, and it works now. Thanks for the prompt / complete answer. Points go to you.
0
 
LVL 57

Expert Comment

by:Pete Long
ID: 11965034
ThanQ
0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Loss of RDP via youngzsoft.com/cn 4 225
Adprep 12 58
VMware converter for windows 2000 server SP4 4 5,969
P2V Windows Server 2000 - Network Issue 14 46
NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
If your vDisk VHD file gets deleted from the image store accidentally or on purpose, you won't be able to remove the vDisk from the PVS console. There is a known workaround that is solid.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

937 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now