1.

Solve : Batch or Command to set computer time remotely...?

Answer»

I'm working on a small network (~8 computers) that is not connected to the internet. We are developing this network with two servers and a datalog computer. Recently I've been working on ensuring the time on all the computers is synchronized.

I have all the computers now synching together at 4am everyday via Microsoft Scheduler that simply runs a batch file on every computer that contains the command:

Code:
 
net time \\datalogcomputer /set /ysimple enough and works.

But now I want to create a file that can sych all of the computers manually. So that from any computer I can run the batch and have them all sync up. I've been looking around and can't seem to find anything that can push the time onto networked computers. Even trying to run the "net time" file simply syncs your time with the datalogcomputer not the remote one.

Does anyone have any suggestions as to how I can accomplish this?

Please help.
THANKS. Have you already looked at the MS KB? This kind of thing was resolved some time ago. Is there some reason you can not use the RECOMMENDED solution?
Article ID: 307897 - Last Review: October 18, 2007 - Revision: 1.10
How to synchronize the time with the Windows Time service in Windows XP

Quote

If the computers belong to an Active Directory domain, the Windows Time service configures itself automatically by USING the Windows Time service that is available on domain controllers. The Windows Time service configures a domain controller in its domain as a reliable time source and synchronizes itself periodically with this source. You can modify or overwrite these settings, depending on your specific needs.
After reading you post again and again, It seems you want to set the time on all computers from none console. There requires a remote execution program. For XP  you could use:
Rexec
Runs commands on remote computers running the Rexec service (daemon). The rexec command authenticates the user name on the remote computer before executing the SPECIFIED command. Windows XP and Windows 2000 do not provide the Rexec service. Used without parameters, rexec displays help.
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/rexec.mspx?mfr=true

You will have to find it and install it on .your computers.
http://www.theether.org/rexec/
Sorry I can not help you with using Rexec. Please read the links abut. It is said to work onX P, but is not part of the regular XP tools. You have to download it and install it.
Alternate:
http://www.codeproject.com/KB/system/remoteexec.aspx


Discussion

No Comment Found