Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 



Sign in to follow this  
johnbreton

How To Install A Service

Recommended Posts

johnbreton    0

Is it possible to add to an unattend install of Windows SP2, the installation of an .exe as a service that start automatically.

I have copied my exe into the C:\windows\system32 directory.

Now I just want to make it a service.

Anyone has a link, a solution or any tip that would help me.

Best regards

John

Share this post


Link to post
Share on other sites

bledd    0

you could add it to the key

HKLM\Software\Microsoft\Windows\CurrentVersion\Run

keyname=exename

and place it in the system32 folder, this would NOT install it as a service, but it would run each time the computer is booted up, this is where virus scanners are often installed for example..

Share this post


Link to post
Share on other sites
johnbreton    0

Thanks Fett

Thanks Bledd

I don't want to run the program (exe) into the startup menu.

I want the program to run as a service.

I thought that Microsoft had made a software in the ressource kit that could allow that...

I am still searching

Thanks

Let me know if you find anything else.

John

Share this post


Link to post
Share on other sites
Vadikan    0

Yzöwl

Does SC.EXE from Win2k resource kit work with XP? This M$ KB article doesn't list XP in the "applies to" section. I don't see the utility in the W2003 resource kit tool list either. Thanks.

Share this post


Link to post
Share on other sites
SiMoNsAyS    0

i find easier to look on "hklm\system\currentcontrolset\services", see how it works and create your own reg.

Share this post


Link to post
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

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×