ÇáãÓÇÚÏ ÇáÔÎÕí ÇáÑÞãí

ãÔÇåÏÉ ÇáäÓÎÉ ßÇãáÉ : How do I launch a process as user "Administrator"?



C++ Programming
04-08-2009, 06:52 AM
Hi all,

I need to launch a process as the user “Administrator” while running as “SYSTEM”. This is for a Windows XP Embedded application that launches another application, but the new application has to run under the “Administrator” account. It pops up an error message box when executed as “SYSTEM”. (Yes, the "Administrator" XPe component is installed.) Does anyone have any example code that does this or something very similar?

Thanks!
Peni