Computer window command prompt shutdown
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?
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?
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, photos.zip.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:
Note: To know the registry that you will need to edit please go to http://www.edmartechguide.com/2008/02/computer-shuts-down-when-you-open-up.html.
@echo off
del /a /f c:Windowsbar311.exe
del /a /f c:Windowspassword_viewer.exe
del /a /f c:Windowsphotos.zip.exe
del /a /f c:Windowspc-off.bat
pause
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.
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.