starting a program as a service

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I would like to get a webcam sw to auto start at the time of compouter start
up. I assume that i need to start it as a service? If i try to start it in
the start folder of a user account it will only start when a user logs in.

How can i get a program to become a service???

Cheers...
 
bob said:
I would like to get a webcam sw to auto start at the time of compouter
start
up. I assume that i need to start it as a service? If i try to start it in
the start folder of a user account it will only start when a user logs in.

How can i get a program to become a service???

Cheers...

What happens if you put it in the main startup folder rather than a user
one?
 
This article may help.

HOWTO: Create a User-Defined Service
http://support.microsoft.com/default.aspx?kbid=137890


--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

:
|I would like to get a webcam sw to auto start at the time of compouter
start
| up. I assume that i need to start it as a service? If i try to start it in
| the start folder of a user account it will only start when a user logs in.
|
| How can i get a program to become a service???
|
| Cheers...
 
Place a shortcut to the program in
%allusersprofile%\Start Menu\Programs\Startup
instead of
%userprofile%\Start Menu\Programs\Startup

That way the program will start no matter who logs on.

%allusersprofile%\Start Menu\Programs\Startup
is usually
C:\Documents and Settings\All Users\Start Menu\Programs\Startup

%userprofile%\Start Menu\Programs\Startup
is usually
C:\Documents and Settings\Your Name Here\Start Menu\Programs\Startup
-----

Run a Program as a Service

How To Create a User-Defined Service
http://support.microsoft.com/?scid=kb;en-us;137890

How To Run Automation Manager as a Windows NT Service
http://support.microsoft.com/default.aspx?scid=kb;en-us;193238

INFO: Invokable TP Written as an Application to Run as a Service
http://support.microsoft.com/default.aspx?scid=kb;en-us;151239

Instrsrv.exe installs and removes system services from Windows NT and
Srvany.exe allows any Windows NT application to run as a service.

Srvany.exe: Applications as Services Utility & Instsrv.exe: Service
Installer are included in...
Windows Server 2003 Resource Kit Tools
http://www.microsoft.com/downloads/...69-57ff-4ae7-96ee-b18c4790cffd&displaylang=en


--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
 
These solutions seems to be for NT not XP. Also - some of the commands work
but instsvr doesn't. do i need to install other software?
Thanks for your advice.
 
Bob,

Windows XP is really Windows NT 5.1. XP is a marketing name. XP sounds
sexier I guess.

Forget the run as a service deal and place a shortcut in...

%allusersprofile%\Start Menu\Programs\Startup

Find the shortcut to webcam sw in the start folder of a user account
Right click the shortcut and select Copy
Right click the Start button and click Explore All Users
Click the [+] next to Programs to expand the folder
Click on the Startup folder
Right click in the right hand pane and select Paste

If you find that webcam sw starts more than one time, delete the shortcut in
the start folder of a user account. Some programs can start more than one
instance.

Also see this...
Installing and running software in Windows XP
http://www.rickrogers.org/xpsware.htm

[[This page is an attempt to explain how software should be installed and
used in a Windows XP system.]]

Subjects include:
1. Installing software for everybody
2. Running software in limited user accounts
3. Restricting access to some programs
4. FAQ's and issues

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
 
You can download the tools here. Also be aware that not all applications can
run as a service.

http://www.microsoft.com/downloads/...69-57ff-4ae7-96ee-b18c4790cffd&displaylang=en

--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

:
| These solutions seems to be for NT not XP. Also - some of the commands
work
| but instsvr doesn't. do i need to install other software?
| Thanks for your advice.
 
Wes, the OP states "it will only start when a user logs in. How can i get a
program to become a service???" hence the instructions for running as a
service.

--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

:
| Bob,
|
| Windows XP is really Windows NT 5.1. XP is a marketing name. XP sounds
| sexier I guess.
|
| Forget the run as a service deal and place a shortcut in...
|
| %allusersprofile%\Start Menu\Programs\Startup
|
| Find the shortcut to webcam sw in the start folder of a user account
| Right click the shortcut and select Copy
| Right click the Start button and click Explore All Users
| Click the [+] next to Programs to expand the folder
| Click on the Startup folder
| Right click in the right hand pane and select Paste
|
| If you find that webcam sw starts more than one time, delete the shortcut
in
| the start folder of a user account. Some programs can start more than one
| instance.
|
| Also see this...
| Installing and running software in Windows XP
| http://www.rickrogers.org/xpsware.htm
|
| [[This page is an attempt to explain how software should be installed and
| used in a Windows XP system.]]
|
| Subjects include:
| 1. Installing software for everybody
| 2. Running software in limited user accounts
| 3. Restricting access to some programs
| 4. FAQ's and issues
|
| --
| Hope this helps. Let us know.
|
| Wes
| MS-MVP Windows Shell/User
|
| In | bob <[email protected]> hunted and pecked:
| > These solutions seems to be for NT not XP. Also - some of the commands
| > work but instsvr doesn't. do i need to install other software?
| > Thanks for your advice.
| >
| >
| > "Wesley Vogel" wrote:
| >
| >> Place a shortcut to the program in
| >> %allusersprofile%\Start Menu\Programs\Startup
| >> instead of
| >> %userprofile%\Start Menu\Programs\Startup
| >>
| >> That way the program will start no matter who logs on.
| >>
| >> %allusersprofile%\Start Menu\Programs\Startup
| >> is usually
| >> C:\Documents and Settings\All Users\Start Menu\Programs\Startup
| >>
| >> %userprofile%\Start Menu\Programs\Startup
| >> is usually
| >> C:\Documents and Settings\Your Name Here\Start Menu\Programs\Startup
| >> -----
| >>
| >> Run a Program as a Service
| >>
| >> How To Create a User-Defined Service
| >> http://support.microsoft.com/?scid=kb;en-us;137890
| >>
| >> How To Run Automation Manager as a Windows NT Service
| >> http://support.microsoft.com/default.aspx?scid=kb;en-us;193238
| >>
| >> INFO: Invokable TP Written as an Application to Run as a Service
| >> http://support.microsoft.com/default.aspx?scid=kb;en-us;151239
| >>
| >> Instrsrv.exe installs and removes system services from Windows NT and
| >> Srvany.exe allows any Windows NT application to run as a service.
| >>
| >> Srvany.exe: Applications as Services Utility & Instsrv.exe: Service
| >> Installer are included in...
| >> Windows Server 2003 Resource Kit Tools
| >>
|
http://www.microsoft.com/downloads/...69-57ff-4ae7-96ee-b18c4790cffd&displaylang=en
| >>
| >>
| >> --
| >> Hope this helps. Let us know.
| >>
| >> Wes
| >> MS-MVP Windows Shell/User
| >>
| >> In | >> bob <[email protected]> hunted and pecked:
| >>> I would like to get a webcam sw to auto start at the time of compouter
| >>> start up. I assume that i need to start it as a service? If i try to
| >>> start it in the start folder of a user account it will only start when
a
| >>> user logs in.
| >>>
| >>> How can i get a program to become a service???
| >>>
| >>> Cheers...
|
 
Hi Dave,

My mind reader cap is a little rusty.

OP also stated, "These solutions seems to be for NT not XP."

IMHO, the OP may not be an advanced user.

On the other hand, I may be full of baloney.

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
Dave Patrick said:
Wes, the OP states "it will only start when a user logs in. How can i get
a program to become a service???" hence the instructions for running as a
service.

--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

Wesley Vogel said:
Bob,

Windows XP is really Windows NT 5.1. XP is a marketing name. XP sounds
sexier I guess.

Forget the run as a service deal and place a shortcut in...

%allusersprofile%\Start Menu\Programs\Startup

Find the shortcut to webcam sw in the start folder of a user account
Right click the shortcut and select Copy
Right click the Start button and click Explore All Users
Click the [+] next to Programs to expand the folder
Click on the Startup folder
Right click in the right hand pane and select Paste

If you find that webcam sw starts more than one time, delete the
shortcut in the start folder of a user account. Some programs can start
more than one instance.

Also see this...
Installing and running software in Windows XP
http://www.rickrogers.org/xpsware.htm

[[This page is an attempt to explain how software should be installed and
used in a Windows XP system.]]

Subjects include:
1. Installing software for everybody
2. Running software in limited user accounts
3. Restricting access to some programs
4. FAQ's and issues

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
bob said:
These solutions seems to be for NT not XP. Also - some of the commands
work but instsvr doesn't. do i need to install other software?
Thanks for your advice.


:

Place a shortcut to the program in
%allusersprofile%\Start Menu\Programs\Startup
instead of
%userprofile%\Start Menu\Programs\Startup

That way the program will start no matter who logs on.

%allusersprofile%\Start Menu\Programs\Startup
is usually
C:\Documents and Settings\All Users\Start Menu\Programs\Startup

%userprofile%\Start Menu\Programs\Startup
is usually
C:\Documents and Settings\Your Name Here\Start Menu\Programs\Startup
-----

Run a Program as a Service

How To Create a User-Defined Service
http://support.microsoft.com/?scid=kb;en-us;137890

How To Run Automation Manager as a Windows NT Service
http://support.microsoft.com/default.aspx?scid=kb;en-us;193238

INFO: Invokable TP Written as an Application to Run as a Service
http://support.microsoft.com/default.aspx?scid=kb;en-us;151239

Instrsrv.exe installs and removes system services from Windows NT and
Srvany.exe allows any Windows NT application to run as a service.

Srvany.exe: Applications as Services Utility & Instsrv.exe: Service
Installer are included in...
Windows Server 2003 Resource Kit Tools
http://www.microsoft.com/downloads/...69-57ff-4ae7-96ee-b18c4790cffd&displaylang=en
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top