Solved

Command prompt opens (and stays open) at every program start (whether gui or dos based)

Posted on 2009-05-11
9
549 Views
Last Modified: 2012-05-06
Every time when i start a program (via the desktop or the program files) it starts first a command prompt with some startup information. When the prompt is closed, the gui is also ended.
In this way it also eats up all memory because the program is not realy closed when it ends.
CommandPromptDisplay.JPG
0
Comment
Question by:aITs
  • 3
  • 3
  • 2
  • +1
9 Comments
 
LVL 8

Expert Comment

by:DocSeltsam
ID: 24352938
Hi there,

do you mean whenever you start any program the dos box opens or when you start shstat.exe?

I think shstat.exe is not designed to be started by the user but as a background process. Isn't there another program to start your anti-virus GUI?
--TheDoctor
0
 
LVL 2

Expert Comment

by:techxperts
ID: 24353434
start run msconfig and look through see if something is in startup also does it happen in safe mode or when you open ANY applicaiton even notepad?
0
 

Author Comment

by:aITs
ID: 24353461
Hi,
Thx for the answer, I will try to remove the McAfee Antivirus. But the header of the windows is every time different you start a different program, ie. the explorer gives 'c:\windows\explorer.exe'.
Every time you open a program the same information is than displayed in the explorer command window.

Marc.
0
 

Author Comment

by:aITs
ID: 24353563
Hi guys,
I get the same results in save mode and with every program you can think off. With notepad the same information is displayed in the command prompt started by explorer.exe at startup.
The first Command Prompt windows appears even before the login prompt is displayed, so before your logged in.
I also removed the McAfee Antivirus but the problem stays the same.
Marc.
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 2

Expert Comment

by:techxperts
ID: 24357760
can you check msconfig and see whats running in startup if anything suscicious?
0
 
LVL 38

Expert Comment

by:BillDL
ID: 24369401
Just marking this to return later with a suggestion.
0
 
LVL 38

Expert Comment

by:BillDL
ID: 24373754
I would suggest that you have either a maliciously applied file association in your registry, or else some action by the user or a program has meddled with registry file associations.

What you haven't said is what version of Windows is installed on the system causing this problem.

Could you please save the attached *.TXT file to your computer eg. to your Desktop, and then Right-Click and rename it changing the .TXT extension to .BAT (Win9x/XP) or .CMD (Win 2000/XP).  Accept the notification about changing file types.  Double-Click on the batch file and wait until it finishes, then close it.  Attach the file "Exe_Associations.txt" with your response.

Get-Exe-Associations.txt
0
 
LVL 38

Expert Comment

by:BillDL
ID: 24373867
Could you also please open a DOS Prompt / Command window.  Type the following command to change to the root of the C: Drive

cd \

and now type the following command:

set > Environment.txt

Close the DOS window if it doesn't do so and find the file C:\Environment.txt.  If it doesn't open in Notepad on a double-click, then Right-Click > Edit.

Change any references to your User Name in paths like:

C:\Documents and Settings\Bill\Application Data

to some anonymous name or even just USER, and save the file so you can attach it here.
0
 

Accepted Solution

by:
aITs earned 0 total points
ID: 24410626
Hi Guys,
I found the solution to the problem. The problem was caused by some kind of malware. After I scanned the computer with Malwarebytes the problem was gone and the system works back fine. I scanned before the system with McAfee and there is a resident protection too, but this did not find the infection.

Thanks for the reactions guys.
Regards.
Marc.
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

Suggested Solutions

Being a system administrator some time we require to do things remotely, one of them is installing software. Here I am going to tell you how to install software through wmic (Windows management instrument console). I am not at all saying that this i…
When you upgrade from Windows 8 to 8.1 or to Windows 10 or if you are like me you are on the Insider Program you may find yourself with many 450MB recovery partitions.  With a traditional disk that may not be a problem but with relatively smaller SS…
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…

867 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

24 Experts available now in Live!

Get 1:1 Help Now