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

6
votes
2answers
4k 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
2answers
10k 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
255 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 ...
2
votes
2answers
407 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 ...
3
votes
1answer
137 views

Log places to look for when a Vista service stops immediatly

I'm trying to diagnose why cygwin sshd service starts and stops immediately. In the Vista application event log I found: sshd: PID 3480: `sshd' service stopped, exit status: 255 It doesn't help ...
2
votes
1answer
474 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 ...
1
vote
1answer
455 views

Run php exec function to stop windows services

I have written a web program in php that needs to stop a windows service and start's it when run like this: exec('net stop spooler'); //to stop printer spooler exec('net start spooler'); //to start ...
1
vote
1answer
465 views

Supervisord as Windows Service on Cygwin

I am attempting to run Celery as a Windows Service using Supervisord. I followed the configuration laid out on the Celery site and here. I have set up a virtual environment to run supervisord through ...
1
vote
1answer
454 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: ...
0
votes
1answer
18 views

Give permission to network service

I would very much appreciate some help because I am stuck with this problem for a while now. I am trying to do what is outlined in this answer: please see this answer But in those steps, I don't ...
0
votes
1answer
1k 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
1answer
181 views

Stunnel as Windows service doesn't “start” on reboot

Running stunnel 5.03 on Windows 2008 R2. Everything is installed and working fine. I can even start/stop the service no problem... When I reboot my server stunnel service shows as started but ...
0
votes
1answer
228 views

How To Work Around Apache Bind Port 80 Error

I believe my problem is related to the order in which windows services start. I have been searching this error before posting here. We are running Windows Server 2003. Both Apache (port 80) and IIS ...
0
votes
1answer
105 views

Windows XP Service Dependency Order and SQL Express

Several years ago I built and deployed a system on XP that involved a custom written service that talked to a local 2008 SQL Express instance (that also had a CLR dependency). At the time I set up ...
0
votes
1answer
71 views

How do I set a windows service to use a parameter on restart?

I read this article passing parameters to services where it says to edit the ImagePath registry key in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\, but when I restarted my service this ...
0
votes
1answer
755 views

7024 event on Windows service shutdown

I am seeing the following event in event viewer: <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"> <System> <Provider Name="Service Control Manager" ...
0
votes
1answer
166 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 ...
0
votes
1answer
319 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
votes
1answer
11 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 ...
-1
votes
1answer
505 views

Execute bat file via php on a local network to run on any PC connected

I have a web app which runs on a local server (XAMPP)...its on a computer (PC1) which serve as a server..other computers are connected to the same wireless network and can run the web app also from ...
4
votes
0answers
192 views

Recommended Permissions for Virtual Service Accounts on Windows 7+

I'm trying to have an NSIS Installer install a custom service as part of an installation. It would be nice to run the service with one of those typical 'NT Service\xyz' style virtual service accounts ...
3
votes
0answers
43 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
0answers
71 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
0answers
1k views

svchost.exe -k regsvc using over 1.2 GB RAM

I have 3 Windows 2008 R2 SP1 Servers (VM) and each one has svchost process that is taking up more than 1.2 GB of RAM. I understand that this is running RemoteRegistry Windows Service that could also ...
2
votes
0answers
568 views

How to reset Winsock without reboot

I often need to execute a Winsock reset, running netsh int ip reset and each time I have to restart the system. Is there a way to avoid that? Should I kill and restart explorer.exe? Restart some ...
2
votes
0answers
1k 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: ...
1
vote
0answers
261 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 ...
1
vote
0answers
208 views

Configuring Service Login Credentials with Group Policy following MS14-025

With Microsoft security bulletin MS14-025, GPMC and related tools are now patched to no longer allow the use of configuration items within Group Policy Prefs that would embed obfuscated passwords. The ...
1
vote
0answers
344 views

FileSystemWatcher Exception - The network BIOS command limit has been reached

I have tried asking this question on Stackoverflow, considering it is related to programming, but it appears it is more of a server issue than anything. I have .Net framework 3.5 based application ...
1
vote
0answers
387 views

Service running over network : Windows cannot access the file for one of the following reasons…appears once per day, How to troubleshoot?

Our prod. setup is one web server, one sql server and one application server. On application server we have services installed which located one the sql server. We never had problems accessing the ...
1
vote
0answers
31 views

Access service recovery count

I am looking for a way to access a services' recovery count in Windows 2008 and 2003. From services.msc on the recovery tab you can set actions on first, second and subsequent failures. I would ...
1
vote
0answers
651 views

IIS 6 App Pools and Windows Services Won't Start

Windows Server 2003 R2 (x86) / IIS 6. I'm setting up an ASP.NET application as well as a few windows services that run under "MyServiceAccount". I'm unable, however, to get the app pool nor the ...
1
vote
0answers
132 views

Service Delay In created service Error 1053

Heya all bit of a noob when it comes to all this but I created my own service to start an EXE as a service but it keeps telling me it didnt respond in a timely fashion is there any way to give it abit ...
1
vote
0answers
162 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
0answers
11 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 ...
0
votes
0answers
29 views

Why am I able to SSH locally and start Windows services, but unable to do the same remotely?

I have a Windows Server 2008 R2 virtual machine that is running Cygwin and SSH. I'm able to SSH using my id_dsa key by issuing command ssh svc@IP "hostname;whoami", which returns what I would expect. ...
0
votes
0answers
24 views

Debug or audit SDDL setting of a service

I have set a custom SDDL for a service, that contains an entry with custom SID, and after checking that new SDDL grants that SID remote restart rights I went off for a night, and today I have ...
0
votes
0answers
388 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 ...
0
votes
0answers
297 views

Stopping a Microsoft Dynamics AX AOS Service

Background A number of people have recommended that prior to stopping the AOS Windows service, I first stop them from being a batch server (i.e. System Administration, Setup, System, Server ...
0
votes
0answers
826 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
0answers
112 views

SQL Server service dependency not working

I have an service that tries to connect to a MSSQL DB on startup, but when I start the computer it throws an error becouse it's not able to connect to the DB. This happens becouse the specific DB was ...
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
0answers
259 views

Windows 7 hangs on bootup - Culprit appears to be Network Location Awareness

We just finished our deployment of Windows 7 a few weeks ago. Everything ran great for a while. This week an issue started popping up. Random computers will hang on "Please Wait" during bootup. We can ...
0
votes
0answers
52 views

Tomcat application can't connect to Active Directory when running as a Windows service

I have a strange scenario that I haven't been able to find any details on anywhere. I have an application running in tomcat that connects to an Active Directory server that works perfectly when I ...
0
votes
0answers
38 views

Windows 2003: Service executable locked after service has been deleted

When deleting a service on Windows Server 2003 (with SP2) the executable is still locked by Windows until a reboot. Even on older Windows systems (tested with xp) the executable is not locked after a ...
0
votes
0answers
222 views

Is it possible to create a Windows Service that runs a shortcut lnk file

Is it possible to create a windows service that runs the executable at the end of a shortcut to facilitate versioning? i.e. sc create MyService binPath= "shortcut.lnk"
0
votes
0answers
64 views

Restart a windows service - “restart the service” didn't help me

I have a windows service which crashes sometimes. I have to restart once it happens. So I set "restart the service" on the tab titled "recovery" for first failure, second failure and subsequent ...
0
votes
0answers
25 views

One of five services sharing an account gets logon failure

We had a recent servercrash due to power failure. Five servers went down instantly (no soft shutdown). After getting the power back, we restarted them and everything works well except that now the ...
0
votes
0answers
657 views

windows command line start mysql with --skip-networking

Following How to start a service with certain start parameters on Windows. Any ideas why the following doesn't work? sc start MySQL --skip-networking mysql -uroot -p -e "show variables like ...
0
votes
0answers
238 views

Failure running SQL2012 on Windows 8 with local service accounts

I have installed SQL2012 on a Windows 8 laptop that is on a domain. The domain includes a group policy that defines accounts that can "Log on as a service". I installed SQL Server 2012 using the ...