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.

learn more… | top users | synonyms

5
votes
3answers
9k views

How do I give a domain user permission to start and stop a Tomcat service?

I realize this is almost identical to this question but the big difference is that the methods described in the MSKB article DO NOT WORK for installed Tomcat services. They work for simple Windows ...
14
votes
1answer
395 views

How can I back up my recommendation to NOT disable the Windows Firewall service?

I know from direct personal experience that disabling the Windows Firewall service on post-XP systems can lead to all sorts of networking problems, and that the proper way of disabling it is by ...
19
votes
5answers
23k views

How can I automatically restart a Windows service if it crashes?

I have a Windows service that exits unexpectedly every few days. Is there a simple way to monitor it to make sure it gets restarted quickly if it crashes?
8
votes
2answers
1k views

What is the best way to allow a domain user to start and stop services on the machine?

What is the best way to allow a domain user to start and stop services on the machine? The domains user cannot be made admin.
29
votes
4answers
60k views

How do I grant start/stop/restart permissions on a service to an arbitrary user or group on a non-domain-member server?

We have a suite of Windows Services running on our servers which perform a bunch of automated tasks independently of one another, with the exception of one service which looks after the other ...
45
votes
3answers
48k views

How to add dependency on a Windows Service AFTER the service is installed

I have a Windows Service that makes use of a SQL Server database. I don't have control over the installation of the service, but would like to add a dependency on the service to ensure that it starts ...
2
votes
5answers
23k views

How to start a service with certain start parameters on Windows

How do I start a service with certain parameters? In another question I have found net start servicename blah but if I try this, net throws a syntax error at me. What am I doing wrong? Edit: ...
0
votes
1answer
146 views

Stopping IIS service

I've got IIS setup on my computer. I stopped it in order to start wamp/apache. so, I stopped the World Wide Web service in the services MMC snap-in and started wamp. but I still can't get wamp login ...
0
votes
4answers
375 views

Why some XP installs don’t automatically Start SQL2005 Service (Instance)

I have a number of XP machines that have a SQL 2005 Instance running on them, and they are set to start automaticly in Service Control Manager. On 1 or 2 of these machines when you reboot, the SQL ...
10
votes
8answers
83k views

How to create a service running a .bat file on Windows 2008 Server?

I've created the service using sc create myService binpath=myservice.bat But when I start it, it fails with the following error message: [SC] StartService FAILED 1053: The service did not ...
4
votes
2answers
9k views

Is it possible to use Group Policy to grant the permission to manage Windows services?

Is it possible to use Group Policy to grant the permission to manage Windows services? I would really like to know if this is even possible, and if so, where do you recommend I look for more ...
6
votes
2answers
4k views

How do I grant permissions to remotely start/stop a service using Powershell?

We have a PowerShell script that restarts a service on another computer. When we use PowerShell's built-in service control cmdlets, like so: $svc = Get-Service -Name MyService -ComputerName ...
6
votes
4answers
3k views

Why can a user grant themselves the Log On As A Service right?

This article describes the (relatively laborious) steps you should go through to grant an Active Directory user the Log On As A Service right. However, if I install a service and manually specify my ...
2
votes
2answers
3k views

Automate Windows Robocopy with internal changes monitor /MON:1 option

The /MON:1 option works just great and run directory scan if only changes happened. This is something that is not possible to do if robocpy is ran from windows scheduler each 10 min. Is there a way ...
1
vote
3answers
4k views

How do I grant users the ability to install windows services?

I'd like to be able to allow the development team to install services on a Win2003 server. They can already connect via RDP/FTP with limited accounts but I'd like to be able to grant installation ...
3
votes
1answer
233 views

Event logger won't start: error 2 The system cannot find the file specified, Windows server 2008R2

NOTE: this is a "spawn" of a previous post which dealt with 2 different issues and became too lengthy, so I decided to clean the original question and post this issue in a separate question When I ...
3
votes
1answer
497 views

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 ...
3
votes
2answers
2k views

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 ...
2
votes
2answers
267 views

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 ...
1
vote
1answer
773 views

How to change the user iis 5 service runs on?

I have IIS 5 running over XP. I was told to change it such that the iis process does not run under the system account. Where do I change this?
1
vote
3answers
572 views

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 ...
1
vote
1answer
65 views

Windows Service executing an executable

I have a Windows Service that simply listens for certain events. Once triggered, the service executes a process (.exe). My problem: On windows server 2003, this works great. CPU for the executable ...
1
vote
2answers
1k views

Windows Service dependencies

I have a Windows service A that depends on service B. According to this Microsoft KB article I can add a registry key to tell Windows to wait until B starts before starting A. Can I therefore expect ...
1
vote
3answers
8k views

why sc query fails from one machine but works from another

I am using sc command to query status of a service running on computer PRODSRV from two computers. It works fine from one, but fails from another. What do I do wrong? PRODSRV is Windows Server 2003. ...
0
votes
2answers
754 views

Win Service running under LocalService account cannot access environment variables

I am looking for prove or disprove of my theory. We have windows service which runs under LocalSystem account. the service is calling msbuild and builds csproj (Visual Studio project) file, which use ...
0
votes
1answer
563 views

How do I setup a “service account” for apache on XP pro?

This question has been spawned from this: http://serverfault.com/questions/195675/vpc-running-winxp-sp3-with-wamp-403-error-on-network-drive The real question: Basically i need to know how to setup ...
0
votes
3answers
960 views

How do you start ColdFusion MX 7?

I'm running it on a Windows 2003 machine. I can start it from the C:\CFusionMX7\bin\cfstart.bat, but when I close the command prompt window, it shuts down again. Is there another method for starting ...
0
votes
1answer
557 views

SQL Server 2005 on 2008 DC - Cannot change service user

I cannot start SQL Server 2005 transactional replication after I promoted my 2008 Server to a DC. A required privilege is not held by the client. This site suggests that I need to change the ...