Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Tuesday, April 2, 2019 2:47 PM
Hi,
How to force client to get time or time zone from Windows server by DHCP?
I have currently set time zone in DHCP (Scope Options > 004 Time Server), server name and IP: DHCP server, but clients can gets only IP and DNS and DHCP and time zone hasn't changed.
All replies (15)
Wednesday, April 3, 2019 2:19 AM
Hi,
You should use option 042 to set time zone.
Option 004 specifies servers that provide TIME/ITP (as per RFC 868). This is not a recommended protocol/service in a Windows environment.
Option 042 specifies servers that provide NTP/SNTP (RFC 1769). This is the preferred time service in a Windows environment (assuming the absence of Active Directory which maintains the time on your behalf).
Best regards,
Travis
Please remember to mark the replies as an answers if they help.
If you have feedback for TechNet Subscriber Support, contact [email protected]
Wednesday, April 3, 2019 3:33 PM
Hi,
I did that but client's time didn't change. I don't have Active Directory on my windows server.
Should I do anything else?
Thursday, April 4, 2019 9:21 AM
Hi,
What about 002 Time Offset option.
This sets the offset from the UCT time zone in Greenwich, UK. This allows a host to calculate which time zone it is in from DHCP alone.
Best regards,
Travis
Please remember to mark the replies as an answers if they help.
If you have feedback for TechNet Subscriber Support, contact [email protected]
Thursday, April 4, 2019 11:38 AM
I did that but not working.
Should I enter any specific details on "Data entry > Long" from Time Offset? The current value is 0x0
Saturday, April 6, 2019 3:57 PM
Any reply?
Monday, April 8, 2019 3:33 AM
Hi,
Sorry for late reply.
Please refer to the article to calculate the hexadecimal value for DHCP Option 2:
Best regards,
Travis
Please remember to mark the replies as an answers if they help.
If you have feedback for TechNet Subscriber Support, contact [email protected]
Friday, April 12, 2019 5:40 AM
Hi,
Just checking in to see if the information provided was helpful.
Please let us know if you would like further assistance.
Best Regards,
Travis
Please remember to mark the replies as an answers if they help.
If you have feedback for TechNet Subscriber Support, contact [email protected]
Wednesday, April 17, 2019 6:59 AM
Hi,
Just checking in to see if the information provided was helpful.
Please let us know if you would like further assistance.
Best Regards,
Travis
Please remember to mark the replies as an answers if they help.
If you have feedback for TechNet Subscriber Support, contact [email protected]
Not check yet, will check today and will let you know.
Wednesday, April 17, 2019 3:38 PM
Hi,
Sorry for late reply.
Please refer to the article to calculate the hexadecimal value for DHCP Option 2:
Best regards,
Travis
Please remember to mark the replies as an answers if they help.
If you have feedback for TechNet Subscriber Support, contact [email protected]
It does not accept these values.
When I enter those value and press OK, when I open it again there is the previous value (0x0)
Thursday, April 18, 2019 9:29 AM
Hi,
Do you insist on using DHCP to configure the time zone?
I would suggest you configure time zone on clients.
Best regards,
Travis
Please remember to mark the replies as an answers if they help.
If you have feedback for TechNet Subscriber Support, contact [email protected]
Sunday, April 21, 2019 3:00 PM
Hi,
Do you insist on using DHCP to configure the time zone?
I would suggest you configure time zone on clients.
Best regards,
Travis
Please remember to mark the replies as an answers if they help.
If you have feedback for TechNet Subscriber Support, contact [email protected]
Hi,
Imagine we have 1000 clients, how to configure timezone one by one? Dont you think its time consuming?
Monday, April 22, 2019 9:54 AM
Hi,
According to the fact, I would suggest you use script to configure timezone.
You can find script you need from script center:
https://gallery.technet.microsoft.com/
https://gallery.technet.microsoft.com/scriptcenter/site/requests
Best regards,
Travis
Please remember to mark the replies as an answers if they help.
If you have feedback for TechNet Subscriber Support, contact [email protected]
Tuesday, April 23, 2019 4:17 PM
Hi,
According to the fact, I would suggest you use script to configure timezone.
You can find script you need from script center:
https://gallery.technet.microsoft.com/
https://gallery.technet.microsoft.com/scriptcenter/site/requests
Best regards,
Travis
Please remember to mark the replies as an answers if they help.
If you have feedback for TechNet Subscriber Support, contact [email protected]
Hi,
But I want to do this by DHCP, no any scripts
Wednesday, April 24, 2019 8:38 AM
Hi,
To use DHCP option 042, you need to select a server to be the NTP server.
Please refer to the link below:
Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.
Then you can assign the option by DHCP.
Best regards,
Travis
Please remember to mark the replies as an answers if they help.
If you have feedback for TechNet Subscriber Support, contact [email protected]
Friday, September 27, 2019 4:03 PM
An NTP server provides time, not timezone information. Timezone needs to be setup in a different way, either group policies (for domain joined devices), or DHCP options for clients that use dhcp IP addresses and do not receive GPOs.
As I understand, DHCP provides time in UTC, and you can use option 002 to add your prefered time offset
https://supportforums.adtran.com/docs/DOC-5494
For domain joined devices, this is the guide I used https://dennisspan.com/configuring-the-time-zone-and-code-page-with-group-policy/
Olivier