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

Rowland Penny
Mon, 04 Aug 2025 10:11:22 -0000

On Mon, 4 Aug 2025 11:41:03 +0200
"CED Ing. Damiano Bolla via samba" <samba at lists.samba.org>
wrote:

> Good morning everybody
>
> this is samba Version 4.22.2-Debian-4.22.2+dfsg-1~bpo12+1

Yes, but what are you doing with it ?
How are you running Samba ?

>
> 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

That is a Windows command, so you could be trying to do something that
Samba does not understand.
Just what are you trying to achieve ?

>
> I did try to use samba-regedit to adjust
>
> /HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/Netlogon/Start
> and Type

You are running a Windows command (presumably on Windows), yet you seem
to be trying to fix the problem on Linux, have you tried editing the
register on the Windows machine ?

>
> 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 ?

You probably do have a working Samba, Though it may not be able to do
what you are trying to do, there may just be no code for it.

Rowland