OK...I followed these steps and fixed it....
1.a) Open Run (windows key + r) and enter "%appdata%" without quotes and press enter.
1.b) Go to the Microsoft folder and delete the SoundMixer folder contained within (This is the mining software).
1.c) Open Run and enter "regedit.exe" without quotes.
1.d) Find the registry entry mentioned in the OP ([HKEY_CURRENT_USER\Software\Microsoft\Command Processor]) and remove it. This entry attempts to run the miner whenever a CMD is started.
2.a) Go to the winlogon registry entry in the same regedit software ([HKEY_CURRENT_USER\Software\Microsoft\WindowsNT\CurrentVersion\Winlogon])
2.b) Check the sub-key named "shell" and change its value to "explorer.exe" without the quotes. (This means when you log onto windows it will no longer attempt to run the miner and instead start up normally.)
Everything works fine now...No errors during startup or when i close Maya.
Now,Can I reinstall WWE2K18 again or should I contact steam first because this all started after I installed that game.