Questions tagged [windows-services]
In Windows operating systems, a Windows service is a computer program that operates in the background. It is similar in concept to a Unix daemon.
302
questions
3
votes
2
answers
1k
views
Which Windows apps use the "DNS client" service?
I'm thinking of Windows 10/11.
Which Windows 10 apps use the "DNS client" service?
I guess Windows apps like browsers, mail clients, etc have their own DNS clients (also called "stub ...
-1
votes
1
answer
52
views
What to do instead if stopping Windows service doesn't stop the process?
I'm trying to stop a Windows service with an underlying java process with command net stop. Sometimes the underlying process doesn't stop. I can only stop it by doing a taskkill /f /pid.
What can I do ...
2
votes
2
answers
238
views
Does changing Windows logon password automatically change service logon?
Let's say I change the password to my Windows local account on a Windows 10 Pro machine. If that local account is used to start a Windows service, does the password need to be manually updated on the ...
1
vote
1
answer
598
views
'Get-Service' fails to list *all* services due to one causing an issue
As a "normal" UAC-elevated user (i.e. member of the BUILTIN\Administrators alias, but not .\Administrator), how can I list all services using Get-Service and sidestep the issue described ...
0
votes
1
answer
120
views
How to determine cause of connection attempts from a specific Windows service?
On a locked-down Windows 7 test box on a completely isolated test network, I could account for every incoming and outgoing attempted network connection.
Then I temporarily installed the PortableApps....
0
votes
0
answers
21
views
I want to prevent myself disabling services on my own personal computer (Windows 11)
I hope this is the right forum for this question. I have a service that regulates my access to the internet and applications such as games, if I stop it the service has some sort of way of restarting ...
0
votes
0
answers
100
views
How to stop Microsoft Edge from updating in Windows 10?
About a month or two ago, I was using TreeSize to check the contents of my C: drive since it was filling up even though I wasn't downloading it. I discovered that in ProgramFiles, Microsoft's Edge ...
0
votes
0
answers
198
views
How to run sqlcmd.exe as a windows service?
Microsoft SQL Server 2019 (RTM) - 15.0.2000.5 (X64)
Sep 24 2019 13:48:23
Copyright (C) 2019 Microsoft Corporation
Express Edition (64-bit) on Windows Server 2016 Standard 10.0 (Build 14393: ) (...
0
votes
2
answers
346
views
How to return startup type (automatic/manual/disabled) of a Windows service in CMD?
I want to create a desktop shortcut containing a short command line script in Windows 7 (yes...old) that toggles a certain service from startup type manual to disabled and back, by running it ...
1
vote
1
answer
802
views
1053 error info when to convert bat into a service
I want to convert bat file into a service:
gvim c:\myapp.bat
c:\myapp.exe -c c:\config.json
It contain only one command,it runs fine when i double click the myapp.bat.
Convert it into a service with ...
6
votes
2
answers
2k
views
batch: configure a service to logon as a user with password
trying to configure Service1 service on windows 7 sp1 to logon as user user1 with password password1 using this batch script:
net user user1 /delete
net user user1 password1 /add
net localgroup ...
0
votes
1
answer
403
views
Why does it take so long for a Windows-Server 2016 machine to realise that a service has crashed and needs to be restarted?
I have installed a server application on a Windows-Server 2016 environment. During the last month, that application has crashed several times (for that matter, a StackOverflow question has been ...
3
votes
1
answer
4k
views
How to start a Windows service with a different working directory than system32
Is there any way to start a service using sc (or any other tool) on Windows and set its working directory to a different one than C:\Windows\system32 (which is the default one) ?
I know I can specify ...
1
vote
1
answer
394
views
What's the sense of Windows Service Dependencies?
I have created a computer program, which I have installed as a Windows service, and I have added a dependency towards another Windows service, the "KEPServerEX 6.9 Runtime", as you can see ...
0
votes
1
answer
433
views
How to Export List of All services and user owner stated on services.msc to csv
I want to export a list with all services and users owners "Log on as" from services.msc
In services.msc i can export the details to csv but the results are getting messy.
I saw THAT and ...
0
votes
1
answer
126
views
Technitium DNS service can't run
I have version 3 of technitium on windows 10 64bit. but after selecting from menu of service -> start. Alarm appears:
can't start service 'DnsService' on computer ',', :
0
votes
0
answers
31
views
Windows Image Acquisition consistently using 10% CPU and cannot be restarted; upon stopping, image manipulation programs (MSPaint) fail to load
I've found the main power usage on my computer as of late has been the Windows Image Acquisition service running at 10% CPU constantly. Going into the services menu and pausing the service does not ...
0
votes
0
answers
237
views
Why would Task Manager show Windows Camera Frame Service under an app that doesn't use a camera?
Task Manager shows "Windows Camera Frame Service" active under an app. But the app doesn't use the camera for anything. Indeed, the app is an intellectual property app that, were it known ...
5
votes
1
answer
2k
views
Windows 10 - What keeps re-enabling update orchestrator service?
The following services have successfully been disabled, and their executable files that activate them have had their security permissions removed under propteries:
Background Intelligent Transfer ...
0
votes
1
answer
560
views
When windows service is installed under different user it requires manual "Log On" is this expected?
using golang example I created windows service application, as mentioned in documentation I configured with service user and password. I'm using a batch script that will execute
@REM install ...
0
votes
0
answers
1k
views
VMware Authentication Service missing
After updating to Vmware Workstation 16.2.0, I'm missing the VMware Authentication Service.
Error Message:
VMware Workstation cannot connect to the virtual machine. Make sure
you have rights to run ...
1
vote
2
answers
2k
views
Windows 10 missing service
I'm trying to use a smart card on my computer and I can't get it to read on one of my computers even though using the exact same reader works on the other. Both are running Windows 10 21H1. Plugging ...
0
votes
0
answers
1k
views
Windows 10 Home Ed - Base Filtering Engine won't start (Access Denied) Error 5
I am running Windows 10 Home Edition. I cannot run Windows Defender Firewall because it is dependent on Base Filtering Engine which is not running, does not run on start-up and I cannot run as ...
1
vote
1
answer
711
views
Windows Service Status Report
I wrote a script to check for Windows Services that are in a hung state and send an email to the user accordingly with the subject line.
I want to send the email with an image or table data ...
1
vote
0
answers
307
views
Windows stop service -> do not error when not started
In a build pipeline for our .NET application, we automated the stopping and starting of our IIS server through
net stop WAS and net start W3SVC. But there is a problem with the first command. If the ...
1
vote
2
answers
231
views
Is there any way to prevent Windows 10 updates from turning on services or changing registry?
I'm really tired of manually turning off unnecessary services after each windows update. I'm using Easy Service Optimizer, but it doesn't turn off every service I would like to.
Windows 10 Pro (gpedit ...
0
votes
1
answer
344
views
Every time I restart a specific Windows Service, I have to re-enter logon details
I have set up the Azure Devops build agent running as a Windows service. Every time I restart/start the service I get a popup
Error 1069 The service did not start due to a logon error
If I go into ...
1
vote
1
answer
211
views
Run a windows service if not connected to a particular Wi-Fi network
Currently, I have the OpenVPN windows service set up, and it runs well. I wanted to know if there was a way to make it connect to the VPN whenever I am not connected to my home network (connected to ...
0
votes
0
answers
1k
views
Grant permissions for a windows service
I am using windows 10. I have installed the SonicWall NetExtender VPN Client. Looking in Services.msc I have two services added, the SonicWall Client Protection and SonicWall NetExtender Service. ...
5
votes
1
answer
7k
views
How to disable or remove AppXSVC
I have noticed that this service AppXSVC starts automatically whenever I start Firefox my default browser (but not with chrome)!
is there anyway to completely disable or remove this service? thanks in ...
0
votes
1
answer
1k
views
Windows 10, stop a service, but don't restart until reboot
I'm familiar with Windows 10's services.msc. I can click the stop button, and I can click the start button, but I want to divide and conquer to figure out which service is causing trouble and locking ...
14
votes
7
answers
5k
views
Windows 10 - Which services and Windows features and so on are unnecesary and can be safely disabled? [closed]
I am a Windows power user, tweaker, and tinkerer. I use Windows Explorer, cmd, Control Panel, PowerShell and everything that can be accessed from the Control Panel very often.
Recently I have done a ...
0
votes
1
answer
741
views
How can I repair "Failed to start service WMS"
I'm receiving constantly this error on windows event viewer
Failed to start service WMS. Program C:\Windows\wmu2\wininit.exe couldn't be launched. CreateProcess() failed: The system cannot find the ...
0
votes
1
answer
1k
views
Windows Update service in services automaticaly changed to disabled. cannot change it manually eaither
I think this happened after 20H2 update. Windows Update and Windows Update Medic services are automatically disabled. I cannot even change the status into automatically or manual and start the service ...
1
vote
0
answers
894
views
Svchost using high cpu while computer on idle
I've been dealing with high fan noise while my laptop screen turns off and goes idle. I ran performance monitor while this happens found 2 svchost files going 50% and 30% cpu usage. But could not tell ...
1
vote
1
answer
544
views
No sound - how can I undo 'sc delete AudioEndpointBuilder'?
A little more than a week ago I made the terrible mistake of running
sc delete AudioEndpointBuilder in the Windows command line.
The consequences were truly disastrous.
I have no sound in my computer ...
1
vote
1
answer
56
views
Changing Startup Type In Windows
I need to change the startup type for a Windows service to Automatic Delayed Start.
What I want to know is does this affect the 'log on as' at all?
For example if it is set to log on as another ...
0
votes
1
answer
35
views
Manually change Windows 8.1 service boot mode without access to OS
So recently I ran into a bit of trouble with the driver FVEVOL.SYS taking up large amounts of the CPU at random times, to fix this I disabled the service using the command prompt to stop the driver ...
0
votes
0
answers
2k
views
Cannot disable the WinHttpAutoProxySvc service
For something I am working on, I need to be able to stop and start the Dhcp Client service. However, when I attempt to do so through elevated command prompt I am greeted with System error 5 has ...
1
vote
1
answer
790
views
How do I determine which Windows services were recently disabled?
Does Windows 10 keep a log of when/which services were enabled/disabled?
How would a person locate this information?
Thanks!
1
vote
0
answers
207
views
Windows 10 Automatically disabling Hyper V after each restart
I want to work with Docker and Hyper V all the time. My Windows 10 is disabling the Hyper V automatically after each restart.
I had to run the following powershell command every time and restart again ...
0
votes
0
answers
180
views
Start Powershell WinUserLanguageList from Service
There is a command needed to switch the user language. To run this script, it is done by a Windows Service. This service runs in System previleges.
Problem is, when the service starts the Powershell ...
3
votes
1
answer
2k
views
How do you fix the Microsoft Service "Diagnostic Policy Service" taking up about 4GB memory and about 1 cpu core at 100%?
How do you fix the Microsoft "Diagnostic Policy Service" taking up about 4GB memory and about 1 cpu core at 100%?
I found out there is a process that keeps using up tons of CPU because my ...
0
votes
0
answers
317
views
What service controls when network connections are discovered?
I have recently upgraded to Win10 v.2004 and while the update itself seems to have gone without a hitch, I have a (bad?) habit of checking Services after a major update and doing some tweaks. Usually ...
4
votes
1
answer
2k
views
A privilege that the service requires to start doesn't exist in the Service Account
Using CarbonDLLs and sc config I am able to grant the user Logon As Service rights and also able to add the user as the Services' Log on as account.
Previously I was getting Logon Failure but after ...
1
vote
1
answer
2k
views
Windows Service, why are there no retries after failure after boot?
I have a Windows Service, for which I set up recovery options when the service fails (via the Services App, in the Recovery Tab of the Service Properties).
The options currently are set so that there ...
4
votes
1
answer
2k
views
Why doesn't SC QUERY show all services? Are some services hidden?
I'm trying to find out why a service is in STOP_PENDING state, but the service seems to be hidden.
It doesn't show up in a general sc query, nor in services.msc or in Powershell's Get-Service.
Here's ...
0
votes
1
answer
76
views
Set Windows Error Reporting (WER) service to "disabled"?
For non-ESU Windows 7 devices, is there any reason to have Windows Error Reporting (WER) service set to anything except "disabled"?
After all, those systems will not be receiving any more updates ...
0
votes
0
answers
563
views
Red 'X' image on Network Adapter Icon in Network Connections - Windows 10
Opened Network Connections window in Windows 10 v.1909 (Network and Sharing Center > Change Adapter Settings) only to find that my Primary Ethernet Adapter is displaying a Red 'X' as part of the icon:
...
0
votes
1
answer
141
views
How can I setup the Cygwin X server as a service?
I've read the Cygwin/X user's guide; I've installed Cygwin, the X-related packages, and am able to run X and apps on X.
However - that's all manual. I need to invoke startxwin and need to call xhost +...