Solved

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

Posted on 2009-05-11
9
550 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
Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

 

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

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

We were having a lot of "Heartbeat Alerts" in our SCOM environment, now "Heartbeat" in a SCOM environment for those of you who might not be familiar with SCOM is a packet of data sent from the agent to the management server on a regular basis, basic…
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…
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…
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…

772 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