- Why does the problem go away when enabling Remote Desktop in Windows 10 Pro without ever setting FDResPub to Automatic ?
In Settings, if you enable Remote Desktop, there is a checkbox that says "Make my PC discoverable on private networks". So i guess in that case, each time when Remote Desktop is initialized, there is a query if this checkbox is marked and if so, the trigger of FDResPub is activated, making the machines visible. And it fails to activate if Remote Desktop is disabled.
Again, not all machines are affected by this problem, I have 5 machines with the same default setting, only 2 of those machines exhibit the issue, ( Remote Desktop disabled on all 5 ).
Why would the same trigger work fine on 3 machines and fail just on 2 ?
From what I've seen it looks more like a timing issue of when the FDResPub is actually started.
Even on the 2 failing machines the problem is intermittent with windows 10 1903 and 1909, while it fails every time with 20H1 build 19033.1.
The setting is all the same and the triggerinfo for FDResPub is the same on all machines.
C:\WINDOWS\system32>sc qtriggerinfo FDResPub
[SC] QueryServiceConfig2 SUCCESS
SERVICE_NAME: FDResPub
START SERVICE
CUSTOM : fbcfac3f-8460-419f-8e48-1f0b49cdb85e [ETW PROVIDER UUID]
DATA : PROFILE_CHANGED_TO_PRIVATE
C:\WINDOWS\system32>