Agent not starting attempting to switch your local agent but not working

I am unable to run Agent on my machine… Its showing error as no local agent available when I am trying to switch to local agent. It just keeps on going but no result at the end. I tried deleting the Agent and re-registering it but same error…
Can anyone help?

1- Delete temporary agent files | TestProject Help Center Delete temporary agent files | TestProject Help Center
2- Download the agent
3 - Register the agent
4 - Restart the agent, many times, it worked for me.