How to add an application SID to component services DCOM Config security permissions?

Ji Shirley 181 Reputation points
2021-03-04T03:08:08.713+00:00

How to add an application SID to component services DCOM Config security permissions?
I have a COM Service which is logon as Network Service and I want to start another COM application(with
DCOM) in this Service with CoCreateInstance, Local Service.
However, CoCreateInstance return access denied.
so I think may be the COM application should be registered in DCOM config, but I don't know how to add it.

Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,450 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,568 questions
{count} votes