Ok, so I know what's causing the issue but don't have a fix.
I start in safe mode and use driver cleaner to remove my display adapter driver (Nvidia RTX 4070TI).
Before Windows installs the Nvidia driver automatically everything is fine with no issues. The moment the Nvidia driver is installed I get the same problem reported -the DirectX Driver Kernel.
I have tried reinstalling DirectX but this makes no difference.
The problem isn't there in Studio One so is this a Cakewalk bug with 4000 series graphics cards?