that top command should work, i give you the command prompt alternative
open cmd (admin)
copy/paste this in - spacing is important
DISM /Online /Cleanup-Image /RestoreHealth and press enter
its same command as powershell, just formatted differently.
as for chkdsk, i am just an idiot... its chkdsk c: /f
I don't run it often enough myself to know direction of the slash. Sorrry about that.
Why are you trying to run system restore anyway?