-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

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?

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
  • 162,382
BDRSuite
  • 6,378