I've confirmed it's a windows issue. I installed a fresh copy of windows onto an old empty drive I had and the driver installed no problems. Now I just need to work out why it's not working on my normal copy. I don't really want to start fresh and reinstall everything.
I tried your suggestions but still the same error. Below are the outputs from those steps
1.scanning and repairing drive c 100% complete
2.Windows resource protection found corrupt files but was unable to fix some of them.
for online repairs details are included in the CBS logfile located at ...I couldn't see any errors in the log file. Only Warnings like the ones I've pasted below
3. No Component store corruption detected The operation completed successfully
4.The Restore operation completed successfully The operation completed successfully
2020-04-08 07:24:11, Info CSI 000001bb Warning: Overlap: Directory \??\C:\WINDOWS\SysWOW64\drivers\en-US\ is owned twice or has its security set twice
Original owner: Microsoft-Windows-Foundation-Default-Security.Resources, version 10.0.18362.1, arch Host= amd64 Guest= x86, culture [l:5]'en-US', nonSxS, pkt {l:8 b:31bf3856ad364e35}
New owner: Microsoft-Windows-Foundation-Default-Security.Resources, version 10.0.18362.1, arch Host= amd64 Guest= x86, culture [l:5]'en-US', nonSxS, pkt {l:8 b:31bf3856ad364e35}
2020-04-08 07:24:11, Info CSI 000001bc Warning: Overlap: Directory \??\C:\WINDOWS\SysWOW64\wbem\en-US\ is owned twice or has its security set twice
Original owner: Microsoft-Windows-Foundation-Default-Security.Resources, version 10.0.18362.1, arch Host= amd64 Guest= x86, culture [l:5]'en-US', nonSxS, pkt {l:8 b:31bf3856ad364e35}
New owner: Microsoft-Windows-Foundation-Default-Security.Resources, version 10.0.18362.1, arch Host= amd64 Guest= x86, culture [l:5]'en-US', nonSxS, pkt {l:8 b:31bf3856ad364e35}
2020-04-08 07:24:11, Info CSI 000001bd Warning: Overlap: Directory \??\C:\WINDOWS\help\mui\0409\ is owned twice or has its security set twice
Original owner: Microsoft-Windows-Foundation-Default-Security.Resources, version 10.0.18362.1, arch Host= amd64 Guest= x86, culture [l:5]'en-US', nonSxS, pkt {l:8 b:31bf3856ad364e35}
New owner: Microsoft-Windows-Foundation-Default-Security.Resources, version 10.0.18362.1, arch Host= amd64 Guest= x86, culture [l:5]'en-US', nonSxS, pkt {l:8 b:31bf3856ad364e35}