Disclaimer: unlike other King's Quest speedruns, King's Quest IV is ran on a proprietary version of ScummVM that was designed by a community member. This version of the emulator has been configured to run the game as your PC would natively through DOS. Other QOL (quality of life) features have been implemented as well.
Download ScummVM: https://drive.google.com/open?id=1DhD9QwcOuUMATDCo1TIZMO3hpC1MfvZk Download the file, unzip it, open up ScummVM.exe
Configuring: Click "Add game" Navigate to where your King's Quest IV game files are located. Click "Ok" Click "Start Game" Complete the copy protection. Answers are on this image file: https://steamuserimages-a.akamaihd.net/ugc/93847163969928951/7461C720C122DEA895CFADCAAF570EA5AEB7BE69/ Skip the introduction. Maximize the game speed. Make a save and name it "Start". Make a second save and name it "Safety".
Load the "Start" save when you start the emulator to bypass the copy protection.
King's Quest IV should be all setup. Happy runs.