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

8
votes
1answer
22k 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
285 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
366 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
874 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: ...
3
votes
2answers
6k 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
1k 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
158 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
906 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. ...
2
votes
0answers
3k 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
263 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
207 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
3k 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
248 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
280 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
129 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
574 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
210 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
208 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
9k 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. ...
6
votes
2answers
6k 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
648 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
151 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
241 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
1k 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 ...
4
votes
2answers
6k 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
527 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), ...
6
votes
1answer
4k 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
345 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
702 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
4k 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
120 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 ...
4
votes
4answers
10k 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
383 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 ...
-1
votes
1answer
316 views

What is the difference between Windows XP services and Windows 7 services?

I have downloaded an open source C++ application. This application run as a Linux daemon, listening at a port, and waiting for connection from client PC. Someone has compiled this application under ...
1
vote
2answers
109 views

web server: REST API “forwarder”

We have a REST API in our application, however we do not wish to put the server which provides this API in a web-accessible location. I would like to install something in a web-accessible server ...
-1
votes
1answer
199 views

Can't override service exe file after service was stopped

On Windows Server 2008 R2 I stopped my service and trying to override the exe file to update it, but it gives me access denied exception. What can I do to fix it?
2
votes
2answers
354 views

What's the best way to Deploy/Update/Control Windows services on a hundred EC2 servers?

I'm developing an image processing application running on Windows on Amazon EC2. The application is currently a console app I'm starting manually on a few machines. I'm refactoring it into a Windows ...
0
votes
1answer
105 views

How can I securely set up an available PostgreSQL connection in Windows?

I'm running PostgreSQL in Windows. I have a vanilla installation with a single admin Windows user account, which I've used to install PostgreSQL and pgAdmin III. Using pgAdmin III I created a database ...
1
vote
2answers
68 views

How to go about deploying windows services to a number of nodes

I have about a dozen windows service which I need to deploy fairly frequently to a fairly large collection of nodes. I was looking at Octopus Deploy which seemed pretty good but I was wondering what ...
1
vote
3answers
897 views

Login failed when SQL Server starts

I've got a windows service that needs to connect to SQL Server databases (SQL Server 2008 R2, Windows Server 2008 R2). This service depends on SQL Server. The problem is when the SQL Server service ...
0
votes
1answer
282 views

application trying to use net.exe to map shared folder on different domain

I am a c# developer running in to issues with a program of mine that tries to transfer files on to a shared folder on a computer which is on a different domain. i.e my windows service sits on domain ...
1
vote
2answers
988 views

Registry keys unavailable to application being run from a service

We are writting a custom windows service application. The service is set to allow interaction with the desktop, and the service application will need to execute another "normal" application. The ...
6
votes
2answers
2k views

How to Install an executable as a Windows Service

I have an executable that doesn't require any interaction with the user and I want to install it as a Windows service; what do I need to have and do to make that happen? I didn't write the app; I ...
0
votes
1answer
81 views

Is it possible to install a windows service that requires a password with SCCM?

Is it possible to do an unattended installed of a windows service that requires a password with SCCM? It would be nice if SCCM could run a package as a service account. That way the package could ...
2
votes
1answer
435 views

What GPO rights are required for an exchange service account?

I'm trying to create an exchange domain service account. I'd like to define the rights in a Group Policy Object. since this is for both a 2 node DAG, and 2 node CAS Array, I need to know the rights ...
2
votes
2answers
408 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 ...
2
votes
3answers
11k views

How do you prevent wuauserv (Windows Update Service) from restarting?

Regarding: net stop "windows update" this works for a while but then the service starts again. What is restarting this service and how do I prevent it from doing so?
0
votes
1answer
214 views

window xp network service don't start

In a windows XP pc, joined to a domain, I have a service (SCardSvr) that use to run as "NT AUTHORITY\NetworkService". Accidentally I changed the logon to local system account and the service didn't ...
2
votes
2answers
1k 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 ...