![]() |
|
[Shell] cmd closes immediately after opening - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444) +--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151) +---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118) +---- Thread: [Shell] cmd closes immediately after opening (/showthread.php?tid=5752556) |
cmd closes immediately after opening - empeK - Nov 14, 2017 So as a title says my cmd just randomly decided to close immediately after opening like in half a second. I was using ConEmu till one day i opened it and it showed me an error i thought it was ConEmu fault, but it seems that program can't use windows cmd anymore cause it is not opening. Tried to open with cmd /k did not work. In group policy prevent access to the command prompt is checked as not configured. All i can get is this screenshot of cmd if i print screen it fast enough before it closes ![]() Any ideas what went wrong ? RE: cmd closes immediately after opening - Leroy Jethro Gibbs - Nov 14, 2017 Try to run "sfc /scannow" using a runbox. Do Windows Key + R. RE: cmd closes immediately after opening - empeK - Nov 14, 2017 (Nov 14, 2017 05:40 AM)Leroy Jethro Gibbs Wrote: Try to run "sfc /scannow" using a runbox. Do Windows Key + R. It does the same with this. Window just closes immediately RE: cmd closes immediately after opening - Leroy Jethro Gibbs - Nov 14, 2017 Quote:How are you opening it? Copied and pasted from another site. Try the regedit method first. RE: cmd closes immediately after opening - Charles de Gaulle - Nov 14, 2017 I guess you have been infected... RE: cmd closes immediately after opening - throhts - Nov 14, 2017 Download MalwareBytes. Open msconfig > boot > check "Safe Boot" Restart your PC. Run a scan in safe mode. Enable "Rootkit scan" RE: cmd closes immediately after opening - empeK - Nov 14, 2017 Aight so it seems i was infected. I ran malwarebytes and it found be a threat and i deleted it, then i tried open cmd and it worked. Then to make sure i restarted in safe mode and after restart i can see only cmd window now even in normal boot. I can access everything, cmd, task manager file locations from task manager and etc. But on main screen it only shows cmd and black screen behind it. No start no other stuff to access with mouse RE: cmd closes immediately after opening - Hackoo - Nov 14, 2017 When in doubt https://hackforums.net/showthread.php?tid=5680120 RE: cmd closes immediately after opening - Carbon - Nov 14, 2017 (Nov 14, 2017 06:28 AM)empeK Wrote: Aight so it seems i was infected. I ran malwarebytes and it found be a threat and i deleted it, then i tried open cmd and it worked. Then to make sure i restarted in safe mode and after restart i can see only cmd window now even in normal boot. I can access everything, cmd, task manager file locations from task manager and etc. But on main screen it only shows cmd and black screen behind it. No start no other stuff to access with mouseSounds like you are still infected. RE: cmd closes immediately after opening - nicksaban1 - Nov 14, 2017 Are you opening a program that you wrote? open with notepad and add Code pauseNevermind, I see it now. What did malware antibytes see/detect? RE: cmd closes immediately after opening - userU - Nov 15, 2017 Seems that you have done something wrong with the configuration. Try a safe boot and look at your task manager for anything you shouldn't be running. |