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
0answers
5 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
1answer
17 views

windows service dependency ONLY during startup

I'm using windows server 2008 R2. When the server is rebooted, and only at this time, I need to ensure that service A starts, then service B, then service C. I've researched dependencies, but as I ...
0
votes
0answers
14 views

Windows service interaction with Internet Explorer without log in

I have a windows service which is creating a process of IE, interacting with it and then closing it down until the next time this function will be invoked. It worked fine for years while the service ...
0
votes
1answer
14 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 ...
1
vote
2answers
60 views

Why would I need the “Plug and Play” service in a Windows Server hosted in a VM?

I'm reviewing the logs of a Windows Server 2008 R2 server which is running inside a VM. The server hosts an Azure web role. The logs contain this record: The Plug and Play service entered the ...
2
votes
2answers
49 views

Automatic Windows Service Not Starting

I have a services running in Windows Local Services which is set to Automatic Startup. Every so often this service doesn't start after a reboot and there are no errors in the event log. The service ...
0
votes
2answers
70 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
1answer
40 views

SQL Server 2008 Agent service wont start

We previously had SQL Server 2008 R2 Express to try some things out (I know it is by design that the agent service is disabled in this version) After proving the concept, we upgraded to the standard ...
2
votes
2answers
25 views

Is it possible to create a delayed start dependency on something other than another service?

I have a service that starts delayed (auto), and I want to create a dependency on a WMI query. It would query WMI and wait until the query returns true before starting the serivce. Is that possible?
2
votes
1answer
30 views

How to make a Windows service start before another at Windows startup [duplicate]

Is it possible to make a Windows service (third-party one, I don't control its code) to start only after a service I own? I need that to connect to a device which is blocked by the third-party ...
-1
votes
1answer
251 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
115 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
2answers
262 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 ...
0
votes
0answers
68 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
66 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
301 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 ...
1
vote
2answers
80 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
1answer
30 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, ...
2
votes
0answers
2k 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
99 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
1answer
3k 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
286 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
65 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 ...
2
votes
3answers
397 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 ...
0
votes
1answer
25 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 ...
0
votes
0answers
113 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
684 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
1answer
69 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 ...
1
vote
2answers
617 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
1answer
413 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 ...
4
votes
3answers
293 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
197 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
2k 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 ...
3
votes
0answers
91 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
531 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
1answer
5k 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 ...
1
vote
2answers
1k 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 ...
0
votes
0answers
414 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
106 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
1answer
118 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
150 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 ...
6
votes
1answer
6k views

How do I increase windows service startup timeout

I have migrated software to a very slow sever. Some software services refuses to startup because of system timeout. How do I increase timeout from default 30 sec.(?) to several minutes? Thank you in ...
0
votes
0answers
23 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 ...
1
vote
1answer
317 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 ...
2
votes
1answer
366 views

How can I transfer a certificate from an account to another on Windows

Long story short, I have some configuration file for a tool containing sensitive information and the client want them encrypted. I want to use EFS for this, but there is a problem : the account doing ...
1
vote
0answers
162 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
1answer
114 views

Windows Event Log wrong Source column value

In the Event Viewer in Windows 7 there is a Source column that is set by my Windows Service application. The value is set to TOS and usually when a log entry is associated to my application, it has ...
11
votes
1answer
7k 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 ...
2
votes
0answers
352 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 ...