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

0
votes
2answers
3k views

How do I create a task scheduler to restart a software service in Windows Server 2008 R2

I have a pesky software service that fails every few weeks. It has two components. Service A and Service B. Service B gets in a weird state and stops accepting connections from Service A. The only way ...
0
votes
1answer
63 views

Windows: How to start docker VM att system boot

I'm in a situation where I need to run docker on a windows based build server (I'm normally working with Arch/Debian Linux) and I can't find a way to have the docker VM to start automatically on ...
6
votes
3answers
5k 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: ...
3
votes
9answers
6k 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 ...
4
votes
2answers
13k views

Failed to connect to the System Event Notification Service

Several end-users try and log into their Windows 7 machine, they get a message, "failed to connect to the windows notification service" and it goes to a black screen and never actually loads their ...
2
votes
2answers
7k views

Creating a service to run RoboCopy

I'm attempting to put together a batch file that will set up a robocopy task as a service in response to user input. The basic idea being that the user will input MyRobocopyBatchFile.bat sourceFolder ...
0
votes
6answers
6k views

MS ReportServer refuses to work with domain account

I have installed SQL Server 2008 ReportServer on dozens of servers, all virtually identical. It was always possible to configure it to use a domain account (the same one on all those servers). ...
10
votes
6answers
13k views

How do I track CPU Utilization for Window Services?

I am using the windows task manager to track CPU utilization. I notice that my applications are listed but Windows Services are not. For instance, total CPU usage is listed at 70% but the summary of ...
1
vote
2answers
1k views

Windows Service “System error 5 has occurred. starting service”

I have a Windows 2012 R2 server which has been happily running a windows service for roughly 3-4 months with various build revisions going into the software. The server configuration hasn't changed ...
0
votes
0answers
15 views

tomcat 8 silent install on windows as service

I'd like to create installer for my application. I need to install tomcat 8 as service on windows host. Is there any possibility to install it in silent mode and provide parameters to configure ports, ...
0
votes
0answers
39 views

Unable to create user account for running a service

I'm running Server 2012 R2 (server core), and I'm having trouble setting up Gitlab CI Multi Runner to run as a service as user created specifically for this service. Here's the associated issue: ...
0
votes
0answers
346 views

Windows Server 2008 - DNS Server service immediately stops are starting

Hopefully someone can explain to me why this is happening or even just how to fix this. Our sole domain controller in a branch office has been having a bunch of issues all of a sudden. It started with ...
2
votes
3answers
303 views

Printing from a windows service in one domain to a print server in another windows domains without trust

I face the the following problem: We have one Windows domain with an application running in an user context of user of this domain (let's call this domain "A"). This Windows service has to print to an ...
2
votes
3answers
3k views

AD LDS service account as local admin to allow SSL connection?

I am installing Active Directory Lightweight Directory Services (AD LDS, aka ADAM) on a Windows 2012 vm. After finally getting the configuration of the directory and synchronization handled, I am now ...
1
vote
1answer
36 views

Windows Service with dependency cannot start automatically

I have Service B that is dependent on Service A. Both services are set for automatic(delayed) start upon boot and both services have set Recovery Action of restart in case of first, second and ...
5
votes
4answers
35k 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?
2
votes
3answers
517 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 ...
6
votes
2answers
12k views

Can I safely disable WinHttpAutoProxySvc if I don't have a proxy?

I noticed that this service starts and stops regularly seeking for proxies, but in the service description says that it implements the HTTP client stack. Is it used for something more than proxy ...
0
votes
3answers
379 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 ...
1
vote
1answer
687 views

Trouble with interactive service on Windows Server 2012

I have a service (an old 4D-based application) which has been happily running on Windows Server 2003. With the pending EOL for 2003, I'm trying to migrate to a new 2012R2 host. I set up the service ...
28
votes
8answers
106k views

How do I restart a Windows service from a script?

I have a batch script that looks like: sc stop myservice sc start myservice it errors out because sc doesn't wait till the service is stopped. How do I restart a service with a script?
0
votes
0answers
43 views

Block Windows Service Access to Remote SQL Server with Firewall

So I've got a fun firewall question. We have a windows service that we have running on a Windows Server 2012 instance. It is connecting to a remote SQL Server that we do not own, among other things. ...
1
vote
0answers
53 views

Windows service control commands for non administrator user

we have two environments, staging and production, both running a windows service. we use a build server to deploy a certain windows service via MSDeploy part of the build steps is running a CMD ...
4
votes
4answers
934 views

Will a Local System service notice changes to environment variables in Windows 2008 R2 without a reboot?

Microsoft has a knowledge base article, last reviewed in June 2007, which states: If you update environment variables or add new environment variables, you must restart the computer before the ...
0
votes
1answer
31 views

Service dependency on Active Directory

We're having a reboot issue with services (Tomcat and IIS AppPools) that are running as domain accounts, that are not able to start due to not yet having access to the domain controllers. The ...
3
votes
2answers
684 views

Show status of a Windows service from the command prompt

Is there any Windows command which will show the status of a single service? For example, I want to know whether "IIS admin service" is running or not. If it is running the command ouput should be ...
0
votes
1answer
2k views

“Access is denied” when trying to start service even when running Administrator/elevated

I'm using sc start "MyService" from an elevated "Administrator: Command Prompt" but am getting the following error: [SC] StartService FAILED 5: Access is denied. For completeness, the error ...
0
votes
2answers
105 views

Log username of who restarts a service

I'm looking for a simple way to log the username of someone that restarts a service on a server. This was possible in 2003, but I do not see a possibility in 2008 and 2012.
-1
votes
1answer
23 views

Creating a dependency for windows service if one stops another needs to start

i created a windows service using C#. but i want to create a dependency between two services. if one windows service stops another needs to starts. can anyone help me on this how to resolve this ...
0
votes
2answers
53 views

Using a specific network adapter for a service

On a Synology NAS this is called: Service-interface binding Is there something to specify the network adapter used by a certain service? I don't wan't all applications running on that adapter. I only ...
0
votes
1answer
126 views

Nagios is showing services are down but they are running on the host

I have just installed nagios in a centos 7 environment. It is working fairly well, but I am having a small issue. All my systems are showing as online, but some of the services on those systems are ...
3
votes
0answers
71 views

Microsoft Dynamics GP Session Central Service does not start

ITNOA All GP services started except GP session central service. When I want to start it, I see the below error in Event Viewer. GP session central: An argument pointing to a valid servicehost ...
-2
votes
1answer
229 views

run as administrator has more permissions than SYSTEM

I have a Windows service that I can run either as a service or in a console. The program requires administrator access. When running in a console "as Administrator", the program works fine. When ...
3
votes
1answer
186 views

How do I stop service on remote server, that's not connected to a domain, using a non admin user via PowerShell

I've got the start of the script to achieve this: $SecurePassword = ConvertTo-SecureString –String $Password –AsPlainText -Force $Credential = New-Object -TypeName ...
3
votes
2answers
512 views

Run PowerShell script with Service Start

I'd like to set the Affinity and Priority of a service process when it is started (without modifying the service/process code, I don't own the code, it's a 3rd party service). I know I can do: ...
-2
votes
2answers
278 views

Powershell script to restart automatic Windows services and notify if failed

I found a Powershell script that checks all automatic services on Windows servers and if they are not started, tries to start them. Here is the link ...
12
votes
5answers
85k views

How do I configure proxy settings for LOCAL SYSTEM?

If I edit Proxy Settings through the Control Panel, the settings are stored in HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ProxyEnable and ...\ProxyServer. These ...
2
votes
0answers
822 views

The Diagnostic Service Host failed to start due to the following error

I am receiving the following error in my System event log: Service Control Manager, Event ID 7000 The Diagnostic Service Host failed to start due to the following error: A privilege that the ...
2
votes
0answers
155 views

Limit amount of allocateable memory for process

I've got a windows service written in C#, that does some heavy work (irrelevant for the question) running on a remote machine (Windows Server 2008). Every now an then a client application contacts ...
2
votes
2answers
3k views

Unable to configure tomcat 7 to use own JDK

I have the following problem configuring tomcat 7 to run as a service on windows. More specifically, tomcat is part of a web application which is installed on our customers' servers, and it must have ...
2
votes
3answers
1k views

Running SpamAssassin as a Windows Service on Server 2012

I am trying to run spamd.exe file which runs the spamassassin for windows, as a windows service. I tried sc create spamassassin binPath="C:\Program Files (x86)\JAM Software\SpamAssassin for ...
4
votes
3answers
5k 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 ...
18
votes
10answers
142k 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 ...
0
votes
0answers
4k views

base filtering engine fails to start - error 5 access denied. Server 2008 R2

We had a major server fault over the weekend where some hard drives and the mainboard's raid controller failed. Mainboard and HDD's replaced - the Windows Server 2008 R2 is loading up, but many of the ...
0
votes
3answers
959 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 ...
0
votes
0answers
1k views

MSMQ service not starting after restart (error code -1072824319)

Sometimes message queuing service do not start on startup. And when I try to start it manually (from services.msc), the following error comes: "Windows could not start Message Queuing on Local ...
0
votes
1answer
391 views

Remove active directory certificate services role

I have logged in as Administrator to my windows 2012 server. I just installed active directory certificate services role, now I want to remove it (as this service prevents me from adding my server to ...
4
votes
1answer
99 views

Create service with encrypted password

I am creating an automated deployment script (as a bat file). Our applications are mostly windows services. I plan to use SC CREATE to create the service. The problem is with storing password as ...
1
vote
1answer
526 views

Run Service Control (sc.exe) command on secure port

Our team runs the following commands to turn on and off Windows Services (e.g. JBoss Native) from the Windows command line as well as through source code in a program. It connects to a remote box. ...
0
votes
1answer
391 views

I see my clients in AD but not in WSUS

I set up a WSUS but dont see any clients in the Unassigned Computers group. I can find my clients in the ADAC, when I select myWSUS (local) > computers. My group policy management got a domain ...