How do I programmitcally launch EXE by disabling compatibility mode?

130 Views Asked by At

User launches my EXE runs in compatibility mode which launches another EXE but I don't want the child EXE to inherit the compatibility mode settings. How do I achieve it? Cannot find any resources which makes this work.

I tried CREATE_NEW_PROCESS_GROUP but it does not work.

I'm using ShellExecuteEx to launch the child EXE (it requires administrative privilege)

1

There are 1 best solutions below

0
montonero On

You could create a task in Windows scheduler with your application and then run it.