Solved

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

Posted on 2009-05-11
9
546 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
How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

 
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Introduction: Recently, I got a requirement to zip all files individually with batch file script in Windows OS. I don't know much about scripting, but I searched Google and found a lot of examples and websites to complete my task. Finally, I was ab…
Technology opened people to different means of presenting information, but PowerPoint remains to be above competition. Know why PPT still works today.
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
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…

707 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

18 Experts available now in Live!

Get 1:1 Help Now