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

3
votes
1answer
172 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
7k 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
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 ...
2
votes
3answers
555 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
142 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
187 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
747 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
397 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), ...
4
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
243 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
552 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
3k 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
103 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
7k 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
334 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
267 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
172 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
325 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
100 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
66 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
728 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
239 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
893 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
902 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
63 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
392 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
312 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
2answers
7k 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
204 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 ...
1
vote
2answers
847 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
964 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
314 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
173 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
100 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
521 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 ...
2
votes
1answer
340 views

How to prevent user from logon of an account used for impersonation only?

Currently I have a windows service written in C# (running as LocalSystem) which creates a user account, needed for impersonation, by using the DirectoryEntry to add the user/password and associated ...
0
votes
1answer
150 views

Network path getting locked up by Windows Service

I've written a simple Windows Service which polls a UNC path every few [5] seconds. When it finds a particular sub-directory in that folder it moves it. The code doesn't have any locking ...
3
votes
2answers
3k views

ASP.Net State Service missing from Services

The ASP.net State Service appears to have mysteriously disappeared from our web server's Services list after changing the .Net version in an IIS app pool to v4 and then changing it back to v3.5 again. ...
0
votes
4answers
108 views

MySQL Start Service

Is it possible to, remotely using MySQL, to start a service on the server, or to run any file? What about FTP, can you tell it to run a file? I ask because a developer I work with has killed apache, ...
0
votes
1answer
52 views

Determine why windows services were deleted - Windows Server 2003

I just ran into a problem where several windows services related to products from entirely different companies were suddenly and inexplicable deleted (just the windows service registration itself - ...
2
votes
1answer
67 views

What are minimum number of services I need to start to have w working sql server?

I'm looking to start the very minimum number of services to have a fully working version of SQL Server running that will enable external connections. I know MSSQLSERVER is required but do I need to ...
0
votes
1answer
4k views

MSSQLSERVER Will Not Start - Event ID 913 and 1814

I need some serious help. I have a major database server down and am scratching my head at how to fix it. The server was hit by rolling black outs last week in Dallas and sense then, Microsoft SQL ...
1
vote
1answer
1k views

postgresql service corrupt, how can i re-create service?

I recently was tricked into running one of those registry cleaner programs (RegistryBooster). It seemed to work fine until I tried to start my postgres service. For some reason, the 'path to ...