On Windows 11, dxdiag says my OS is Windows NT, and DirectX is really old (v6)

My machine is Windows 11 Home (updated from 10). But directxdiag says my OS is “Windows NT”!

I guess that’s the reason my directx is v6.02 even though my card supports directx 12

Any ideas on how to fix this?

enter image description here