Solution With Microsoft Download Center
1. Go to the “Microsoft Download Center” (https://www.microsoft.com/en-us/download/) Add in the search: (directx end-user runtime web installer) you see the DirectX file and click.
2. Click on Download
3. Uncheck The box and click no thanks and continue, Your file is downloaded automatically
4. Remember “Open the downloaded file (Not installed) And after that, follow the installation instructions.
=> Or just click below
Download DirectX 9 here
or
Download DirectX 11 here
or
DirectX End-User Runtime Web Installer