How to temporarily stop time syncing with domain controller?
Open the registry editor (regedit
), navigate to:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Parameters
Find the REG_SZ
value named Type
. Edit the value to NoSync
. Set it back to Nt5DS
when you need to sync with the domain hierarchy again.
You can do this from the command line by calling
reg add HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Parameters /v Type /d NoSync /f
or in PowerShell, with:
Set-ItemProperty HKLM:\SYSTEM\CurrentControlSet\services\W32Time\Parameters -Name "Type" -Value "NoSync"
Disable the Windows Time service or block the outbound port 123 on your local firewall.