Alright, will do.
Thank you for your help
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I downloaded a CMD script for a game, but everytime i run it (with administrator), the Command prompt flashes for half a second and instantly closes. I managed to capture what it says before closing, and it simply says this at the end and closes
[process exited with code 1 (0x00000001)]
You can now close this terminal with Ctrl+D, or press Enter to restart.
I tried a common fix for this found online that involves the powershell command:
C:\Windows\System32\reg.exe DELETE "HKCU\Software\Microsoft\Command Processor" /v AutoRun /fAnd the CMD command (with administrator): sfc /scannow
Neither of those helped at all. the problem still persisted.
One thing to note, my "Command Prompt" key is completely missing from my Registry editor. it should normally be in Computer\HKEY_CURRENT_USER\Software\Microsoft\Command Processor
But its not there at all. I'm running on Windows 11 pro 24H2, OS build 26100.3476
I assume I'm up to date.
Please let me know if you can help
PS. I also tried running the same command from a new profile on my device, also didn't work.
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
Alright, will do.
Thank you for your help
You're welcome.
Regards,