CMD closes immediately after opening it
My problem
I am trying to open a command prompt like this:
Step 1
press windows+run
Step 2
Write cmd
Step 3
Press enter
Result
Cmd briefly opens then closes
Causes
Recently i had a malware but i cleaned it with MalwareBytes, still this could be a follow-up of that
Other weird behaviour
When i go to `windows/system32` and I right click `cmd.exe` to see it's properties it doesn't allow me to do it, acts just like if I would have clicked away, on the other hand i can see the properties for other files
If i right click the start icon and run command prompt from there it allows me to use cmd perfectly
- I can't open `.cmd` files
What I've tried
- I ran `sfc` for cmd and it closed my command prompt
- I checked `HKEY_LOCAL_MACHINESOFTWAREMicrosoftCommand Processor` for any autoruns but i found none
- I checked with the program `autoruns` if there are any autoruns on the cmd and i couldn't found any
Any help is highly appreciated!
command-line windows-8.1 cmd.exe
add a comment |
My problem
I am trying to open a command prompt like this:
Step 1
press windows+run
Step 2
Write cmd
Step 3
Press enter
Result
Cmd briefly opens then closes
Causes
Recently i had a malware but i cleaned it with MalwareBytes, still this could be a follow-up of that
Other weird behaviour
When i go to `windows/system32` and I right click `cmd.exe` to see it's properties it doesn't allow me to do it, acts just like if I would have clicked away, on the other hand i can see the properties for other files
If i right click the start icon and run command prompt from there it allows me to use cmd perfectly
- I can't open `.cmd` files
What I've tried
- I ran `sfc` for cmd and it closed my command prompt
- I checked `HKEY_LOCAL_MACHINESOFTWAREMicrosoftCommand Processor` for any autoruns but i found none
- I checked with the program `autoruns` if there are any autoruns on the cmd and i couldn't found any
Any help is highly appreciated!
command-line windows-8.1 cmd.exe
Sounds like a virus. Try booting into safe mode and see if things run normally.
– duct_tape_coder
Dec 19 '18 at 21:32
I think you can refer to this article: stackoverflow.com/questions/5373137/…
– Peter.G
Dec 20 '18 at 6:56
everytime I try to acess the link you posted my browser closes? I'll do another scan to see if I find something
– Radu
Dec 20 '18 at 10:35
Also when I start it in safe mode cmd opens with no problem
– Radu
Dec 20 '18 at 10:53
add a comment |
My problem
I am trying to open a command prompt like this:
Step 1
press windows+run
Step 2
Write cmd
Step 3
Press enter
Result
Cmd briefly opens then closes
Causes
Recently i had a malware but i cleaned it with MalwareBytes, still this could be a follow-up of that
Other weird behaviour
When i go to `windows/system32` and I right click `cmd.exe` to see it's properties it doesn't allow me to do it, acts just like if I would have clicked away, on the other hand i can see the properties for other files
If i right click the start icon and run command prompt from there it allows me to use cmd perfectly
- I can't open `.cmd` files
What I've tried
- I ran `sfc` for cmd and it closed my command prompt
- I checked `HKEY_LOCAL_MACHINESOFTWAREMicrosoftCommand Processor` for any autoruns but i found none
- I checked with the program `autoruns` if there are any autoruns on the cmd and i couldn't found any
Any help is highly appreciated!
command-line windows-8.1 cmd.exe
My problem
I am trying to open a command prompt like this:
Step 1
press windows+run
Step 2
Write cmd
Step 3
Press enter
Result
Cmd briefly opens then closes
Causes
Recently i had a malware but i cleaned it with MalwareBytes, still this could be a follow-up of that
Other weird behaviour
When i go to `windows/system32` and I right click `cmd.exe` to see it's properties it doesn't allow me to do it, acts just like if I would have clicked away, on the other hand i can see the properties for other files
If i right click the start icon and run command prompt from there it allows me to use cmd perfectly
- I can't open `.cmd` files
What I've tried
- I ran `sfc` for cmd and it closed my command prompt
- I checked `HKEY_LOCAL_MACHINESOFTWAREMicrosoftCommand Processor` for any autoruns but i found none
- I checked with the program `autoruns` if there are any autoruns on the cmd and i couldn't found any
Any help is highly appreciated!
command-line windows-8.1 cmd.exe
command-line windows-8.1 cmd.exe
asked Dec 19 '18 at 21:07
RaduRadu
11
11
Sounds like a virus. Try booting into safe mode and see if things run normally.
– duct_tape_coder
Dec 19 '18 at 21:32
I think you can refer to this article: stackoverflow.com/questions/5373137/…
– Peter.G
Dec 20 '18 at 6:56
everytime I try to acess the link you posted my browser closes? I'll do another scan to see if I find something
– Radu
Dec 20 '18 at 10:35
Also when I start it in safe mode cmd opens with no problem
– Radu
Dec 20 '18 at 10:53
add a comment |
Sounds like a virus. Try booting into safe mode and see if things run normally.
– duct_tape_coder
Dec 19 '18 at 21:32
I think you can refer to this article: stackoverflow.com/questions/5373137/…
– Peter.G
Dec 20 '18 at 6:56
everytime I try to acess the link you posted my browser closes? I'll do another scan to see if I find something
– Radu
Dec 20 '18 at 10:35
Also when I start it in safe mode cmd opens with no problem
– Radu
Dec 20 '18 at 10:53
Sounds like a virus. Try booting into safe mode and see if things run normally.
– duct_tape_coder
Dec 19 '18 at 21:32
Sounds like a virus. Try booting into safe mode and see if things run normally.
– duct_tape_coder
Dec 19 '18 at 21:32
I think you can refer to this article: stackoverflow.com/questions/5373137/…
– Peter.G
Dec 20 '18 at 6:56
I think you can refer to this article: stackoverflow.com/questions/5373137/…
– Peter.G
Dec 20 '18 at 6:56
everytime I try to acess the link you posted my browser closes? I'll do another scan to see if I find something
– Radu
Dec 20 '18 at 10:35
everytime I try to acess the link you posted my browser closes? I'll do another scan to see if I find something
– Radu
Dec 20 '18 at 10:35
Also when I start it in safe mode cmd opens with no problem
– Radu
Dec 20 '18 at 10:53
Also when I start it in safe mode cmd opens with no problem
– Radu
Dec 20 '18 at 10:53
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1386043%2fcmd-closes-immediately-after-opening-it%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1386043%2fcmd-closes-immediately-after-opening-it%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Sounds like a virus. Try booting into safe mode and see if things run normally.
– duct_tape_coder
Dec 19 '18 at 21:32
I think you can refer to this article: stackoverflow.com/questions/5373137/…
– Peter.G
Dec 20 '18 at 6:56
everytime I try to acess the link you posted my browser closes? I'll do another scan to see if I find something
– Radu
Dec 20 '18 at 10:35
Also when I start it in safe mode cmd opens with no problem
– Radu
Dec 20 '18 at 10:53