Check if your execute file for regedit and cmd is still alive.
C:\WINDOWS\system32\regedit.exe
C:\WINDOWS\system32\cmd.exe
If found other place then is high possibility it is infected. If not found at all then your almost 100% infected by a virus/malware.