Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: datetime batch file?  (Read 4216 times)

0 Members and 1 Guest are viewing this topic.

rega83

    Topic Starter


    Starter

    • Experience: Beginner
    • OS: Unknown
    datetime batch file?
    « on: March 28, 2012, 03:15:23 PM »
    we have 3 client computers with a windows server ,,these computers have joined with the windows server through networking,some times the time will change on the client computers ,i want create a batch file(notepad) for time ,when i double click on the batch the time  will be equal with windows server time ,so how i do it?

    Squashman



      Specialist
    • Thanked: 134
    • Experience: Experienced
    • OS: Other

    Geek-9pm


      Mastermind
    • Geek After Dark
    • Thanked: 1026
      • Gekk9pm bnlog
    • Certifications: List
    • Computer: Specs
    • Experience: Expert
    • OS: Windows 10
    Re: datetime batch file?
    « Reply #2 on: March 28, 2012, 05:24:45 PM »
    Well, I don't understand why you don't want to use the exact time, which is a feature in most present windows OS  PCs with Internet aces.

    If a PC  fails  to keep time, it is either a  a security breach or a broken clock clock chip/crustal. Or maybe automatic time check was not enabled. But it is hard to imagine why anyone would want to do that.

    Squashman



      Specialist
    • Thanked: 134
    • Experience: Experienced
    • OS: Other
    Re: datetime batch file?
    « Reply #3 on: March 28, 2012, 05:28:05 PM »
    Geek, I believe he is trying to get the client computers that are joined to the domain to sync with the time of the server.

    Geek-9pm


      Mastermind
    • Geek After Dark
    • Thanked: 1026
      • Gekk9pm bnlog
    • Certifications: List
    • Computer: Specs
    • Experience: Expert
    • OS: Windows 10
    Re: datetime batch file?
    « Reply #4 on: March 28, 2012, 06:42:13 PM »
    Geek, I believe he is trying to get the client computers that are joined to the domain to sync with the time of the server.
    You are right. I mus read his problem. The link you provided should solve his problem. My bad.  :-[

    Rob Pomeroy



      Prodigy

    • Systems Architect
    • Thanked: 124
      • Me
    • Experience: Expert
    • OS: Other
    Re: datetime batch file?
    « Reply #5 on: March 29, 2012, 01:50:00 AM »
    Code: [Select]
    net time \\servername /set
    Only able to visit the forums sporadically, sorry.

    Geek & Dummy - honest news, reviews and howtos