Unlike graphics cards or sound cards, optical drives in modern versions of Windows (Windows 10, Windows 11) use generic Microsoft drivers provided by the operating system. If the drive is physically connected properly, Windows should detect it automatically.
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\4d36e965-e325-11ce-bfc1-08002be10318 → Delete UpperFilters and LowerFilters → Restart.