johnbreton Posted March 3, 2005 Posted March 3, 2005 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 regardsJohn
bledd Posted March 3, 2005 Posted March 3, 2005 you could add it to the key HKLM\Software\Microsoft\Windows\CurrentVersion\Runkeyname=exenameand 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..
johnbreton Posted March 3, 2005 Author Posted March 3, 2005 Thanks FettThanks BleddI 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 searchingThanksLet me know if you find anything else.John
FeTT! Posted March 3, 2005 Posted March 3, 2005 Microsoft have it for NT4 .. ill check if i cannot find something newer
FeTT! Posted March 3, 2005 Posted March 3, 2005 OK i find ithttp://www.microsoft.com/resources/documen...-us/instsrv.aspDownload linkhttp://www.microsoft.com/downloads/details...&displaylang=en
Yzöwl Posted March 3, 2005 Posted March 3, 2005 Look at SC.EXE, and the create commandSC CREATE <SERVICE NAME>
Vadikan Posted March 4, 2005 Posted March 4, 2005 YzöwlDoes 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.
Yzöwl Posted March 4, 2005 Posted March 4, 2005 sc.exe is already built in to XP, just type in it and see.
SiMoNsAyS Posted March 4, 2005 Posted March 4, 2005 i find easier to look on "hklm\system\currentcontrolset\services", see how it works and create your own reg.
Vadikan Posted March 6, 2005 Posted March 6, 2005 sc.exe is already built in to XP, just type in it and see.<{POST_SNAPBACK}>Thanks. I had Win2k when I asked the question
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now