Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I run the file using the command prompt and it got stuck and we had to reboot the server.

After the server started I put the exe into another folder and when I run this time it run sucessfully but it still hung when we run it from the original folder.

All this suggested that there may either be a problem with the disk or that some other process was interfering. I also noted that when opening the original folder from the windows explorer, the progress bar that shows the folder loading (in the address bar) never completes to show the folder is loaded completely.

The chkdsk /r doesnt show any errors.

Please analyze the causes.

share|improve this question
what .exe? Some more detail may help. – MDMarra Oct 22 '09 at 0:01
if you open a cmd shell and navigate to that directory can you do a directory listing? Are there any DLL's in there, any chance that they look like system DLL's? – Helvick Oct 22 '09 at 0:23
the exe is part of our application. It is a stand alone application. – rboorgapally Oct 22 '09 at 1:45
i can do the listing of the directory – rboorgapally Oct 22 '09 at 1:49

I recommend downloading and running the free Process Monitor tool Run Process Monitor and add your executable's name (e.g. myprogram.exe) as a "Process Name" filter.

Then, run your program and Process Monitor will show all file system I/O and registry activity for it. Look at the Process Monitor output at the time your program fails - you may be able to see some failures which give you a hint as to the problem.

share|improve this answer

Delete the folder and recreate. Does the exe interact with the folder in anyway? Maybe a permissions issue on the folder itself.

share|improve this answer
up vote 0 down vote accepted

Actually, running a virus scan fixed the problem.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.