Page 1 of 1
How To Install A Service Not a service pack....a windows service
#1
Posted 03 March 2005 - 11:21 AM
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
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
#3
Posted 03 March 2005 - 11:51 AM
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..
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..
#4
Posted 03 March 2005 - 11:54 AM
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
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
#5
Posted 03 March 2005 - 11:55 AM
Microsoft have it for NT4
.. ill check if i cannot find something newer
#6
Posted 03 March 2005 - 11:58 AM
#9
Posted 03 March 2005 - 01:42 PM
Look at SC.EXE, and the create command
SC CREATE <SERVICE NAME>
#10
Posted 03 March 2005 - 06:31 PM
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.
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.
#11
Posted 03 March 2005 - 07:18 PM
sc.exe is already built in to XP, just type in it and see.
#12
Posted 03 March 2005 - 09:18 PM
Thx Yzöwl... SC.exe are handly. ill use it for sure!
#13
Posted 03 March 2005 - 09:27 PM
i find easier to look on "hklm\system\currentcontrolset\services", see how it works and create your own reg.
#15
Posted 06 March 2005 - 01:45 PM
Yzöwl, on Mar 3 2005, 07:18 PM, said:
sc.exe is already built in to XP, just type in it and see.
<{POST_SNAPBACK}>
<{POST_SNAPBACK}>
Share this topic:
Page 1 of 1



Help
Back to top









