>>I still can not find a solution to this. Has snyone else run into this when they did the windows 10 upgrade?
>
>Make sure your task is set to run "with Highest Privilege." Also that your program and data are outside the Program Files (x86) directory. Those are the settings needed for modern (Vista onward) OS's.
>
>You an use "run now" to test your settings and results.
Also, the account under which it runs has to have the privilege to run cmd.exe (found it the hard way, when one stopped working because the IT cerberi decided that this account doesn't need that kind of luxury, and of course told nobody, because their professional ethics forbids them to do so). And that it has the privilege to do whatever it does (connect to database, call mom, write a log entry, create/modify/delete a file in its folders).
The "run now" is a good test, because it makes it run in exactly the context in which it will run. Running the same exe as yourself is not, because it's like english language, everything depends on context.