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

1
vote
0answers
572 views

IIS 6 App Pools and Windows Services Won't Start

Windows Server 2003 R2 (x86) / IIS 6. I'm setting up an ASP.NET application as well as a few windows services that run under "MyServiceAccount". I'm unable, however, to get the app pool nor the ...
3
votes
8answers
5k views

Cannot start ` Secure Socket Tuning Protocol Service`

I tried to start Routing and Remote Access Service but I've got an error says the dependency service or group failed to start then I tried to start Remote Access Connection Manager (one of RRAS's ...
5
votes
1answer
3k views

How do I set a service startup type to be 'Automatic (delayed)' using GPO?

A Windows service has 4 different startup types that can be configured: Automatic, Automatic (delayed), Manual and Disabled. I have a service running on a combination of Windows 7 and Server 2008 R2 ...
2
votes
1answer
574 views

CloudFormation - How to start a Windows Service with cfn-init

I'm creating a CloudFormation Stack that will install and start a service on a Windows Instance. I've figured out how to install the service, but how do I start the service using cfn-init? The ...
0
votes
1answer
645 views

Error when starting Windows Service: Connection “actively refused”

I have used .NET to create a service installation package (msi) that, when run, installs a Windows service designed to run an instance of Apache Solr (to aid in searching from a web application). I am ...
-1
votes
1answer
624 views

Can't change theme of Windows 2008 server to look like Windows 7 [closed]

I have a Windows 2008 R2 server which I try to change its theme to Windows-7 a-like by the following procedure: http://www.win2008r2workstation.com/themes/ I have the following problem: "Themes" ...
3
votes
1answer
135 views

Log places to look for when a Vista service stops immediatly

I'm trying to diagnose why cygwin sshd service starts and stops immediately. In the Vista application event log I found: sshd: PID 3480: `sshd' service stopped, exit status: 255 It doesn't help ...
0
votes
3answers
51 views

Vista: service stops just after start

A service is stopping immediately after being started. The service is cygwin sshd and runs under the SYSTEM account, with cyglsa-config for cygwin authentication. How do I diagnose this?
1
vote
1answer
172 views

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 cyg_server SeAssignPrimaryTokenPrivilege ...
2
votes
1answer
86 views

MSSQL 2008 Service Account

Background: We are a smallish company that prefers to keep things simple and not have to manage our Active Directory very much. My company uses a single administrator account to setup and do all the ...
1
vote
0answers
126 views

Service Delay In created service Error 1053

Heya all bit of a noob when it comes to all this but I created my own service to start an EXE as a service but it keeps telling me it didnt respond in a timely fashion is there any way to give it abit ...
4
votes
1answer
3k views

nginx stop/reload on windows failed for Access is denied

I am running nginx on Windows Server 2008 R2 (x64) as a windows service. I am using Windows Service Wrapper for that. (Actually, I have followed this tutorial: ...
4
votes
1answer
384 views

I'm looking for a robust way to determine if a service can be stopped or killed

I'm looking for a robust way to determine if a service can be stopped without data loss or corruption, or if a regular stopping will work if the service can be killed via powershell. I thought about ...
1
vote
1answer
495 views

Configuring service restart with 'restart service after' parameter

It appears that sc.exe isn't capable of setting the 'restart service after' parameter and powershell isn't capable of setting up service restarts at all. My intended configuration is ...
1
vote
1answer
1k views

Tomcat 7 service manual start, stops immediately on Windows 7

I have just performed a fresh installation of Tomcat 7 (apache-tomcat-7.0.30) using the 32-bit/64-bit Windows Service Installer available here, on my local Windows 7 PC. Yet, when I go in Service to ...
4
votes
3answers
824 views

What is the difference between running a Windows service vs. running through shell?

I am trying to troubleshoot an issue on a Windows 2008 server where running attempting to connect to a "Timberline Data Source" ODBC driver crashes if the call is in a "service" context, but succeeds ...
8
votes
1answer
31k views

How to kill a hung service on Windows 2008R2

I have a Windows 2008R2 server running NSClient++. For some reason the service has got its knickers in a twist and stopped responding to Nagios polling. When I tried to restart the service the ...
1
vote
3answers
1k views

Print Spooler service causes slow startup

We have a server that takes ~20mins to start up. Some testing was done, and we were able to determine that it is the print spooler service that is causing the slow down. Not enabling it with ...
0
votes
1answer
319 views

Service path cannot be found but file exists

I have several services that used to run on Windows Server 2003 and are now meant to run on Windows Server 2008 R2. They are all 32 bit. They install OK in 2008 but when I try to start them I get ...
1
vote
1answer
425 views

Windows 2003 service: disable message “the memory could not be written”

I have a windows service which throws a memory related error and then restarts. Besides trying to fix the error, which is something I'm working on, I need to know how to disable this annoying message: ...
2
votes
0answers
1k views

How to Make a WMI call fail?

I'm a developer but I have a question that seems belongs more in the ServerFault category than StackOverflow. We have a production service that every so often tends to throw: ...
5
votes
3answers
8k views

Apache 2.2 on Windows Server: won't start after attempting to change drive letter of all data and logs

I manage a web server that's running on Windows Server 2008 as a 64bit virtual host. All service software is running independently, and not as part of an AMP stack. The data drive has nearly filled up ...
1
vote
1answer
2k views

Method to migrate a windows service from one server to another

I'm setting up a staging server to test out an upgrade of some critical software (IBM Rational Team Concert on WebSphere) I'm not going to be able to re-install the app as I don't have all the info ...
3
votes
1answer
174 views

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 ...
0
votes
1answer
1k views

What has changed with Win 2008 Server that Samba rpc control no longer works?

I've been happily using Samba's net rpc service ... to control services on a Windows 2003 server from my linux box, however now controlling a Windows 2008 server gives me WERR_ACCESS_DENIED errors. ...
4
votes
1answer
4k views

Windows Application Experience Service

On a Windows 2008 R2 Enterprise server, the event log is reporting event id 7036 "The Application Experience service entered the stopped state" and then later that it has started. This occurs ...
0
votes
3answers
326 views

Service with startup type automatic doesn't start after reboot

We have a custom service that runs on Windows Server 2008 R2 64 bit. It has startup type of "Automatic". However, after a reboot, the service does not start automatically. It does start if we manually ...
4
votes
1answer
233 views

“SC.EXE config” and dollar sign in service name

Say I want to make Windows Service startup dependent on SQL Server. In my case service name for SQL Server is MSSQL$SQL11 (SQL11 is SQL Server instance name) However, when I issue this command: ...
3
votes
2answers
4k views

.\postgres looses “Log on as a service” after reboot; PostgreSQL service does not start

I've installed PostgreSQL 9.1 x64 on a Windows 7 Enterprise x64 system using the usual install method. The computer has a Novell Client for Windows, and a ZENworks Adaptive Agent, which I suppose ...
2
votes
2answers
251 views

Change windows group permissions without the sufficient rights in a batch

I wrote a batch file, which creates multiple folders und subfolders in the current directory. The group permission of one folder is also changed. This works on my local workstation with administrator ...
0
votes
1answer
347 views

Correct Place to enable windows services in GPO?

Which is the correct place to enable windows services through GPO on Windows Server 2008? The domain has computers running XP, Vista, and 7. Computer Configuration > Policies > Windows Settings > ...
1
vote
0answers
148 views

W2K8R2 : How to safely take a Windows Service cluster resource offline

I'm looking for a safe way to take a Custom Windows Service offline. My problem is that this custom service sometimes hangs during stop. The problem will be fixed, but in the meantime, killing the ...
0
votes
1answer
673 views

Trying to get an old 32-bit service (.dll) to run on a Windows 2008 server

I'm been trying to get an old 32-bit service (.dll) of ours to run on a Windows 2008 (R1 and R2). The service accesses a system-DNS for ODBC connection and secondly it performs some statistic HTTP ...
1
vote
1answer
231 views

Failing to read mapped drive as a service, but not when run interactively

I have program that reads/writes to a mapped drive. It works properly when accessing the mapped drive if I run it interactively (e.g. double click or command line), however it fails if run as a ...
3
votes
1answer
251 views

How to Get Company Name for a Windows Service Using Powershell

In order to be able to easily detect which of a group of security products is installed on a machine, I would like to be able to filter the Powershell Get-Service output by the Company Name attached ...
1
vote
3answers
11k views

Execute Windows SC command as another user

I would like to execute the SC command against a network target as a different user. I need to be able to specify username and password on the commandline as well, as this is for scripting purposes. ...
7
votes
2answers
8k 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 ...
2
votes
3answers
789 views

How can I make Windows Server start my Apache service after the IIS service?

I have both Apache and IIS on a Windows Server 2k3. The Apache server is reached by tunneling through IIS using the Apache Tomcat Redirector Everything works just fine until I reboot. When I do ...
2
votes
2answers
156 views

With powershell, how do I find out which user is running a service?

As mentioned in the title, how to find out which user is running a service with powershell?
0
votes
1answer
278 views

SQL Server reporting services shutting down without log info

Using SQL Server 2008 Reporting services. Finding that the service is shutdown without anything in the windows event log or in SQL Server events. I see the log entry for the service starting when I ...
1
vote
1answer
2k views

Using “sc” command to control services with whitespace in name

I need to stop service on remote machine. The problem is that service name contains whitespaces, and I get a message, that such service does not exist. sc \\machine stop "service name" How can I ...
5
votes
2answers
8k views

How do I grant “log on as a service” permission to a (local) from the command-line?

On Windows Server 2008 R2 Core Edition, how do I assign the "log on as a service" permission to a user, from the command-line? (ntrights.exe from the Win2003 resource kit is not included in Win2008 ...
2
votes
2answers
666 views

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), ...
10
votes
1answer
5k views

How to add SSH key to PuTTY Agent at startup in Windows Server?

I need to add a private SSH key to Putty Agent (pagent.exe) every time a Windows server starts up -- before a user logs on interactively. The key is to be used by a service. If it was a regular user ...
1
vote
3answers
539 views

Multiple Tomcat Instance that runs as a windows service

Could I execute multiple instances of Tomcat server as windows services from same physical location (CATALINA_HOME)? In other words, could I execute Tomcat windows service referred to specific ...
3
votes
1answer
872 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 ...
5
votes
2answers
5k views

Win2008: SC SDSET - how to grant a specific local user rights to stop and start a specific local service?

Where is a useful reference for the sdset command? I can read and read, and I have yet to find a straightforward list of steps to say: Service: App User: Joe Grant Joe start/stop/restart to App ...
0
votes
1answer
146 views

What can cause a service to switch from 'automatic' startup to to 'manual' startup?

We had some problem with the Windows Time Service a while ago. It was set to 'manual' startup and was not started. We set this to 'automatic' startup on every server and configured it properly to sync ...
5
votes
4answers
13k views

How can I get the path to a Windows service executable WITHOUT using sc qc?

I need to query a windows service for the path to it's executable via the command prompt. I think the way I would do this is:sc qc myServiceName, but when I do that, I get the following error: ...
1
vote
2answers
418 views

What's causing the delay in my network adapter binding to the network?

I have a server that takes several minutes for the NIC to bind itself to the network upon startup (it has a statically-configured IP). This causes the WINS and Intersite Messaging services (and ...