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

4
votes
1answer
191 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
157 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
232 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 > ...
0
votes
2answers
861 views

Starting Automatically Tomcat 7 Monitor Windows 7 / Vista

Anybody knows how is possible to start automatically Tomcat's Monitor? Tomcatw.exe with the service's Tomcat? I tried but, it does not start. I was trying to install like windows Services manually, ...
1
vote
0answers
117 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
512 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
186 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
187 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 ...
2
votes
3answers
8k 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
5k 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
591 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
145 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
204 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
861 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
5k 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
444 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), ...
5
votes
1answer
3k 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
264 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
600 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 ...
4
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
110 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 ...
3
votes
4answers
8k 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
349 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
285 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
107 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
181 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
332 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
101 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
795 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
250 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
925 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
1k 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
65 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
412 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
342 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
8k 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
210 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
934 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 ...
2
votes
2answers
4k 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 ...
4
votes
2answers
2k views

Windows Event Log service won't start - how to figure out cause

Windows Event Log service will not start, it says "Error 2: The system cannot find the file specified." I've tried sfc /scannow and it reported zero issues. All other services start up fine, so ...
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 ...
0
votes
2answers
1k views

Configuring a service to be started under Local Service account from command line

How can this problem be solved? I know there is a sc utility, but I don't know how to assign the Local Service account to the obj parameter (because of the spaces in the name), and how to assign a ...
7
votes
2answers
319 views

Which user should a backup service run as?

I'm working on an application which uses Volume Shadow Copy Service to backup a particular file at regular intervals. This works when run as admin but when I run the service under the "Network ...
0
votes
1answer
175 views

How to push an install to windows clients

I need to install a windows service on many windows clients in an AD environment. I'm assuming the company has some sort of client management system installed. The install must be silent and cause no ...
5
votes
2answers
1k views

Mapping Drive Error - System Error 1808

A vendor is attempting to map and preserve a network drive using nt authority/system; so it stays persistent when the interactive session of the server is lost. They were able to do this on one server ...
1
vote
1answer
101 views

What's your recommended Service Manager for Windows Server 2003?

I am setting up a Windows Server which will have some non-service apps running all the time. Since I don't want to login everytime just to start the apps, I want to use a Service Manager. Microsoft's ...
1
vote
2answers
2k views

How do I make one service dependent on another in Windows 7?

If I view properties for a service, I can see the "Dependencies" tab, but I can't assign other services to this tab. I have two services that start on startup, a server and a database. The server ...
0
votes
1answer
557 views

How can you identify why a Windows service (TeamCity build agent) is hanging when running a command?

I've got a problem with a Windows service I just simply can't get to the bottom of. What I'm trying to do is execute the HP WebInspect 9.0 application from a TeamCity build agent which runs as a ...