Many of them have voiced their concern that they are getting the Process Exited with Code 1 error when trying to execute any command in the CMD window. Likewise, the same error also appears if they try and run a batch file. if you are also currently getting bugged with this issue, then this guide will make you aware of two different methods to rectify it. Follow along.
How to Fix Process Exited with Code 1
In order to resolve this issue, you will have to delete the Command Processor’s Autorun registry key. This could be done via two different methods- directly execute a single line of command in Powershell or manually delete this file via the Registry Editor. We have listed both these methods below, you may refer to the one that is in sync with your requirement.
Using PowerShell
Via Registry Editor
That’s it. These were the two different methods to fix the Process Exited with Code 1 error. If you have any queries concerning the aforementioned steps, do let us know in the comments. We will get back to you with a solution at the earliest.
Windows Powershell not working in Windows 11: How to FixFind all running processes using Powershell in Windows 11Registry Editor not working in Windows 11: How to FixHow to Uninstall Apps using Command Prompt (CMD) or Powershell in Windows 11