Make an ISO from a DVD/CD on Windows 11

Making an ISO on a Windows 11 (and maybe Windows 10, can’t remember when I figured this out) is a lot harder than it needs to be. So I figured out a way to do it using defensible tools i.e. no random third-party apps without source code disclosure.