Ok try this.
Maybe you installed an antivirus in your PC which is blocking your firewell all connections If yes then disable your antivirus .Windows 10/7 also have a security "Windows Defender" which you find it in control panel go to start menu and search windows defender then disable windows defender and then restart you PC then try to install DX 9 or up versions.
I hope this help.