Questions tagged [windows-service]

Windows services, also referred to as NT services, are background service processes run by the Service Control Manager based on the service settings and optionally restarted as needed. Windows services are also capable of being launched on demand, based on other service dependencies.

More information at:

http://msdn.microsoft.com/en-us/library/d56de412(v=vs.80).aspx

http://en.wikipedia.org/wiki/Windows_service

430 questions
3
votes
1 answer

User's rights to run a service on Vista

What rights a user needs to run cygwin sshd as a service on vista? A ssh-host-config creates user cyg_server with 5 rights: $ editrights.exe -l -u…
Philippe Blayo
  • 281
  • 1
  • 2
  • 10
3
votes
1 answer

How can I tell what user account is being used by a service to access a network share on a Windows 2008 server?

I've got a third-party app/service running on a Windows 2003 SP2 server that is trying to fetch something from a network share on Windows 2008 box. Both boxes are members of an AD domain. For some reason, the app is complaining about having…
Mike B
  • 11,871
  • 42
  • 107
  • 168
3
votes
2 answers

Do Windows Servers (2008) cache .net assemblies somehow?

A co-worker of mine is having the following issue (so some relevant details may require further vetting): The server is Windows 2008 Server. There is a Windows Service that is running (exe (.net), that also utilizes a .NET assembly). There is some…
JustLooking
  • 141
  • 5
3
votes
1 answer

How do you give an account permission to a start and stop a Windows Service?

How can I give an account permission to start or stop a particular Windows Service using SC.exe? What I'm trying to do is from one machine A call these operations from another machine B: net.exe use \\B /delete net.exe use \\B /user:B\
Sachin
  • 31
  • 2
3
votes
3 answers

Windows Service >> 'Log on as' does not load user's profile?

I have an application running as a service under a certain user, but for some reason when the machine is (re)started and the service starts it does not load that particular user's profile (including its drive-mappings etc). Is there any way to…
Jörg Battermann
3
votes
2 answers

Deploying C# Windows Service in multiple servers

I've created a C# windows service and its ready to be deployed. I have 215 servers on which this windows service is to be installed. I have to login to each box and deploy the service. Is there an automated way to enter the a list of server names…
Vinay Sathyanarayana
3
votes
1 answer

Installing memcached on Windows Server 2003

I installed memcached on my dev box which is Windows 7. Everything worked great. Now I want to install on my test server which is Windows Server 2003. I want to run memcached as a Windows service, so I open a command prompt and type memcached.exe…
3
votes
1 answer

Windows Service automatic failover

I am implementing a Windows Service. The service will be installed in a cluster of application servers. Is there a way in the cluster functionality of Windows to set up active/passive failover for a regular Windows Service? Or is it necessary for…
Bjorn Reppen
  • 133
  • 1
  • 5
3
votes
1 answer

Any Reason Why I Can't Run a Windows Service as a Domain User?

Any reason why I can't add a domain user as the logged on role for a Windows service? The syntax of the domain name and user is correct and the password is definitely correct, but whenever I try to set the logged on user as a domain user, I get an…
3
votes
1 answer

Can I start a Windows Service on another server from the command line?

Can I (How can I) remotely start and stop a Windows Service running on another server from the command line? My server is running Windows Server 2003.
3
votes
5 answers

Windows 7 Print Spooler service keeps stopping

I have a Windows 7 (32 bit) client where the print spooler service keeps stopping a few seconds after I restart it. The event log doesn't provide any clear indication of the cause of the error. It only provides the following information: The Print…
Saif Khan
  • 1,945
  • 2
  • 20
  • 25
3
votes
2 answers

How to get a service to listen on port 80 on Windows Server 2003

I've coded a custom windows service that listens on TCP port 80 but when I try to install it on a Windows Server 2003 machine it fails to start because some other service is already listening on that port. So far I've disabled the IIS Admin service…
Miky Dinescu
  • 294
  • 2
  • 5
  • 12
3
votes
3 answers

How to find out what parameter was passed to a Windows Service

How do you find out what parameter was passed when starting a Windows service? I usually start a service thru net start by passing parameters as shown below net start DocumentHashService /Recursive /Count:500 services.msc does not list what…
dance2die
  • 2,011
  • 7
  • 32
  • 41
3
votes
1 answer

Can Pageant be used by Windows services?

Is it possible to configure Pageant (SSH key management) so that its keys are usable by a Windows service with the "Log On As" user of "Local System"? If not, is there any other tool that can do this? EDIT: I've tried setting Pageant up as a…
jlpp
  • 256
  • 5
  • 10
2
votes
1 answer

Windows service accounts without password set

In Unix and Linux based system you usually run services in context of service accounts that have no password set and cannot be logged on. As far as I have understood, the processes are spawned from a higher privileged process and switched to the…
invictus
  • 135
  • 1
  • 10