Can the system play the DVD?
Handbrake actually uses the onboard DVD drivers to decode/encode the file.
If you cannot play it then download the free Windows 10 DVD player using Microsoft Store making sure you have closed the Handbrake application before installation.
Once the drivers are ionstalled, ensure that you can play the DVD on the system and then try and encode the DVD in Handbrake again.