简体   繁体   中英

execute program as lsa

I'm developing a program in windows (something like client & server) and I want to run server as LSA(local system account).but I don't know how?
Note : I'm writing my program in VB6 but I'm familiar with C#,C++ and C. So if your code is in any of these languages, I would be appreciate putting your code here.

There are a few options that come to mind. This article covers some of them.

Other things you could do is to add your app to the system startup process (via the MSCONFIG.exe app - "Start -> Run -> msconfig -> Startup" tab, or something like that).

Another way may be to setup your app so it can be installed as a service. You can configure any service to run under any arbitrary account on the machine, or via an account on your domain, if you're on a domain.

Another resource that looks like it might work for you is this article , which describes in more specifics, how to create a service from a VB6 app.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM