johnbreton Posted March 3, 2005 Share 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 Link to comment Share on other sites More sharing options...
FeTT! Posted March 3, 2005 Share Posted March 3, 2005 what you you want to use as a service? Link to comment Share on other sites More sharing options...
bledd Posted March 3, 2005 Share 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.. Link to comment Share on other sites More sharing options...
johnbreton Posted March 3, 2005 Author Share 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 Link to comment Share on other sites More sharing options...
FeTT! Posted March 3, 2005 Share Posted March 3, 2005 Microsoft have it for NT4 .. ill check if i cannot find something newer Link to comment Share on other sites More sharing options...
FeTT! Posted March 3, 2005 Share Posted March 3, 2005 OK i find ithttp://www.microsoft.com/resources/documen...-us/instsrv.aspDownload linkhttp://www.microsoft.com/downloads/details...&displaylang=en Link to comment Share on other sites More sharing options...
johnbreton Posted March 3, 2005 Author Share Posted March 3, 2005 YESS!!!!!!Thanks a million FETT!JOhn Link to comment Share on other sites More sharing options...
FeTT! Posted March 3, 2005 Share Posted March 3, 2005 Np, plz reply if it work Link to comment Share on other sites More sharing options...
Yzöwl Posted March 3, 2005 Share Posted March 3, 2005 Look at SC.EXE, and the create commandSC CREATE <SERVICE NAME> Link to comment Share on other sites More sharing options...
Vadikan Posted March 4, 2005 Share 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. Link to comment Share on other sites More sharing options...
Yzöwl Posted March 4, 2005 Share Posted March 4, 2005 sc.exe is already built in to XP, just type in it and see. Link to comment Share on other sites More sharing options...
FeTT! Posted March 4, 2005 Share Posted March 4, 2005 Thx Yzöwl... SC.exe are handly. ill use it for sure! Link to comment Share on other sites More sharing options...
SiMoNsAyS Posted March 4, 2005 Share Posted March 4, 2005 i find easier to look on "hklm\system\currentcontrolset\services", see how it works and create your own reg. Link to comment Share on other sites More sharing options...
FeTT! Posted March 4, 2005 Share Posted March 4, 2005 ouch! this is the hard way Link to comment Share on other sites More sharing options...
Vadikan Posted March 6, 2005 Share 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 Link to comment Share on other sites More sharing options...
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