Some of the Windows related problems on Windows 10 are due to the Ransomeware protection on Windows 10. Most of the programs do not install unless you give access to write to controlled folders. a brute method I use often (I also used it with installing npm) is to switch-off this program