Questions tagged [services]

On Windows, services are processes running regardless of users logging in. They provide access and features to different programs or processes. On Mac OS X, services are menu bar and context menu items available from any application that can act on a user's selection, like text or files.

357 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
9 votes
0 answers
1k views

Systemd: How to make two services mutually exclusive but run both?

I've got two systemd timers and their associated services: a.timer triggering a.service b.timer triggering b.service Both services perform housekeeping tasks using the system package manager so they ...
lynix's user avatar
  • 131
5 votes
1 answer
6k views

Cannot start WebSite because port 80 is being used by W3SVC.exe

I have deverloped a website at work and we typically use port 80/443 for our websites (in development). This has worked well until today when starting the website gives me the error (IIS 7) This ...
aqwert's user avatar
  • 159
4 votes
0 answers
2k views

Service Protection Program keeps re-scheduling

Something keeps re-scheduling SPP, asking for my windows activation key. SPP then performs it's usual procedure, checks my key, and accepts it. Then the (thing) wants to know again! It's a snowball ...
U. Dju's user avatar
  • 63
4 votes
1 answer
1k views

Synergy not stopping service completely

I'm using Synergy 1.4.12 (server) on windows 8 pro 64bit. I'm getting a bug when I try to stop the service. If I click stop in to window or by right-clicking the startup icon, the Synergy service ...
user245175's user avatar
4 votes
0 answers
9k views

Viewing Windows SCM's .EVM files

I have developed some windows services and noticed that at some point in time, the Windows service manager will stop and resume my service without notifying anything. I know Windows SCM logs are ...
JuanKB1024's user avatar
4 votes
0 answers
1k views

How to restrict windows service to X cores?

I'm currently trying ot figure out a decent/nice way of determening what core(s) a single service should run on, in Windows Server 2008. I'm aware that for procceses there is two ways to do it: set ...
Martinnj's user avatar
  • 141
4 votes
1 answer
2k views

Windows SuperFetch service for SSD + HDD mixed systems

The guides are floating around the web stating that Windows 7 automatically disables SuperFetch if it finds that disk is SSD. However, my SSD is only 60GB, and I still have 3 TB of storage on HDDs ...
boomie's user avatar
  • 131
4 votes
0 answers
683 views

osx: how to manage Services menu, reorder items?

The ordering of services in the Services context menu seems totally random. Is there any way to edit it? In addition, sometimes added/modified services (that I created) don't show up immediately.
noamtm's user avatar
  • 367
3 votes
0 answers
2k views

Why does the App Readiness Service cause black screen with mouse cursor after login?

recently, one of my computers running Windows 10 build 1803 failed to completely login any user on that machine, i.e. a user would login, and then a blck screen with only a mouse cursor appears, ...
Erik's user avatar
  • 1,399
3 votes
2 answers
6k views

When System PID 4 is locking a file or folder, How can I determine what program/process/service is locking it without guesswork?

(This question is not a duplicate of Find out which process is locking a file or folder in Windows I am asking specifically about when PID-4 is locking it (besides the fact that i'm saying without ...
barlop's user avatar
  • 23.8k
3 votes
1 answer
898 views

How to enable or disable services silently?

How to run this command in silent mode? wmic service where name='HomeGroupListener' call ChangeStartmode Disabled
Jokbon's user avatar
  • 31
3 votes
0 answers
2k views

Windows 10 100% disk usage on startup and whenever opening Windows/Microsoft Native Apps

Since earlier this week, my laptop becomes unresponsive when logging into windows. Disk C: is always at 100%. Windows will only be usable and lag free after around 15 mins. Open Resource Monitor shows ...
sigs's user avatar
  • 31
3 votes
1 answer
750 views

Can't connect to local MySQL instance when ran as service

I've been running a local MySQL server for development purposes lately and for some reason never got around to running it as a service so I was constantly starting it up using the mysqld.exe every ...
ydaetskcoR's user avatar
  • 11.8k
3 votes
1 answer
67 views

Best way to run service no matter the distro

I am working on an application and want to make the script start on boot, and for the users to be able to run things like service my-program restart What i am seeing is there seems to be different ...
WojonsTech's user avatar
3 votes
1 answer
2k views

How to temporarily disable a service running as Local System?

I am using Windows 7 and want to temporarily shutdown a service running as Local System. I am looking for a way to do it without having to reboot into Safe Mode but had no luck (even searching Google) ...
terovn's user avatar
  • 41
2 votes
1 answer
266 views

Fail to start sppsvc service in Windows 11

I bought a new laptop with an Nvidia GeForce 4070 GPU and an I7 12700 CPU. After installing Microsoft Office products, the service sppsvc stopped working as a result the Office apps raised the error &...
MR_'s user avatar
  • 21
2 votes
0 answers
40 views

Wait for USB mount before starting NFS server on a Raspberry Pi Zero 2 (zero2w) with Raspbian?

I have Raspberry Pi Zero 2 (zero2w) with Raspbian x32 installed and attached USB SSD drive which main purpose is to act as a network (image) backup server for several other devices (all Raspberry Pis -...
h45h3ncryp73d's user avatar
2 votes
0 answers
837 views

Getting Access is denied : java.io.FileNotFoundException while writing to file

Posting this question here cause it was closed on stackoverflow and considered as off topic I have a java web application. Some important info about the app: The web application runs on a service. ...
Mahmud Mridul's user avatar
2 votes
0 answers
331 views

Sytemd graphical multi-session

On Linux with systemd it is possible to have multi-sessions on one seat, eg. I have reached the graphical target starting my display manager, login, and then my graphical user session is in place. I ...
ljrk's user avatar
  • 2,019
2 votes
0 answers
5k views

Windows 10 Service "Log On As" User Gives Error "Access Denied"

I am trying to start a service automatically but log on with a specific credential. Here is an example: The specific service does NOT matter, as the problem happens with any service, namely that I ...
Sarah Weinberger's user avatar
2 votes
0 answers
325 views

Why Superfetch is enabled after restarting computer?

I had disabled the Superfetch from services.msc but it was enabled by itself after restarting the computer. I don't want to use it. How do I disable it completely?
alkokura49's user avatar
2 votes
0 answers
809 views

OpenSSH in Windows PE 10

I'm using WinPE10 (10586), that I've built using ADK10. I was going to install SSH Server in it. I've found only one suitable: OpenSSH. But discovered, that I need sc.exe to use this server. I tried ...
Lev Nikiforov's user avatar
2 votes
1 answer
2k views

Add a custom terminal command to context menu in mac

Is there a way to add a custom command when I right click a folder in mac? I have a global NPM module which I run like this from the terminal: ~ make-assets The behaviour I want to achieve is that ...
Guy's user avatar
  • 153
2 votes
0 answers
858 views

Windows 10 reenables and runs disabled services automatically

my company gave me a computer with Windows 10 Pro on it. Now I want to disable some of the unneeded Windows services (like SMS Agent Service, Telemetry, Diagnostics, etc). Only I have administrative ...
bekce's user avatar
  • 161
2 votes
0 answers
2k views

Synergy installer is unable to start service on Windows 10

When I try to install Synergy on Windows 10, it gives me this error: "Service 'Synergy' (Synergy) failed to start. Verify that you have sufficient privileges to start system services." Synergy and ...
user555748's user avatar
2 votes
0 answers
758 views

Does Windows ever stop services when resuming from sleep?

I'm running on windows 8. Occasionally, when I resume from sleep, my service gets a stop request through the SCM (call to SvcCtrlHandler with SERVICE_CONTROL_STOP). I wasn't able to trace the source ...
zvisofer's user avatar
  • 121
2 votes
0 answers
640 views

systemd: Start service/script IMMEDIATELY after mount

On a system running Debian 8 with Systemd, I am trying to run a service immediately after /var is mounted. The custom service copies some essential files to /var, and it must be run before any other ...
BMiner's user avatar
  • 311
2 votes
0 answers
130 views

Can I assume that Task scheduler service will always be running on windows machine?

The requirement is to run an executable periodically in windows. So I assumed it will be better to do it by creating a task in task scheduler. But I am afraid for any reason will the task scheduler ...
Kavin Eswaramoorthy's user avatar
2 votes
0 answers
431 views

How do I set the PATH variable for a service that's running as a non-login user?

I'm running a GitLab server on a Linux machine using Nginx as a Webserver. Several processes (started either manually as root with /etc/init.d/foo start or automatically as sub-processes) run as ...
Chaos_99's user avatar
  • 928
2 votes
1 answer
319 views

Why can I move the executable of a service but not delete it?

I am learning about privilege escalation and dangerous service configurations on Windows. Here is the thing: A service has a world writeable executable myservice.exe (baaaad idea). The service is ...
John Nemo's user avatar
2 votes
1 answer
2k views

services.exe intermittently using 10-20 GB of memory when Visual Studio 2013 is running

When I run Visual Studio 2013 on one of my machines, I notice that services.exe will intermittently consume 10-20 GB of memory. This happens randomly and seems to have no relation to anything I do; I ...
dauphic's user avatar
  • 213
2 votes
1 answer
402 views

GitStack - "Forbidden" after installation

Was looking for an easy Git-stack to install on my Windows server. Found GitStack which would be perfect for my own projects. The only problem is that it throws me a "FORBIDDEN" error after I ...
Apache's user avatar
  • 16.2k
2 votes
0 answers
1k views

Windows services: force windows to attempt to start service after failed attempts

Appears that after a Windows service fails to start once or twice (with the ~"Service failed to respond in a timely fashion" error) then Windows ceases even trying to start the service and just ...
Richard's user avatar
  • 144
2 votes
1 answer
624 views

truecrypt mounting through windows service

I've created a windows service which silently mounts truecrypt volumes via command line. A couple issues have arose however; although the volume mounts correctly it won't show up in windows explorer ...
user avatar
2 votes
0 answers
1k views

Services unable to start, fixed permissions on registry keys to fix, finding more, root cause?

Having issues with one of our buildfarm Win 7 SP1 machines, being unable to start the firewall service. The error that it reports is that one of it dependencies was unable to start, which turned ...
Idgoo's user avatar
  • 31
2 votes
0 answers
69 views

In Windows 8 when the fast startup mode is enabled, shutdown saves the windows services

In Windows 8 when the fast startup mode is enabled, shutdown saves the windows services and resumes the services when powered ON again. This behavior is different from normal shutdown as services dont ...
user avatar
2 votes
1 answer
1k views

start ubuntu service as user

I am trying to create a service in ubuntu server, whitch I need to start as a user. Main reason I need to do that is that I need to call it from www(php script). lets say I got this script called ...
user899119's user avatar
2 votes
0 answers
465 views

Can I move the services menu to the top of the contextual menu?

Is it possible to move the services section of the contextual menu from the bottom to the top?
timg's user avatar
  • 121
2 votes
1 answer
2k views

Windows Event Log does not work

On my Windows 7 Ultimate system the Event Log service does not start anymore. I get the response Error 2: Cannot find the file specified. I checked my system, but unfortunately I couldn't find any ...
user avatar
2 votes
1 answer
2k views

Why don't I have a "Web Service References" menu item in excel/VBA?

I'm trying to consume a SOAP web service from excel. Now according to This article (and confirmed by other articles and MSDN) if I do the following: Install the web services toolkit (I've installed ...
Draemon's user avatar
  • 778
2 votes
1 answer
7k views

Set default Bluetooth service for a device ("Listen to Music" vs. "VoIP")

I have a Bluetooth headset that pairs and connects fine. But every time I restart the computer and turn on the headset, it defaults to "Forward VoIP Calls to Handsfree", which has a very poor low-...
Tom Auger's user avatar
  • 1,695
1 vote
1 answer
2k views

Systemd fails to locate executable although it exists

I am on Arch Linux and have this service named toto.service in /etc/systemd/system/ that I want to run: [Unit] Description=Toto After=network-online.target [Service] ExecStart=/opt/toto.sh [Install] ...
moth's user avatar
  • 125
1 vote
0 answers
201 views

Trying to understand the differences between running rundll32 from a service vs through cli

I'm trying to understand the difference between how things are executed when running under a NT_AUTHORITY LOCAL SERVICE account that run on startup, vs by the user. I have an executable that spawns a ...
Josh T's user avatar
  • 11
1 vote
0 answers
65 views

Get-Service returns service from source machine, not remote machine

I have: My local machine Remote machine one (foo1.bin.com) Remote machine two (foo2.bin.com) I have the following piece of code: Get-Service -ComputerName foo2.bin.com When I run this code from my ...
Niek Jonkman's user avatar
1 vote
0 answers
87 views

Can't do an in-place Update of an Azure cloud service (extended support) after a VIP swap - Public IP is in use (error)

I have successfully performed a VIP swap on a pair of Azure cloud services (extended support) that had Reserved IP addresses (static, although I don't think it matters). Now I can Update (by uploading ...
Vasily Romanov's user avatar
1 vote
0 answers
213 views

BluetoothUserSupport Service issue

I have a strange problem with Bluetooth on Windows 10. All the latest drivers and Windows updates are installed, services set to 'automatic' run. Bluetooth devices paired and and working well, but ...
Lukas's user avatar
  • 11
1 vote
0 answers
174 views

Is there a way to close down a port used by a service during shutdown or boot?

I have some service listen.service which makes the machine act as a TCP server which other clients can connect to. The problem is once the service starts up, it doesn't actually do anything for about ...
frend123123's user avatar
1 vote
0 answers
70 views

Inconsistent values for %j across Systemd service and drop-in units

On a Debian system, let's say I have an instance systemd unit /lib/systemd/system/[email protected]: [Unit] Description=good old foo [Service] Type=oneshot ExecStart=/bin/env echo "%%i=[%i] %%j=[%j]...
mike's user avatar
  • 23
1 vote
0 answers
2k views

How to fix "Failed to start VNC Server in Service Mode Daemon"

This problem first showed randomly when booting up my Kali Linux laptop, now it doesn't let me get into my desktop and shows me this error. I can get into tty1 and I tried to start, stop and restart ...
UnnamedCat_'s user avatar
1 vote
0 answers
910 views

Why does my custom launchd service fail with a status 78?

I was writing a service to execute a command when some file on my Macbook changes following Run Script on File Change on Mac OS X. This is my service file (~/Library/LaunchAgents/my-service.plist): &...
Zidong's user avatar
  • 11

1
2 3 4 5
8