Your program try to write .ini-file in folder "Program Files" where installed MKVToolNix (by default). This action is disabled (it's impossible) by the security requirements of all modern systems and not Windows only! It's considered as an error.