Solved

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

Posted on 2009-05-11
9
551 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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
 
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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

Many companies are making the switch from Microsoft to Google Apps (https://www.google.com/work/apps/business/). Use this article to learn more about what Google Apps has to offer and to help if you’re planning on migrating to Google Apps. It is …
It’s been over a month into 2017, and there is already a sophisticated Gmail phishing email making it rounds. New techniques and tactics, have given hackers a way to authentically impersonate your contacts.How it Works The attack works by targeti…
Viewers will learn the different options available in the Backstage view in Excel 2013.
The viewer will learn how to simulate a series of coin tosses with the rand() function and learn how to make these “tosses” depend on a predetermined probability. Flipping Coins in Excel: Enter =RAND() into cell A2: Recalculate the random variable…

762 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