We help IT Professionals succeed at work.
Get Started

Need to Tuen my app into a service

CraigLazar
CraigLazar asked
on
141 Views
Last Modified: 2010-05-02
Hi
I have a small vb6 app which i need to start as a service when the pc boots.
Now i have already tried the NTsvc.ocx which is a control which is used to cretae
ur app as a service. However this does not work Properly.

On a server, i need the service to start if a restricted user logons onto the
server. I got the service to run if the options in the advanced tab, is set
to use local system account.
However i need to be able to use the administrator account to start the service,
so if a normal user logs onto the server with restricted access, then the service will still
run and start my app.

Now i alooked at current service and in the Account name it has the following
NT AUTHORITY\LocalService

So i need sample code to get an app going as a service using the specific account name
property in the service so the service will still start if a restricted user reboots the pc
and logs in


thanks
Comment
Watch Question
CERTIFIED EXPERT
Top Expert 2010
Commented:
This problem has been solved!
Unlock 1 Answer and 3 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE