Jump to content

How do you make a program load as a service?


clivebuckwheat

Recommended Posts

Is this possible in Windows 7?. I remember years ago there was a program svrany I think it was for xp, but it was flaky. Have things gotten any better under Windows 7. There is a program I need to load as windows is loading, I tried to load it in the startup of all users but users are complaining it slows done the boot time of the computer. So i'd like to make it a service if possible.

Thanks for any advice anyone can offer.

Link to comment
Share on other sites


Yes, it's possible, but if it slows down boot as a program moving it to a service isn't going to make it any better, either. You might find your time better spent using the WPT to get a boot trace and analyze why it is slow before figuring the best way to alleviate user experience.

Link to comment
Share on other sites

Basically it is projector software that turns on the projector for our Podium Machines. I put it in the startup of all users, but as we all know before stuff runs in startup, the full windows desktop must load fully first. Hence my Idea of putting it has a service, so the projector software will load as windows loads. Cluberti, I took your advice and ran WPT and followed the instructions on MSFN there is a noticeable on boot up time.

I'd still like to try to load my projector software as a service.

Also remember that if you run it under the System account, it can't interact with the user.

Link to comment
Share on other sites

If you have the .ETL file available, perhaps you could compress it with 7zip or WinRAR and upload it somewhere so we can take a look. However, if the program is just slow, there's not much you can do. Trip is also correct that running it as a service in Vista/2008+ means it runs as system in session 0, so there's no way to interact with it. If the program needs to be controlled in any way, you won't be able to do it. Also, services behave a little differently in Vista/2008+, hence why srvany is no longer supported.

Link to comment
Share on other sites

OK, but with all due respect, all repliers are sidestepping part of the OP's initial question, and this got me curious, too.

So, then... is there any (preferably MS, but not necessarily MS) solution to run a program as a service in Vista+, just as one can do it using srvany in XP?

Link to comment
Share on other sites

Yes, sc.exe can configure new services. However, it's not *entirely* the same as using srvany, and if the program doesn't run well inside sc, you'd have to use something 3rd party (nothing from MS here, as doing this is technically unsupported). Srvany was an NT4 reskit tool, and wasn't officially supported even then (reskit tools have/had no support).

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...