winutil icon indicating copy to clipboard operation
winutil copied to clipboard

netlogon service will be set to manual but it's needed by windows time sync service (in domain environment)

Open popy2k14 opened this issue 3 years ago • 7 comments

Describe the bug netlogon service will be set to manual but it's needed by windows time sync service (in domain environment)

To Reproduce Steps to reproduce the behavior:

  1. run tweaks (netlogon is set to manual)
  2. Reboot
  3. In windows settings under "Date/Time" you can see a source "CMOS clock" for timesync
  4. time sync from DC is not working

Expected behavior Not disable netlogon in domain environments

Screenshots

Additional context It would be nice if there would be an detection, if the computer is joined to a domain and skip some parts of the tweaks.

PS.: i know that normally you do such tweaks with GPO on the DC, but hey i have local admin rights and want to tweak my PC like i would :-)

popy2k14 avatar Nov 30 '23 08:11 popy2k14

Made a commit request to just remove netlogon from being touched by script, as according the script, it should already be manual on clean systems, so it seems redundant to touch it again especially if it may cause an issue...

lavavex avatar Nov 30 '23 15:11 lavavex

In my case it was "manual" and not started, when needed by windows time sync service! I think it was set to manual by the script (on other machines, where the script was not executed, it is on "auto"). After setting it manually to "auto" and started it manually, windows time sync service worked again, against the DC.

So yes, dont touch "netlogon" would be nice.

PS.: thx fot the pull request.

popy2k14 avatar Nov 30 '23 16:11 popy2k14

In my case it was "manual" and not started, when needed by windows time sync service! I think it was set to manual by the script (on other machines, where the script was not executed, it is on "auto"). After setting it manually to "auto" and started it manually, windows time sync service worked again, against the DC.

So yes, dont touch "netlogon" would be nice.

PS.: thx fot the pull request.

all good, it was something i could do with no knowledge of how to code... now to hope i dont get flamed for pulling to main as test branch is non existant

lavavex avatar Nov 30 '23 16:11 lavavex

In my case it was "manual" and not started, when needed by windows time sync service! I think it was set to manual by the script (on other machines, where the script was not executed, it is on "auto"). After setting it manually to "auto" and started it manually, windows time sync service worked again, against the DC. So yes, dont touch "netlogon" would be nice. PS.: thx fot the pull request.

all good, it was something i could do with no knowledge of how to code... now to hope i dont get flamed for pulling to main as test branch is non existant

That's what I did so we're in the same boat :)

munkk01 avatar Nov 30 '23 16:11 munkk01

Netlogon has been changed to be set to Automatic in new test branch per PR #1220 being merged

lavavex avatar Nov 30 '23 20:11 lavavex

This is on test and will be merged to main branch soon.

ChrisTitusTech avatar Dec 03 '23 23:12 ChrisTitusTech

Thanks a lot for fixing/merging this so fast.

popy2k14 avatar Dec 04 '23 05:12 popy2k14