2

I have two services in my Windows 10 PC. These are set as "manual" startup because they are a webserver and a database and I don't want to start them if I don't want to develope.

I found that sometimes they are running when windows starts other times I have to manual startup. Why I found them running? Is windows 10 managing something like a fast shutdown-bootup? Consider that I always use "Shutdown" buttun and I never use standby, hibernate or suspend.

6
  • The default in Windows 10 is to treat "Shut Down" as "Hibernate". – AFH Jun 28 '17 at 19:49
  • Really??? Can I avoid this or force a service to -really- shutdown when I power off the PC? – Tobia Jun 28 '17 at 19:51
  • 1
    Yes, just follow these instructions to disable fast restart (which is equivalent to hibernate). If it's not already enabled, you may want to show Hibernate in the shut-down menu, so you still have the option. – AFH Jun 28 '17 at 20:36
  • Manual startup services can be started "automatically" (ie at boot time) if other services depend on them. Dependencies are set up in the various services' subkeys in the registry. – Jamie Hanrahan Jun 29 '17 at 3:26
  • Manual startup services are started "automatically" (ie at boot time) if other services that are set for automatic start depend on them. e.g. if service A is automatic, B is manual, and A depends on B, then when the Service Manager decides "oh, I should start A", it finds that A needs B, so it starts B first. In effect B gets "promoted" to automatic start. Dependencies are set up in the various services' subkeys in the registry, with the DependOnService value. You may also see DependOnGroup but this doesn't "promote" anything and is commonly only used for kernel drivers (Type < 0x10). – Jamie Hanrahan Jun 29 '17 at 18:36
0

Use a Script to shut down your computer, you have a few options:

shutdown.exe /s /f /t 0 /d p:2:4

this shuts down the PC the old way without fast boot which is now the default when using the GUI. This makes booting slower.

Keeping fast boot, you can stop your services first and then shut down the Windows 10 way:

net stop webService
net stop databaseService
shutdown.exe  /s /f /t 0 /hybrid /d p:2:4

notice the /hybrid switch for the shutdown command, this is for using fast boot.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.