All Questions
299
questions
16
votes
4
answers
66k
views
How to check whether a specific service exists using Powershell?
Introduction
According to this documentation it is possible to check which services have been stopped on Windows by executing the following command:
Get-Service | Where-Object {$_.status -eq "...
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 ...
1
vote
1
answer
1k
views
Windows 10 - Firewall - Outbound rule to allow access for one service hosted by svchost.exe
Initial question
Today, I'm stuck with a Windows Firewall problem and I hope you can help me.
I'm trying to create rules dedicated to services but I can't make them match.
I found some related topics ...
0
votes
1
answer
22
views
The definition and application of the word 'Shell' in computing
I have been researching and ended up going down a rabbit hole. My problem starts when I was reading this article: https://learn.microsoft.com/en-us/windows/application-management/svchost-service-...
0
votes
0
answers
1k
views
How can I execute "net start <service>" from SSH on a Windows Server 2016?
I installed an OpenSSH server on my Windows server. The new Windows "SSH server feature" did not appear at all (I tried it through the settings and the instructions form Microsoft to install it ...
2
votes
2
answers
7k
views
How to run WSL on Windows 11 boot as service
Postgres server on Debian should run on Windows 11 boot.
Debian was installed using
wsl --install Debian
Postgres in Debian using
sudo apt install postgresql-12
Created /etc/wsl.conf as described in ...
1
vote
1
answer
4k
views
Samba File Server not Working on Windows 10
since yesterday my Filesharing on Windows doesn't work. And the problem might that the SmbServer is not running at all. If I check netstat there is no process running on Port 445. Do you have an idea ...
0
votes
2
answers
5k
views
Windows service fails to start with custom user until started once with local user
All of a sudden my Windows service application after installation does not start. (Some services stop automatically if they have no work to do.)
The service uses a custom user. If I change the ...
0
votes
1
answer
124
views
cmd // stop service ONLY if it's running, otherwise declare a variable
I'd like to make a short script which:
Checks if specified services are running.
If they do then they should be stopped (otherwise declare variable/s for the last point).
Then there will be some code ...
0
votes
2
answers
7k
views
Services don't have MySQL Server. How to run it?
I need to run MySQL Server on a new for me laptop. There's Windows 7. And MySQL have been installed on it. In order to verify this, I opened the Programs and Features window and saw it there:
But ...
2
votes
1
answer
1k
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 &...
0
votes
1
answer
148
views
How do you kill a Windows Service with Cygwin?
I've found many questions/answers that document how to kill a Windows process in Cygwin, but I'm asking how to kill a Windows 10 service in Cygwin.
If the verb "kill" seems out of place for ...
0
votes
0
answers
302
views
Faults in Windows Updates Services and more on Windows 11
My friend's been having issues with his computer when trying to update to 23H2. Initially this started with a "Something went wrong. Try to reopen Settings later." message. After digging ...
1
vote
1
answer
2k
views
When can/should a Windows service Start type be "Boot" or "System" instead of "Automatic"?
While running the Services.msc GUI offers the ability to manually set a Windows service start type to Automatic, Automatic (Delayed start), Manual, or Disabled, the configuration of services is stored ...
0
votes
1
answer
185
views
Windows .Bat file behave differently when executed from command window and by double clicking on the bat file
batchfile is simple which has only two lines below, but behaves differently.
run from command window.
> sc \\server query | findstr SERVICE_NAME | find /c /v "" //result is 135
> ...