开发者

Running a process as SYSTEM account

I need to run a process with the SYSTEM account.

Starting from Administrator, which is the best开发者_如何学C way to elevate to the SYSTEM account?

It should work for Windows XP and later.


If you need to start or stop a service that is running in the system account, you don't need to run a process in the system account.

Instead, you need to set the ACL on your service (it is your service, right?) to grant interactive users the right to start or stop your service.

If it is not your service, then you really shouldn't do that. If the author of the service decided that interactive users weren't supposed to start or stop their service, they probably had a good reason for making that decision.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜