Disable dvd/cd drive

Is there a way to disable a drive in a way that windows cannot find the drive and install it?

normal drive disable in harware manager and disable in bios are no options( function is simply not available in the bios)

thanks in advance

Why would you want to disable a drive so it can’t be found? LOL

Safeboot and delete away to remove all hardware that you no longer have!

Why is clear: To fool a copy-protection coming with a bunch of games!

never mind then!