Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I need to set the local time on my windows xp machine to same as the time in my server which is Windows 2003 server. Is there a command to set that in command prompt?

Thanks

share|improve this question
add comment

2 Answers

From net help time:

NET TIME

[\\computername | /DOMAIN[:domainname] | /RTSDOMAIN[:domainname]] [/SET]

NET TIME synchronizes the computer's clock with that of another computer or domain, or displays the time for a computer or domain. When used without options on a Windows Server domain, it displays the current date and time at the computer designated as the time server for the domain.

\\computername — Is the name of the computer you want to check or synchronize with.

/DOMAIN[:domainname] — Specifies to synchronize the time from the Primary Domain Controller of domainname.

/RTSDOMAIN[:domainname] — Specifies to synchronize with a Reliable Time Server from domainname.

/SET — Synchronizes the computer's time with the time on the specified computer or domain.

(Sorry, it's from Windows 7, but the general workings and options are the same for XP.)

share|improve this answer
add comment

If you want a permanent solution, you should set up a time server on the server.

See this link.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.