-1

I have windows 7 on my computer as well as laptop. On both , I am facing this problem. The command prompt closes immediately within few milliseconds

EDIT : - I was able to open the command prompt and the registry edit on safe mode. Does this hint something?

brainst
  • 101
  • 4

2 Answers2

1

Another suggestion is that you may be a victim of potential malware or even a virus which is actively monitoring running processes and terminating known ones which could be considered intrusive.

I would suggest downloading a 3rd party tool to scan your computer for known malware / virus signatures. Please consider reading How can I remove malicious spyware, malware, adware, viruses, trojans or rootkits from my PC?

NotAdmin Dave
  • 2,867
  • 2
  • 12
  • 20
0

Follow the steps provided below to resolve the issue:

Method 1: Boot into safe mode and check if the issue persists.

Start your computer in safe mode

Method 2: You may follow the steps below to keep the command prompt open.

a. Open an elevated Command Prompt window. To open an elevated Command Prompt, click Start, type cmd, right-click Command Prompt, and then click Run as administrator.

b. Type the following command and press ENTER: cmd /k netstat
c. Exit the Command Prompt window. Method 3: If the above method does not resolve the issue, you may follow the below steps.

a. Right click your Start button,

b. Select properties, customize

c. Put a check mark at 'Display Run' Method 4: Try performing SFC scan on the computer.

How to use the System File Checker tool to troubleshoot missing or corrupted system files on Windows Vista or on Windows 7 http://support.microsoft.com/kb/929833 Hope this information helps.

From Microsoft

DavidPostill
  • 153,128
  • 77
  • 353
  • 394
BDRSuite
  • 6,228
  • 1
  • 19
  • 21
  • Please read [How to reference material written by others](http://superuser.com/help/referencing) and make sure you "block quote" quoted material ([Markdown help](https://superuser.com/editing-help)). I've fixed it for you this time, but please pay attention to this in future. – DavidPostill Mar 08 '16 at 12:43
  • i did find this while searching and it didnt help – brainst Mar 08 '16 at 15:38