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
2answers
15k views

Slow logon via Remote Desktop to Server 2012 and Smart Card service errors

When I logon my Server 2012 R2 server via Remote Desktop it sits at the logon screen for 10-20 seconds before logging me in. Once logged in I found the following three errors in the Windows System ...
0
votes
0answers
9 views

Why is my service repeatedly generating Event ID 7041 at boot time?

I have a third party service running on a Windows 2008r2sp1 member server. The service is started using a domain user account and set to Automatic. Although the account has "Log on as a service" ...
7
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: http://mercurial.selenic.com/wiki/...
4
votes
2answers
14k 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 ...
0
votes
1answer
11 views

Windows 2012 Service Removal Log

I have a production server where an application is experiencing an issue. The psexec service is marked for deletion and I want to try and tie the deactivation of the service to the start of the issue. ...
1
vote
2answers
2k 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 ...
1
vote
1answer
56 views

How can I confiuger a windows service from the command line

I have a windows service that I've written. I'd like to make it easy for my server team to install it. So I'm building a little batch script. One of the things that I require is for it to be setup ...
0
votes
2answers
12 views

Win2012r2 Services Recovery Tab documenation refuses to launch

Services Recovery Tab Help will not launch. [ On the "Recovery" tab in Windows Services.msc, clicking on "Help me set up recovery actions" results in "An internal error occurred (...
0
votes
0answers
79 views

Start/Stop services using bat file in Windows server 2012

In our old 2003 server, we were able to start and stop services by using a bat file(with net stop and net start commands). When ever the services stops(MQ listner services), we force start an autosys ...
0
votes
0answers
25 views

jboss using 9990 port instead of 9090

I am referring to the documentation here and running JBoss as Windows as Service. I am not sure why it doesn't runs on localhost:9090 as mentioned in the documentation but on localhost:9990. I don't ...
0
votes
0answers
20 views

WMI permission issues with specific users (processes)

I am using a VB script to determine whether or not a specific process is running on a remote server. This allows me to inform the user to close this application before backup is running. (Old system, ...
0
votes
0answers
61 views

WildFly can't be stopped via service on Windows Server

Using the following configuration: Microsoft Windows Server 2012r2 WildFly-9.1.0.Final (running in standalone mode) Oracle Java JDK 1.8.0_91 For some unknown reason, WildFly can't be stopped using ...
0
votes
2answers
4k 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
102 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 ...
3
votes
9answers
7k 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 ...
2
votes
2answers
8k 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). However,...
13
votes
6answers
14k 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 ...
0
votes
0answers
53 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
92 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
598 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
325 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
71 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 ...
6
votes
4answers
38k 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
530 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
13k 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
385 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
900 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
111k 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
63 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
79 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 script ...
4
votes
4answers
1k 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
41 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
810 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
159 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
46 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
83 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
172 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
81 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
236 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
233 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 System.Management.Automation....
3
votes
2answers
723 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
363 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 http://doitcloudy.blogspot.de/2014/07/...
14
votes
5answers
89k 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
1k 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
207 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 Windows\...