But it may not work properly if you are installing DOSbox into the Program Files (x86) folder due to the UAC wanting to keep you out of there.
You normally have to disable UAC and take full control/ownsership of this folder as well as being an admin account on the local machine.
I usually install DOSbox into a different folder along with my games that I want to run, usually something like C:\DOSGAMES\DOSBOX\ works for me.
Of course I prefer to take full control over my box and I mess up well that's on me 😉
No matter where you go, there you are...