Happy Independence Day from all of us at the Connect IT Community! Our US offices will be closed on Monday, July 4th, 2022 in recognition of the holiday. Limited Support staff in the US will be on-call and available for critical Service(s) Down issues only. Normal Support operations in the US will resume on Tuesday, July 5th, 2022.

Gather Agent Timezone Offset

Kaseya Automation Team
Kaseya Automation Team USMember, Kaseya Certified CHOCOLATE MILK
edited January 24 in Solutions

Product Name: Gather Agent Timezone Offset

Description : The procedure will download and run the ntp.exe application.

This returns the time difference, in seconds, between the system time and an internet time server.

By default it will use "pool.ntp.org", but this can be changed on line 3

The result is stored in the custom field.

The results are also stored in the Procedure Log with the format timeDiff: #agentName#: = X seconds.

Instructions :

1. Create custom field - "timeDiff (s)"
2. Copy ntp.exe to x:\kaseya\managedFiles\VSASharedFiles
3. Import agent Procedure

Comments

  • Craig Hart
    Craig Hart Member DECAF
    edited November 2020

    The VSA collects timezone info already. it's visible in quickview.


  • Eric den Ouden
    Eric den Ouden NetherlandsMember, Managed Service Provider CHOCOLATE MILK

    I saw this procedure referenced in a question if Kaseya could determine what timezone a computer is in. This only tells you the difference between internet time and the actual time on the computer for the timezone you selected. But if the computer is actually in a different timezone. Would it be possible to use the external IP, compute a geo tag location and have two custom fields with the timezone that's set in Windows and the timezone the geo tag finds...

Weekly Leaderboard