I have one PC running Windows XP Professional on a workgroup and another PC running Windows 7 Professional. I want the XP machine to be in time sync with the Windows 7 PC. I have disabled the firewall on connections between the two PCs.
On the Windows 7 PC I started the Windows Time service.
On the XP machine I ran the command NET TIME\W7machine and got error:
System error 5 has occurred.
Access is denied.
Can anyone help?
UPDATE I followed these steps: Click Start, click Run, type regedit, and then click OK. Locate and then click the following registry entry: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Config\ In the right pane, right-click AnnounceFlags, and then click Modify. In the Edit DWORD Value dialog box, under Value data, type 5, and then click OK. Enable NTPServer. Locate and then click the following registry subkey: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\NtpServer\ In the right pane, right-click Enabled, and then click Modify. In the Edit DWORD Value dialog box, type 1 under Value data, and then click OK. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\VMICTimeProvider\ In the right pane, right-click Enabled, and then click Modify
from http://windows7forums.com/tweaks-guides-howto/43921-windows-7-authoritative-time-server.html
and then on Windows 7 PC, instead of using NET TIME command I instead set the internet time server in Date/Time settings on XP PC to hostname of Windows 7 machine. It is possible I didn't need the registry tweaks, but I did that before thinking about the Date/Time section on XP.