Net Time

  • Thread starter Thread starter Tim Kowal
  • Start date Start date
T

Tim Kowal

What is the common/best way to configure your first/only AD server to a time
server? I've never found a better way than just making like a scheduled task
to run a batch file. There must be something i'm missing?

Tim
 
In a command prompt - net time /sntp:<name of public time server>
 
Problem is, this command isn't persistent, is it? When I reboot my server, I
have to tell my server to do this again, right? Isn't there a registry
setting or some such thing?

"Lanwench [MVP - Exchange]"
 
Tim said:
Problem is, this command isn't persistent, is it?

Yes, it is.
When I reboot my
server, I have to tell my server to do this again, right?

No, you don't.
Isn't there
a registry setting or some such thing?

No - when you reboot, if you want to check, try

net time /querysntp
to see what the time server is set to - the settings should have stuck.
"Lanwench [MVP - Exchange]"
In a command prompt - net time /sntp:<name of public time server>
 
If that's the case, it's good enough for me!

"Lanwench [MVP - Exchange]"
Tim said:
Problem is, this command isn't persistent, is it?

Yes, it is.
When I reboot my
server, I have to tell my server to do this again, right?

No, you don't.
Isn't there
a registry setting or some such thing?

No - when you reboot, if you want to check, try

net time /querysntp
to see what the time server is set to - the settings should have stuck.
"Lanwench [MVP - Exchange]"
In a command prompt - net time /sntp:<name of public time server>

Tim Kowal wrote:
What is the common/best way to configure your first/only AD server
to a time server? I've never found a better way than just making
like a scheduled task to run a batch file. There must be something
i'm missing?

Tim
 
As the old saw goes, sixty million admins can't be wrong. ;-)


Tim said:
If that's the case, it's good enough for me!

"Lanwench [MVP - Exchange]"
Tim said:
Problem is, this command isn't persistent, is it?

Yes, it is.
When I reboot my
server, I have to tell my server to do this again, right?

No, you don't.
Isn't there
a registry setting or some such thing?

No - when you reboot, if you want to check, try

net time /querysntp
to see what the time server is set to - the settings should have
stuck.
"Lanwench [MVP - Exchange]"
message In a command prompt - net time /sntp:<name of public time server>

Tim Kowal wrote:
What is the common/best way to configure your first/only AD server
to a time server? I've never found a better way than just making
like a scheduled task to run a batch file. There must be something
i'm missing?

Tim
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top