Skip to main content
Question

Remotely set time server

  • May 7, 2018
  • 30 replies
  • 182 views

Show first post

30 replies

DBrowning
Forum|alt.badge.img+25
  • Esteemed Contributor
  • July 7, 2020

@maximilian.heyne what are the popups that you are getting?


Forum|alt.badge.img+1

@DBrowning in Outlook for example i get "Do you want to update the local time zone". I set the policy to once per user per computer as the option is set after this, so the user only gets the pop up once.


Forum|alt.badge.img+7
  • Contributor
  • June 21, 2021

Hello everybody,

does someone have a script which also works under Big Sur? The @DBrowning script no longer works properly. The System Integrity Protection blocks here. I get the following error message:

Script result: Network Time is already off.
Set TimeZone: Europe/Berlin
setNetworkTimeServer: time.apple.com
/System/Library/LaunchDaemons/com.apple.locationd.plist: Operation not permitted while System Integrity Protection is engaged
Unload failed: 150: Operation not permitted while System Integrity Protection is engaged
/System/Library/LaunchDaemons/com.apple.locationd.plist: service already loaded
Load failed: 37: Operation already in progress
setUsingNetworkTime: On
Time Zone: Europe/Berlin
Network Time Server: time.apple.com


talkingmoose
Forum|alt.badge.img+36
  • Community Manager
  • June 21, 2021

I have a "macOS Time" manifest on GitHub that will let you set a time server using a configuration profile. You can add multiple time servers in the format time.apple.com.,pool.ntp.org. (each server ending with a period and separated by a comma).

You'll find the manifest here: https://github.com/Jamf-Custom-Profile-Schemas/jamf-manifests

And instructions here: https://github.com/Jamf-Custom-Profile-Schemas/jamf-manifests/wiki


Forum|alt.badge.img+1
  • New Contributor
  • January 15, 2022

I have a "macOS Time" manifest on GitHub that will let you set a time server using a configuration profile. You can add multiple time servers in the format time.apple.com.,pool.ntp.org. (each server ending with a period and separated by a comma).

You'll find the manifest here: https://github.com/Jamf-Custom-Profile-Schemas/jamf-manifests

And instructions here: https://github.com/Jamf-Custom-Profile-Schemas/jamf-manifests/wiki


Thanks for getting me started, but even after creating the profile and scoping to a machine (testing on 10.14), I can see the profile is applied, but the box for "set date and time automatically" is not checked. And of course, the time and time zone are therefore not corrected. Is this an attribute that needs to be added?