All modern Windows operating systems include DirectX as a software program for operations.
However, Microsoft has been known to release updated versions of DirectX and installing the latest updates may be the fix to a DirectX problem you're having or may give performance increases in your games and graphics programs.
I will show you the easy steps below to update DirectX in any version of Windows:
How To Download & Install DirectX
Time Required: Installing DirectX usually takes less than 15 minutes.
DirectX & Windows Versions: DirectX 12, 11, 10, & 9
More information is available on the Microsoft's site.
https://www.microsoft.com
Type on the search bar by the right. "DOWNLOAD directX
click on *DirectX End-User Runtime Web Installer Download Page on Microsoft's site.
1.Click the red Download button and then
the blue Next button.
Note: Microsoft will recommend a couple of their other products after clicking the Download link, but you can uncheck those boxes if you don't want to download them.then restart your computer and install the file.