Solved

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

Posted on 2009-05-11
9
553 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
Transaction Monitoring Vs. Real User Monitoring

Synthetic Transaction Monitoring Vs. Real User Monitoring: When To Use Each Approach? In this article, we will discuss two major monitoring approaches: Synthetic Transaction and Real User Monitoring.

 

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

Lync meeting or Lync conferencing is what many organizations would like to deploy to allow them save money. But companies are now giving up for various reasons, one of which is that they cannot join external meetings (non-federated company meetings)…
Citrix XenApp, Internet Explorer 11 set to Enterprise Mode and using central hosted sites.xml file.
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

695 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