Jump to content

So, since yesterday my command prompt just opens briefly and then closes, it's like a split second. I need it to run my python codes for school but now I can't use cmd. Also running it in administrator doesn't help. I tried changing the group user policy but also this didn't work. Does anyone else have an idea?

We don't make mistakes, we make happy accidents. ~ Bob Ross

With a hammer everything fits! ~ Quintin B

Add me on IM+ DeV_FGBA

Link to comment
https://linustechtips.com/topic/942253-command-prompt-not-working/
Share on other sites

Link to post
Share on other sites

28 minutes ago, Quintin.B said:

So, since yesterday my command prompt just opens briefly and then closes, it's like a split second. I need it to run my python codes for school but now I can't use cmd. Also running it in administrator doesn't help. I tried changing the group user policy but also this didn't work. Does anyone else have an idea?

What OS?

NOTE: I no longer frequent this site. If you really need help, PM/DM me and my e.mail will alert me. 

Link to post
Share on other sites

I also tried to make a .bat file with a pause in it so it keeps open, but also that doesn't work. Feels like something is forcing it to close

 

We don't make mistakes, we make happy accidents. ~ Bob Ross

With a hammer everything fits! ~ Quintin B

Add me on IM+ DeV_FGBA

Link to post
Share on other sites

21 minutes ago, Quintin.B said:

I also tried to make a .bat file with a pause in it so it keeps open, but also that doesn't work. Feels like something is forcing it to close

 

What happens if you run it in safe mode?

Might be a virus interfering with it

NOTE: I no longer frequent this site. If you really need help, PM/DM me and my e.mail will alert me. 

Link to post
Share on other sites

In safe mode it does the same, opens shortly then closes. Like you won't even see the black screen from CMD. I also did a full system scan with Bitdefender last night. It onyl found one virus, A bitcoin miner of all things. It's been removed. does that have to do anything with it?

We don't make mistakes, we make happy accidents. ~ Bob Ross

With a hammer everything fits! ~ Quintin B

Add me on IM+ DeV_FGBA

Link to post
Share on other sites

6 hours ago, Quintin.B said:

In safe mode it does the same, opens shortly then closes. Like you won't even see the black screen from CMD. I also did a full system scan with Bitdefender last night. It onyl found one virus, A bitcoin miner of all things. It's been removed. does that have to do anything with it?

Where there is one, there is usually more. 

Install and run SuperAntiSpyware and see what it finds...

NOTE: I no longer frequent this site. If you really need help, PM/DM me and my e.mail will alert me. 

Link to post
Share on other sites

Installed and letting it run overnight, I'll get back tomorrow with the results! In the short time it ran it already found stuff. Guess I have to start using anti Virus software more often!

We don't make mistakes, we make happy accidents. ~ Bob Ross

With a hammer everything fits! ~ Quintin B

Add me on IM+ DeV_FGBA

Link to post
Share on other sites

SuperAntiSpyware only found tracking cookies. It didn't find anything else. After that finished I also let malwarebytes scan the system and didn't find a thing. So it has to be clean. Now what would be the next step to get it working again?

 

We don't make mistakes, we make happy accidents. ~ Bob Ross

With a hammer everything fits! ~ Quintin B

Add me on IM+ DeV_FGBA

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×