我怎么能运行在系统中的应用程序?
如果不使用窗口服务?这可能吗?
Without using windows service? Is it possible?
有可能像以下几种方式:
It is possible in ways like the following:
1)使用一些现有的接口,这下SYSTEM帐户运行的服务启动新进程的窗口服务。例如,您可以使用任务计划 API。
1) Use some existing interface to a windows service which run under SYSTEM account to start new process by the service. For example you can use Task Scheduler API.
2)您可以安装新的Windows服务,由服务启动进程,停止服务,卸载服务。事情是这样的,你从的工具。 COM / EN-US / Sysinternals公司/> Sysinternals的。
2) You can install new windows service, start process by the service, stop the service, uninstall the service. It is the way which you PsExec utility from SysInternals.
3)您可以启用调试权限和使用DLL注入注入您的自定义DLL进程中的下SYSTEM帐户下运行,从DLL启动新的进程,然后卸载DLL注入
3) You can enable Debug Privilege and use DLL injection to inject your custom DLL in a process running under SYSTEM account, start new process from the DLL and then unload the injected DLL.