Closed forderud closed 2 months ago
Figure out how to get RunAs = "nt authority\system" working as described on https://learn.microsoft.com/en-us/windows/win32/com/runas . Relevant quote:
RunAs = "nt authority\system"
Can use "nt authority\system" with a COM server that is already started or that has an entry in the class table. However, you cannot use "nt authority\system" with a COM server that is not already started.
Untested startup command: c:\Dev\tools\PSTools\PsExec.exe -i -s c:\Dev\ComSamples\x64\Debug\MyServerCpp.exe
c:\Dev\tools\PSTools\PsExec.exe -i -s c:\Dev\ComSamples\x64\Debug\MyServerCpp.exe
Sample code: AppID SetRunAsPassword
SetRunAsPassword
Relevant:
Bacground:
Task moved to https://github.com/forderud/RunInSandbox/issues/11
Figure out how to get
RunAs = "nt authority\system"
working as described on https://learn.microsoft.com/en-us/windows/win32/com/runas . Relevant quote:Untested startup command:
c:\Dev\tools\PSTools\PsExec.exe -i -s c:\Dev\ComSamples\x64\Debug\MyServerCpp.exe
Sample code: AppID
SetRunAsPassword
Related links
Relevant:
Bacground: