Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 859
  • Last Modified:

Current time on computer and current time on network are different.

To access our company servers, I would remote-in (RDP) to the box and gain control from my work desktop.  Our server is located a couple of hours away from the office and driving there would be my last option.

Anyway, I control three of our server, x.xxx.x.11 (domain-a virtual serverVM), x.xxx.x.12 (exchange-VM), (x.xxx.x.13- host box + backup device).  When I try to remote logon to the .13 server I would get this message, "The current time on the computer and the current time on the network are different."  The rest of the servers  (.11 and .12) i am able to log in no problem.  I even tried remoting to the the .13 from the .11 but no success.   I checked the time using the command line net time \\x.xx.x.11 and net time \\x.xx.x.13 and found a difference of 5 minutes.  Now i don't know how to remotely fix the differences.  
I found a command line that  would syncronize to gov and millitary standards but they did not change the differences ex.  net time /setsnt:time.nist.gov then net time /setsntp:\\x.xxx.x.11 .  but to no avail.

when i typed the following command line:  net time /querysntp
I get My current SNTP value: NAS   (which is the server i cannot connect to).  

the functions are fine, i just need access to that particular server for maintenance purpose.  
0
hidalgodlhs
Asked:
hidalgodlhs
  • 3
  • 2
5 Solutions
 
lavinpj1Commented:
net time \\x.x.x.13 /set /yes

Phil
0
 
coredatarecoveryCommented:
I would agree with phil, as long as the server is at .13 and is a windows server.

if the command line works, you can wrap it into a batch file and put it into the windows scheduled tasks and set it to every day.

(you may have to turn off updates from the internet time servers if the server is not updating from the internet as well)

but, putting the command into a batch file on the server, syncing it with an online authority on a regular schedule should solve this.
0
 
lavinpj1Commented:
"but, putting the command into a batch file on the server, syncing it with an online authority on a regular schedule should solve this."

The command above is the best I could find. I know Windows can sync with NTP servers through the Time & Date settings dialogue however I was unable to make it do such from the command line. If you could enlighten us on how to sync from a public NTP server from the command line, it'd help both the user and me.

Phil
0
What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

 
hidalgodlhsAuthor Commented:
That command line  solved that time difference issue.  

Now I have a new problem/ new error:  

"Windows cannot connect to the domain, either because the domain controller is down or otherwise unavailable, or because yuo computer account was not found.  Please tyr again later....."

Ping this server and it is alive.  I know that it is up and running because it is hosting two VM server that are running smoothly.    So do you have any idea if this is an account issue?  something i could fix in AD?  or other command line to remotely communicate with this x.x.13 server?  

0
 
coredatarecoveryCommented:
http://support.microsoft.com/kb/875424/en-us

Will sync your time on the server from the internet time source.
(from a command line as well)
0
 
lavinpj1Commented:
As per the site guidelines, I suggest you allocate the points for this question and move your new question to a new thread - you'll likely get more answers that way.

Phil
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Improve Your Query Performance Tuning

In this FREE six-day email course, you'll learn from Janis Griffin, Database Performance Evangelist. She'll teach 12 steps that you can use to optimize your queries as much as possible and see measurable results in your work. Get started today!

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now