Service Tweaks XML Question & Question about Boot vs System

bseklecki

New Member
All:

Win Server 201x Question (2016, v1607 in my case):

In the XML for saved configuration presets, the value for <Tweak> maps to Boot or System?

What are the numerical equivalencies? 4 Is Disabled if I believe.

I ask because I've had some trouble relating the config values from the services.msc GUI vs the WMI/SC command lines for editing services.




<Services>
<TweakGroup name="services">
<Tweak name="fdPHost\fdPHost">0</Tweak>
<Tweak name="FDResPub\FDResPub">0</Tweak>
<Tweak name="SSDPSRV\SSDPSRV">0</Tweak>
<Tweak name="W32Time\W32Time">0</Tweak>
<Tweak name="wuauserv\wuauserv">4</Tweak>
<Tweak name="XblAuthManager\XblAuthManager">4</Tweak>
<Tweak name="XblGameSave\XblGameSave">4</Tweak>
</TweakGroup>

Vs WMI/SC.exe documentation:


start= {boot | system | auto | demand | disabled | delayed-auto}Specifies the start type for the service.
boot - Specifies a device driver that is loaded by the boot loader.
system - Specifies a device driver that is started during kernel initialization.
auto - Specifies a service that automatically starts each time the computer is restarted and runs even if no one logs on to the computer.
demand - Specifies a service that must be started manually. This is the default value if start= is not specified.
disabled - Specifies a service that cannot be started. To start a disabled service, change the start type to some other value.
delayed-auto - Specifies a service that starts automatically a short time after other auto services are started.
 

Attachments

  • example_Services.png
    example_Services.png
    18.5 KB
  • Microsoft_Services_buggered_sideways.png
    Microsoft_Services_buggered_sideways.png
    50.1 KB
Last edited:

lenkarin

Member
Windows Services has 4 types of configurations here are these configurations:
0 - Boot
1 - Automatic (Delayed Start)
2 - Automatic
3 - Manual
4 - Disabled

Probably this is for Extra Services available in NTLite, may nuhi could confirm this, but for the windows services this is the configurations available.
 

bseklecki

New Member
So I think I'm beginning to understand what is going on here.

I had some services that were corrupted after installation (W32tm, etc.) I was able to fix W32tm with:
- w32tm /unregister
- reboot
- w32tm /register
- reboot
- w32tm /config [...]
https://superuser.com/questions/1236850/w32tm-does-not-exist-as-an-installed-service

Best guess on root-cause:

0/Boot is a value that is only available to "Driver Services"; not normal "System Services"

But that is not a valid value for the services that I need to modify.

"[On] Demand" is not a value mapped into NTLite yet.
 

lenkarin

Member
So I think I'm beginning to understand what is going on here.

I had some services that were corrupted after installation (W32tm, etc.) I was able to fix W32tm with:
- w32tm /unregister
- reboot
- w32tm /register
- reboot
- w32tm /config [...]
https://superuser.com/questions/1236850/w32tm-does-not-exist-as-an-installed-service

Best guess on root-cause:

0/Boot is a value that is only available to "Driver Services"; not normal "System Services"

But that is not a valid value for the services that I need to modify.

"[On] Demand" is not a value mapped into NTLite yet.
you could specify the service in the post setup, with cmd command or just importing .bat file
 
Top