Questions tagged [windows-service]

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.

97 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5 votes
1 answer
419 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 ...
schlenk's user avatar
  • 183
3 votes
0 answers
1k views

Unable to start golang executable as windows service

I want to start a windows service written in golang on my Windows server build 1803. The golang script uses the service wrapper found here: https://github.com/kardianos/service The service is located ...
semaph0r's user avatar
  • 131
3 votes
0 answers
4k views

How to fix alerts in server manager for Tile Data model server service?

I manage a small collection of Windows Server 2016 Standard instances, virtualized on VMware and joined to an Active Directory domain. In Server Manager, I commonly see alerts on these servers for the ...
NReilingh's user avatar
  • 484
3 votes
1 answer
10k views

'net view' generates error "The service has not been started"

I have a problem in Symantec Endpoint Protection Manager where by the computer browser to do a remote push install has randomly stopped working showing the error message Network Provider: Microsoft ...
user6888062's user avatar
3 votes
0 answers
549 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 ...
sorosh_sabz's user avatar
3 votes
0 answers
3k 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 ...
Vladimir Oselsky's user avatar
3 votes
2 answers
4k 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 ...
fungus1487's user avatar
3 votes
1 answer
157 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 much....
Philippe Blayo's user avatar
2 votes
1 answer
3k views

How to enable logging of Event ID 7042 (service stop reason)?

Event with ID 7042 gets logged in the Event Log when two particular services (custom apps) stop on Windows Server 2022. The problem: one Windows Server is not logging those events. Is there an option ...
Maris B.'s user avatar
  • 182
2 votes
1 answer
146 views

What Event IDs are generated in Windows server when changes are made to the login service dialog?

Is there a way to turn on logs for when changes are made to a credentials for a service like the one below?
leeand00's user avatar
  • 4,919
2 votes
0 answers
2k views

Allow user/group to start/stop/restart windows service

I have 4 services. All of them are run by an individual user. All 4 users are part of a group I created (ServiceWorkers) which has the Log on as a service user rights assigned. Each service needs to ...
Alex's user avatar
  • 121
2 votes
0 answers
88 views

Stopping a windows service via command line, where the service has symbols in it

For whatever reason the company who installed this service used the same name for the display and the service name. Which is this format (not exact wording to protect them) "Blah® Blah™ Agent ...
Daniel's user avatar
  • 21
2 votes
0 answers
198 views

Windows 7 services not recognizing environment variable changes

I have 200+ Windows 7 machines that are part of a render farm. They're all running a service that is responsible for running render farm commands on the machine. Currently, several environment ...
Brendan Abel's user avatar
2 votes
0 answers
1k views

Can I as a normal user run stuff under a managed service account?

Let's say I have remote access to a server which uses MSA's to run application pools and windows services. Can I as a normal (not elevated) user run program's under those MSA's? For example PsExec....
Martijn B's user avatar
  • 121
2 votes
0 answers
11k 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 ...
Arindrew's user avatar
2 votes
0 answers
2k 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 ...
user2352523523's user avatar
2 votes
0 answers
491 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 ...
Ryan Bolger's user avatar
  • 16.8k
2 votes
0 answers
2k 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 ...
Kamafeather's user avatar
2 votes
0 answers
2k 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: System.Runtime....
Nick Gotch's user avatar
2 votes
2 answers
352 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 ...
Christian's user avatar
  • 121
2 votes
2 answers
993 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 ...
Hairgami_Master's user avatar
2 votes
3 answers
2k 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 ...
Shaitan00's user avatar
1 vote
0 answers
360 views

Implement /usr/sbin/apachectl start|stop|restart as a Windows Service

We are running Apache Web Server 2.4 installed as a Cygwin package, on Windows Server 2018. The Apache service manually started after each reboot by running: /usr/sbin/apachectl start From the Cygwin ...
TenG's user avatar
  • 153
1 vote
0 answers
574 views

Installing gMSA on client remotely

I succesfully created a gMSA in our AD production, I now want to link it to a host server/computer for testing (ex: launching schedule task). To link the gMSA to the server, we need to install some ...
Reda Feknous's user avatar
1 vote
0 answers
492 views

Communication between Windows services on Windows Server 2019

I have some custom made Windows services, that communicate over Named Pipes on local network with other application on another server. This setup worked perfectly on WS 2008 R2 and WS 2016 servers, ...
Tomáš Batysta's user avatar
1 vote
0 answers
87 views

Can i pass parameters to a windows service through GPO

We have a custom windows service written in C++. This windows service runs in all the VMs in a particular domain. I have a requirement to pass certain parameters to that windows service which the ...
user496934's user avatar
1 vote
1 answer
6k views

How can I add a certificate to a Windows service's certificate store from the command line?

I want to add a certificate to the certificate store belonging to a Windows service, from the command line. So far, the only thing I've found is: certutil -service -store ADAM_Instance-Name\My When ...
user2871239's user avatar
1 vote
0 answers
656 views

Some Windows services not visible remotely

I'm struggling to figure out what is going on, but it has a pretty widespread effect on a system I'm working with. I originally asked this on stack overflow and It was recommended I check here. OP ...
Xanderu's user avatar
  • 111
1 vote
0 answers
2k views

Background Tasks Infrastructure Service event id 7046

I have a server running W2K12 R2. The server experiences a string of Event ID 7011 entries in the System Event log followed by Event ID 7046. 7011 error text states "A timeout (30000 milliseconds) ...
DubyaG's user avatar
  • 11
1 vote
0 answers
600 views

Windows core 2016 services permissions

Newly install Windows 2016 Core server, trying to change service startup type. It seems that default permissions for this service won't let me do it even with domain admin privileges. [servername]PS ...
Sergei's user avatar
  • 1,226
1 vote
1 answer
2k views

Windows: create a service for running a executable jar with out any external libraries

I have spring boot executable jar file which can run into any command prompt by calling java -jar filename.jar. I want to create a service with out downloading any external libraries for the above ...
Prateep Gedupudi's user avatar
1 vote
1 answer
3k views

Start/stop windows service as user from command line

How can I start a service from the command line e.g. net start "sql server (sqlexpress2016)" without running with elevated privileges? The short answer is "you can't". But how come then Services ...
LosManos's user avatar
1 vote
0 answers
42 views

After a domain acct password change, what is the (max) length of time a windows service continue to run if not updated

I know the question is awkwardly phrased, and I also realize there are going to be multiple factors in this that don't lead to a single definitive answer. I seem recall in the past, having services ...
dave_the_dev's user avatar
1 vote
0 answers
22k views

Apache2.4 Service Will Not Start on Windows Server 2008

When I try to start Apache 2.4 from the Services dialog (after installing via httpd.exe -k install), I get the following error: Windows could not start the Apache2.4 service on Local Computer. Error ...
FormerCoderRob's user avatar
1 vote
0 answers
2k 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: ...
Jonathon Reinhart's user avatar
1 vote
0 answers
285 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 ...
Michal Řehout's user avatar
1 vote
0 answers
6k 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 ...
Abdul Rauf's user avatar
1 vote
0 answers
8k 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 ...
Reece's user avatar
  • 783
1 vote
1 answer
3k 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 ...
user432024's user avatar
1 vote
1 answer
2k 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 ...
Jason Hawkins's user avatar
1 vote
0 answers
670 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 ...
user2711965's user avatar
1 vote
0 answers
1k 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 ...
RayofCommand's user avatar
  • 1,451
1 vote
0 answers
41 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 ...
Brettski's user avatar
  • 952
1 vote
0 answers
1k 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 ...
RMD's user avatar
  • 131
1 vote
0 answers
266 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 ...
John-David Cartledge's user avatar
1 vote
1 answer
730 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. It's basically an Apache service running PHP. Besides trying to fix the error, which is something I'm working on, I ...
Jbm's user avatar
  • 111
1 vote
2 answers
1k views

What's causing the delay in my network adapter binding to the network?

I have a server that takes several minutes for the NIC to bind itself to the network upon startup (it has a statically-configured IP). This causes the WINS and Intersite Messaging services (and ...
Bigbio2002's user avatar
  • 2,833
0 votes
1 answer
258 views

How to create a GPO to audit start/stop of a service not running on the DC?

I'm trying to enable auditing of service start/stop events for a few specific services on a group of domain computers, and to make this change using Group Policy. I've seen this answer, however when I ...
zedworks's user avatar
0 votes
0 answers
421 views

Multiple per-user services on Windows Server 2022?

We just upgraded a couple of servers to Windows Server 2022. I am noticing in the Services Control Panel, a number of services which present multiple instances, presumably one instance for every user ...
Yossi Geretz's user avatar
0 votes
0 answers
47 views

Any possible way to receive an alert of Windows Server being "unresponsive"?

We currently use ServiceNow to have many alerts like ping, 100% CPU/RAM utilization, disk space being almost full, etc. but we are investigating if we can receive an alert when the OS is "...
Tirux's user avatar
  • 3