Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

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 ...
superfractal's user avatar
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 ...
ETL's user avatar
  • 381
2 votes
2 answers
307 views

What do the service values "CHECKPOINT" and "WAIT_HINT" mean?

I'm trying to troubleshoot some issues with a service, including a service not starting up properly. So I typed the command sc queryex <servicename> (documentation here). Most of the results are ...
Benjamin Krausse DB's user avatar
4 votes
1 answer
9k 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 ...
alexandrosangeli's user avatar
1 vote
1 answer
1k 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 ...
StackBuck's user avatar
  • 165
0 votes
1 answer
1k 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 ...
imaheshwaran s's user avatar
4 votes
1 answer
4k 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 ...
pbarney's user avatar
  • 763
0 votes
0 answers
501 views

How to change applications name after starting the applications. windows

Hey i'm wondering if it's possible to rename a proccess's name after opening it, i'm not talking about display name (the window title), I mean say for example google chrome. If I opened it, it'd be ...
leak's user avatar
  • 1
1 vote
1 answer
52 views

What Windows 7 services are responsible for automatically increasing free disk space?

On a Windows 7 box, the system partition is low on free space. It typically hovers around 4GB free. About once a week, I've been told the system partition "magically" increases its free space to ...
End Antisemitic Hate's user avatar
0 votes
0 answers
123 views

Windows Service dependency not respected

I have two windows services installed in Windows 7 environment: Tomcat Webserver MariaDB database These services have dependency relationship, Tomcat depends on MariaDB. When I shutdown windows I ...
Tobia's user avatar
  • 2,311
5 votes
1 answer
3k views

Delivery Optimization Service can't be disabled after the last Windows 10 Update

I'm always disabling this service because it keeps using my whole bandwidth.. but after the October update, there is like a restriction or something because when I tried to disable it using the ...
Yox's user avatar
  • 187
-2 votes
1 answer
141 views

Scheduling starting a service before another service

I have a service that needs to be started only BEFORE another 3rd party service who's Startup Type is Automatic. How is this possible.
Muhammad Rizwan's user avatar
2 votes
2 answers
831 views

What determines which services svchost.exe hosts?

When viewing processes under Process Explorer, there is services.exe, which has several svchost.exe subprocesses. Each of these hosts one or more services. However, selection of services in single ...
user694733's user avatar
0 votes
2 answers
6k views

The State Repository Service service terminated with the following error: The system cannot find the file specified

I have started getting weird behaviour on my Windows 10 laptop, without really changing anything myself. For example, it's much slower, the start menu won't open and the powershell throws some error ...
Vlad Schnakovszki's user avatar
8 votes
1 answer
16k views

How to Create Local Windows Desktop Service Accounts?

Question: In Windows Home / Professional, (Windows 10), what is the recommended way to create a Local Service Account? Is there any documentation for this? (Powershell, GUI, etc). Clarification: ...
elika kohen's user avatar

15 30 50 per page