Computer window command prompt shutdown

Asked By 0 points N/A Posted on -

What seems to be the problem when my computer shuts down automatically whenever I'm opening a command prompt window and how can I resolve it?


Answered By 0 points N/A #108876

Computer window command prompt shutdown


Looks like that your computer has the symptom of a computer that has been infected by a bar311.exe virus (also known as winzip123). This virus has the bar311.exe, password_viewer.exe, and pf-off.bat. If you will boot your Windows in Safe Mode you will get a message saying “Thank You!!! Password:Winzip123”. The pc-off.bat has the syntax that goes like “C:/path/shutdown –s –f –t 2 –c” which causes your computer to shutdown when you open the command prompt.

To remove the bar311.exe virus manually:

  • Press CTRL+ALT+DEL to get to the task manager
  • Click on Processes tab
  • Look for and End the task for password_viewr.exe, bar311.exe, pf-off.bat and
  • Edit the registry entries on regedit through Run under Start

Note: To know the registry that you will need to edit please go to

  • Go to the USB Flash drive by using the folders view in the IE then use the navigation panel on the left side when you access the drives to avoid the autorun
  • Delete autorun.inf and password_viewer.exe or bar311.exe
  • Open the notepad then type the following:

@echo off

del /a /f c:Windowsbar311.exe

del /a /f c:Windowspassword_viewer.exe

del /a /f

del /a /f c:Windowspc-off.bat



Note: Save the above as remove.bat then go to run. This will remove the virus bar311.exe totally and resolve the automatic shutdown issue of your system every time you go to the command prompt. 

Answered By 577940 points N/A #299902

Computer window command prompt shutdown


That shouldn’t happen when you just want to run the command prompt. If you open the command prompt from the “Command Prompt” icon or shortcut in the Start menu, try launching the program in the “Run” section. Click “Start” and then “Run”. Enter without quotes “cmd” then hit Enter. This should also open the command prompt. This method is different because you are directly executing the program.

Unlike when you run the command prompt in “Start,” “All Programs,” “Accessories”, and then “Command Prompt”, you are executing a shortcut which then executes the command prompt program. See if this works. If this didn’t work, there is something wrong with your operating system. Try using the system file checker utility.

Launch an elevated command prompt. Click “Start,” “All Programs,” “Accessories” then right-click “Command Prompt” and select “Run as administrator”. In the command prompt window, enter without quotes “sfc /scannow” then hit Enter. Wait until it is complete then see if it works.

Login/Register to Answer

Related Questions