Solved

cmd opens then closes quickly server 2003

Posted on 2011-03-06
15
789 Views
Last Modified: 2012-05-11
No idea what is going on here.  When I type CMD at the run line the command window opens quickly then vanishes.
Something else is going on is well: localhost and 127.0.0.1 are not opening the web-based utility that it was running before.  I am guessing these are related items but I don't know.  Any assistance would be appreciated.

Bad Panda
0
Comment
Question by:BadPanda
  • 9
  • 5
15 Comments
 
LVL 9

Expert Comment

by:Scottyworld
ID: 35050373
have you done a virus check lately? they have a habit of disabling the command prompt (and usually task manager as well)
0
 
LVL 2

Author Comment

by:BadPanda
ID: 35050712
Actually no.  The server isn't used for anything on the net and isn't really connected to anything that could spread the virus.  I'm sure it is a possiblity...
Any online scanners that can run on a server that you know of?
0
 
LVL 9

Expert Comment

by:Scottyworld
ID: 35051205
both trend and symantec have free online scanners, although have never tried to run them on a server before. The symantec one I have used on a mates Windows XP PC before though and it found a few viruses, so seemed to do the job

http://security.symantec.com/sscv6/home.asp?langid=ie&venid=sym&plfid=21&pkj=ZZVGFYJOKMFIDPMSVOJ

http://housecall.trendmicro.com
0
 
LVL 9

Expert Comment

by:Scottyworld
ID: 35051234
try running this from the run line - it may re-enable the command prompt

REG add HKCU\Software\Policies\Microsoft\Windows\System /v DisableCMD /t REG_DWORD /d 0 /f

if it doesn't you can always remove the reg entry!
0
 
LVL 2

Author Comment

by:BadPanda
ID: 35051412
Scottyworld, am currently downloading an AV from clamwin.  Ran the reg edit you suggested and no difference. :(
I can't have my server down.  This is going to kill me tomorrow.
0
 
LVL 9

Expert Comment

by:Scottyworld
ID: 35051692
have you checked event viewer - are there any logs in there that could point to the cause of the problem - just look for the red X !
0
 
LVL 9

Expert Comment

by:Scottyworld
ID: 35051893
what happens if you double-click the cmd.exe file in the system32 folder? Same thing, or does the cmd window stay open?
0
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 
LVL 9

Accepted Solution

by:
Scottyworld earned 250 total points
ID: 35052012
also check HKLM\software\microsoft\command processor\autorun

this value should be empty
0
 
LVL 2

Author Comment

by:BadPanda
ID: 35052137
There are a few errors but IIS related.  All logs clear for anything related to the CMD...nothing even logged at the time it ran.
CMD doubleclicked on does the exact same thing.
!!!!!!!!!! Registry value was it!!!!!! Woo-hooo!!!!!  Awescome work Scotty!  I am really appreciative.  You have no idea.  
bad Panda
0
 
LVL 2

Author Comment

by:BadPanda
ID: 35052160
Scotty, CMD read Exit by the way.  Don't know why...but I think I will create another ticket tomorrow for the localhost and 127.0.0.1 not functioning.  I don't think they are related.
0
 
LVL 9

Expert Comment

by:Scottyworld
ID: 35052239
Its usually virus's and/or spyware that edit that value, especially if it says Exit
Also try running something like lavasoft adaware or Spybot to check your system is clean.
0
 
LVL 9

Expert Comment

by:Scottyworld
ID: 35052276
with regards to 127.0.0.1
Have you checked the hosts file to see if there's any unusual entries in there?
C:\Windows\System32\drivers\etc\hosts

If you open another ticket, you might want to describe in more detail what exactly is happening, what you're trying to run etc.
Post the link in here and I'll take another look in the (my) morning
0
 
LVL 2

Author Comment

by:BadPanda
ID: 35052333
Thanks for the suggestions.  I'll open the ticket after the AV has finished and I come back in the AM.  Take it easy.  Thanks again.
0
 
LVL 3

Expert Comment

by:tthayer
ID: 36157078
Hey Experts.

Just browsing through and this fixed my problems too.  I can always count on the experts to come through
0
 
LVL 9

Expert Comment

by:Scottyworld
ID: 36157726
That's what we're here for !!!
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

So you have two Windows Servers and you have a directory/folder/files on one that you'd like to mirror to the other?  You don't really want to deal with DFS or a 3rd party solution like Doubletake. You can use Robocopy from the Windows Server 200…
Numerous times I have been asked this questions that what is it that makes my machine log on so slow, there have been cases where computers took 23 minute exactly after taking password and getting to the desktop. Interesting thing was the fact th…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

895 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

15 Experts available now in Live!

Get 1:1 Help Now