Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sycronise Time

Status
Not open for further replies.

TheSponge

Technical User
Jul 2, 2003
442
GB
Please could someone let me know the command to syncronise all my desktops with the server time on logon?

I want to place it in my logon script...As they are all way out and I think its causing network problems.

Much appreciated

 
I solved this by putting the following line in the login script. I had further problems because we don't give users permission to change the time on their PC's here so it was a bit more aggy. If you're in the same boat I'll explain further.

"net time \\abcdef /set /yes"

PS abcdef refers to the servername


 
The above command is what you will want to use:

net time \\SERVERNAME /set /y

 
Windows 2000 and XP clients in an Active Directory domain will automatically sync their time with the DC that authenticates them.

The only clients you would need to script this for are 9x and NT clients.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top