Problem description
I got this problem in my Win10 Pro Machine. I uninstalled Anaconda because it gaves me problem with Jupyter notebook and reinstalled it. But since then I'm unable to access Command Prompt.
As soon as I open it it closes. I figure it out opening VSCode and reading Cmd has exited with error code 1
. And now nor Anaconda Prompt is starting up, but as soon as I open PowerShell it's says (conda) so I think it works from there.
powershell and cmd /d
From Powershell if i type in cmd
and it exit immediately without complaining about anything. But if I type cmd /d
it works.
Tried fix that didn't work
- Removing Anaconda from path
- I read somewhere here that it may be caused by some kind of bad command on cmd startup and in fact with cmd /d works as usual.
- I tried to follow the registry fix about startup commands for cmd but the registry entry was missing in my case maybe this could be the issue
- Neither
sfc /scannow
norDISM.exe /Online /Cleanup-image /Scanhealth
worked
Infomation i found online
According to this website ErrorCode 1 'Indicates that Action has attempted to execute non-recognized command in Windows command prompt cmd.exe'.
Actual request
Can anyone help me with this issue please? I tried to look online for a week but with no luck, thank you for your time