For all those who are facing this issue in windows 10 even after trying the above mentiond steps, this worked for me -
For Windows 10 users trying to debug this same error, launch CMD as administrator (important!) and run dot -c and then run dot -v
This fixed the issue for me