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

2
votes
2answers
250 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 ...
4
votes
1answer
3k 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
1answer
131 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
437 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
296 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
389 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
71 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 ...
0
votes
1answer
306 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
101 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
143 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
90 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
45 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
482 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
129 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
298 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
136 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 ...
3
votes
0answers
77 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 ...
2
votes
0answers
962 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
0answers
519 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
309 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
973 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: ...
2
votes
0answers
3k views

Windows Application Experience Service

On a Windows 2008 R2 Enterprise server, the event log is reporting event id 7036 "The Application Experience service entered the stopped state" and then later that it has started. This occurs ...
1
vote
0answers
153 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
242 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
257 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
28 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
505 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
125 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
136 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
20 views

Windows 2008 R2 in reboot Loop

I have a windows server 2008 R2 which reboots continuously when my application services are set to Automatic Start after the server is restarted. I access the server after getting into that by "Last ...
0
votes
0answers
32 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
59 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
206 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
49 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
96 views

Access denied while executing NANT task “exec sc”

Im confused. I have Windows Server 2012 R2 and two users "administrator and user1". The "user1" is ment to run some services (services are configured to run under this user) and the services work via ...
0
votes
0answers
155 views

Windows Server 2012 LPD service gets disabled

I have a VM windows 2012 64bit server: 2CPU Xeon 2.67 GHZ 2 GB mem I enable the LPD service after installing from Print Server Roles. Following approximately one day the service gets reset to ...
0
votes
0answers
2k 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
370 views

How I would start correct the Windows SharePoint Services Administration service?

First of all I have 2 virtual machines, one for the Active Directory and the other one for SP Server and SQL server together. I've come across a handful of posts regarding KB934525 for Windows ...
0
votes
0answers
92 views

Supervisord Windows service started then stopped

I am trying to run Supervisord through Cygwin. The service installs/works correctly but, if I stop the windows service created, it will not start again. It will only work once after restarting the ...
0
votes
0answers
22 views

Running a service in the console

I have a legacy application that has a service the runs as local system, and runs fine. I have a new requirement to run multiple instances of the service as every user that is logged in (could be ...
0
votes
0answers
48 views

Service hanging for some time then respond

Well I had several SharePoint 2007 web application that works as an archive storage space. I built a solution that uses SharePoint and deploy it on each web application. This solution has a viewer ...
0
votes
0answers
198 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
47 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
847 views

Microsoft .NET Framework NGEN service starts and then immediately stops

I'm reviewing the system log of a Windows Server 2008 R2 machine used as an Azure web role instance and I see the following messages from Service Control Manager: 2:28:28 PM The Microsoft .NET ...
0
votes
0answers
36 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
152 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
52 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
22 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
435 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
207 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 ...