I create a C++-based service(registered in Registry, and we call it A app) and log in as Network Service.
Then I call CoCreateInstance with CLSCTX_LOCAL_SERVER in A app to launch another application(not registered, and we call it B app which has been configured with Network Service access permission).
However, the B app doesn't start.
And CoCreateInstance return E_ACCESSDENIED.
If I change the log in as System then B app can be started.
A and B apps are in the same folder which has been configured with Network Service access permissions.
I don't know why this happen.
Any suggestions? Thanks.