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

1
vote
2answers
648 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 ...
3
votes
2answers
5k views

Cannot delete an existing service using sc command: The Specified service does not exist as an installed service

As shown in the picture below, I want to delete MyNewService, but when I type in sc delete MyNewService I simply can't delete it because there is no such servic, due to "the Specified service does ...
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: ...
6
votes
2answers
2k 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 ...
-1
votes
1answer
61 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 ...
0
votes
1answer
48 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
93 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 ...
7
votes
1answer
5k views

Windows service trigger start - difference manual vs automatic?

Since Windows Server 2008 R2 (and Windows 7 I think for the client OS) Microsoft has introduced trigger start for services. I do understand difference between automatic, automatic (delayed) and manual ...
3
votes
3answers
6k views

Apache 2.2 on Windows Server: won't start after attempting to change drive letter of all data and logs

I manage a web server that's running on Windows Server 2008 as a 64bit virtual host. All service software is running independently, and not as part of an AMP stack. The data drive has nearly filled up ...
0
votes
2answers
49 views

Unable to access a windows share using UNC path

I'm trying to understand why my application running as a windows service as Local System account cannot access a shared folder on another PC using a UNC path. Yet the same application can access a ...
1
vote
1answer
124 views

Sound on Windows 2000 Server

We have still some Windows 2000 Server / Advanced Server machines running. Is it possible to install audio service or something? It does not seem to have sound capabilities (like the Windows 2000 ...
2
votes
3answers
895 views

How to find out what parameter was passed to a Windows Service

How do you find out what parameter was passed when starting a Windows service? I usually start a service thru net start by passing parameters as shown below net start DocumentHashService /Recursive ...
1
vote
2answers
43 views

How can I manage services on a remote computer with the Services MMC snap-in in Windows 8.1 in a workgroup

I'm trying to manage services of a remote computer in a workgroup via the Services MMC snap-in. Both computers are running Windows 8.1 Pro and are in a private (private as in Windows) network. RDP ...
0
votes
0answers
26 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 ...
1
vote
1answer
37 views

Add new dependency to a Windows Service that already has dependencies

I want to add via Batch script a new service-dependency to an existing service with old dependencies, without deleting these dependencies. I know the command sc config ServiceA depend= ...
0
votes
1answer
87 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
27 views

Cannot manage services on remote server, how to remotely execute without services?

Background info I am in a bit of a situation right now. One of our clients has an application server (Server 2008 R2) which hosts critical medical applications. The server is located in another city, ...
1
vote
1answer
49 views

unable to set service user account via command line

I am writing a puppet script to automate creation of TeamCity agents on Windows 2008 R2 SP2.For this, I need to set a custom TeamCity service user account via command-line. So far, I have tried this ...
2
votes
0answers
528 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
0answers
37 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 ...
1
vote
5answers
10k views

How to prevent Hamachi service stop when Remote Desktop disconnects on Windows XP?

I have a Windows XP SP2 machine with Hamachi service running. Usually I connect to it using Remote Desktop, and when I disconnect I can't connect to it again because the Hamachi VPN is down. How to ...
8
votes
4answers
55k 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 ...
0
votes
1answer
1k views

net use encountering “System error 67 has occurred.” when trying to map from script running as service

I have a service running, on windows Server 2008 R2, which requires access to a webdav mapped drive, for copying file dependencies. Everything works when I run net use from command prompt: net use z: ...
0
votes
0answers
148 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
44 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 ...
3
votes
2answers
4k 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. ...
2
votes
3answers
256 views

Why process running as Local System accessing a UNC share being seen as NT AUTHORITY\ANONYMOUS LOGON?

I have a Windows Service running as Local System on SERVER_X which is attempting to access a script on a UNC share hosted on SERVER_Y. Per the links below, I've granted the computer account of ...
1
vote
1answer
3k 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 ...
2
votes
3answers
726 views

Can't select IUSR for running a service under

We have a Windows 2008 R2 box running IIS 7.5 which due to a security requirement we need to set the World Wide Web Publishing Service to run under IUSR. I can give IUSR folder permissions just fine. ...
0
votes
1answer
22 views

Tomcat service dies on startup

I have added the following arguments to the JVM options for a Tomcat Windows service: -Dcom.sun.management.jmxremote.port=3333 -Dcom.sun.management.jmxremote.ssl=false ...
21
votes
7answers
74k 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
87 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 ...
2
votes
0answers
427 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 ...
1
vote
2answers
389 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 ...
3
votes
8answers
4k 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
1answer
342 views

Provide a user with service start/stop permissions

I have a very basic domain that I use for development. I want to create a GPO that provides users in the Backup Operators group with start/stop permissions for two specific services on a specific ...
3
votes
2answers
3k 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 ...
5
votes
2answers
4k 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
259 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 ...
2
votes
3answers
12k 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?
3
votes
3answers
194 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
0answers
130 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 ...
-1
votes
2answers
818 views

Force deletion of Windows service

I have installed a Windows service using the sc create method, then I later used the sc delete method to get rid of it, it then marked the service for deletion. I made changes to the service and ...
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 ...
15
votes
9answers
105k 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 ...
3
votes
0answers
64 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
2answers
310 views

Disable windows file shares without losing share config

Background We're currently upgrading an old app from running on Windows Server 2003 to running it on Windows Server 2012. Users and other systems communicate with this system via HTTP (i.e. users ...
1
vote
2answers
852 views

Filebackup failed - In event log the “Virtual Disk Service” has stopped (at nearly same time)

We have an Windows 2008 R2 server which is used as file server. At the weekend my colleague makes a file-backup via backup exec. We do this on many servers but only this one make problems. We have ...
34
votes
4answers
79k views

How do I grant start/stop/restart permissions on a service to an arbitrary user or group on a non-domain-member server?

We have a suite of Windows Services running on our servers which perform a bunch of automated tasks independently of one another, with the exception of one service which looks after the other ...
0
votes
0answers
340 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 ...