[Samba] Invalid service type: NETLOGON on VDCE, current value WIN32_OWN_PROCESS, expected value WIN32_SHARE_PROCESS

CED Ing. Damiano Bolla
Mon, 04 Aug 2025 09:41:03 -0000

Good morning everybody

this is samba Version 4.22.2-Debian-4.22.2+dfsg-1~bpo12+1

Invalid service startup type: NETLOGON on VDCE, current value
DEMAND_START, expected value AUTO_START

the above "errors" appears by doing

PS C:\WINDOWS\system32> .\dcdiag.exe /s:vdce /q

I did try to use samba-regedit to adjust

/HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/Netlogon/Start and
Type

but ... it is not clear if and how I can change the current default values

Start=2

Type=16

Is there a value for start and type that will make the above dcdiag
errors disappear AND have a working samba ?

Thank you all for any help

--
CED Ing. Damiano Bolla
0444 720234