Category filter
Set time server and time zone on Mac using configuration profile
Accurate time is crucial for a variety of functions on your computer, including ensuring that your files are properly stamped with the correct date and time and synchronizing events with other devices. Setting the correct time server and time zone ensures that SSL certificates are properly validated, and secure connections are established. Also, having accurate time and date settings can help ensure that all Macs in your organization use the same time and date information, which is important for tasks such as scheduling appointments, managing deadlines, and more.
However, setting the time server and time zone manually for each device can become a cumbersome process. Using custom configuration profiles for macOS devices, you can do so easily from your Hexnode UEM portal.
Set time zone and time server
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 |
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>PayloadContent</key> <array> <dict> <key>PayloadDescription</key> <string>Configures Time Server settings</string> <key>PayloadDisplayName</key> <string>Time Server</string> <key>PayloadIdentifier</key> <string>MacBook-Air.2C5A9723-BDD1-4A62-9088-56CCE6AF6B93</string> <key>PayloadOrganization</key> <string>Organization Name</string> <key>PayloadType</key> <string>com.apple.MCX</string> <key>PayloadUUID</key> <string>5BD459A1-8E73-45FC-AD5E-D93690D7BEBA</string> <key>PayloadVersion</key> <integer>1</integer> <key>timeServer</key> <string>time.apple.com</string> <key>timeZone</key> <string>Australia/Sydney</string> </dict> </array> <key>PayloadDescription</key> <string>Sets the time server and time zone</string> <key>PayloadDisplayName</key> <string>Set Time Server and Time Zone</string> <key>PayloadIdentifier</key> <string>MacBook-Air.2C5A9723-BDD1-4A62-9088-56CCE6AF6B93</string> <key>PayloadOrganization</key> <string>Organization Name</string> <key>PayloadScope</key> <string>System</string> <key>PayloadType</key> <string>Configuration</string> <key>PayloadUUID</key> <string>4298B8DF-B500-4966-B494-EC0A4B7FE23F</string> <key>PayloadVersion</key> <integer>1</integer> </dict> </plist> |
In the above configuration profile,
- Set the <key>timeServer</key> key to any valid Network Time Protocol (NTP) server that is used to set the time on macOS devices. For example, time.apple.com (Apple NTP server), stime.windows.com (Microsoft NTP server), etc.
- Set the <key>timeZone</key> key to any valid time zone that you want to use on macOS devices. For example, Asia/Kolkata, Europe/London, etc.