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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

net time /domain:domainname /set /yes

Status
Not open for further replies.

ssphoenix

IS-IT--Management
Joined
Jan 22, 2001
Messages
306
Location
US
I am trying to sync the PC time against the PDC/BDC and for some reason the net time /domain:domainname /set /yes
is ignored.

I've tried also the net time \\domainname /set /yes

It work find from the workstation but when I include this line into my login script, it is not executed.

Thanks
 
try
net time \\ServerName /SET /YES I have not failed, I just found 10000 ways that don't work

Peter Van Eeckhoutte
peter.ve@pandora.be

Did this post help ? Click below to let me know ;-)
 
Thanks Peter for your replay. However, it does not work either. I've used this statement before also. The funny thing is I have a pause right after the net time command to see if the time has indeed syncronized. i.e...

rem testing...
Net time \\servername /SET /YES
Pause
Net Use ....
Net Use ...
Pause

It does stop at the last pause but ignores the first one along with the time sync.

thanks for help.


Stefan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top