开发者

Launch user mode process from Admin mode process

I have a win32 process running as admin mode. I cannot change the fact it's run开发者_运维技巧ning in admin mode. I have an executable on my system which I'd like to launch from that admin process, but have it run in user mode.

How do I achieve that?


To do this with NSIS, you have to use the UAC plugin (But I would recommend you just remove the run checkbox on the finish page if this is the issue you want to fix)


you can use CreateProcessAsUser Win32 API see MSDN for help.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜