Try switching to the classic render engine , the new one is DirextX12 based and I don’t think Microsoft ever made that for windows 7 which was discontinued 13+ years ago.
update : Actually they made a version for windows 7, however it is not a straightforward install.
I’m not sure if this is for developers to directly integrate into a piece of software rather than install on the OS.
Also, it would not surprise me if you still get errors after that