Many thanks to all those who posted answers previously. FYI, I install this using my RMM tool instead of Jamf, so there might be some extra code that's not relevant to Jamf. ![]() To close the loop on this, I spent a fair amount of time on the phone with TeamViewer support and came up with the script below. This means you are free to update your TeamViewer (Classic) easily when a new version is available to ensure you are always working with the latest version of TeamViewer (Classic). A TeamViewer subscription plan includes all updates, both major and minor. This is achieved by the creation of a secure data tunnel or virtual point-to-point access between the host and the client. English TeamViewer currently provides new updates to its software every month. In this case, the existing assignment was removed, but i found no way to assign them to the new account without removing the existing client first and installing the new custom client. VPN TeamViewer has a built-in VPN service that allows you to connect to a device to share windows file shares and to share printers. This has worked for the most clients, but unfortunately not for those clients with a different custom host installed and assigned to a different account. $ -api-token "$tv_apiToken" -alias "$tv_hostname" -group "$tv_group"Įcho "$(date): Waiting for TeamViewer to start" Double click on the file to start the installation process and you will see TeamViewer Host Installer come up, select Install TeamViewerHost to proceed. Tv_hostname="$(hostname -s) | $(id -P $(stat -f%Su /dev/console) | cut -d : -f 8)" If using Safari, you should see a Install TeamViewerHost-xxxxxxxxxx.dmg file download in Downloads on your software bar which you can locate in the Downloads folder with Finder. Tv_assignmentHelper="/Applications/TeamViewerHost.app/Contents/Helpers/TeamViewer_Assignment" usr/sbin/installer -pkg "$downloadFilePath" -appl圜hoiceChangesXML "choices.xml" -target /Įcho "$(date): Run Teamviewer assignment" usr/bin/curl -location -silent -o "$downloadFilePath" "$downloadUrl"Įcho "$(date): Installing Teamviewer Host Application"Įcho "$(date). # change directory to temporary working directoryĮcho "Changing directory to working directory "$tempDirectory""Įcho "$(date): Downloading Teamviewer Host Application" TempDirectory=$( /usr/bin/mktemp -d "/private/tmp/$workDirectory.XXXXXX" )ĭownloadFilePath="TeamviewerHost-idc$tv_customID.pkg" # Parameter $5 = Teamviewer assignment API tokenĮcho "$(date): No teamviewer configuration id provided."Įcho "$(date): No teamviewer api token provided."Įcho "$(date): Creating working directory" # Parameter $4 = Teamviewer configuration ID # Provide configuration details via jamf parameter:# # Runs the TeamViewer Assignment Tool after the installation ![]() # Downloads and installs latest TeamViewer Host with custom configuration Is there a more reliable way to assign the device in TeamViewer? ![]() Sometimes it works, sometimes it does not. I have added a 'sleep' and increased the '-wait' parameter, both without success. The download and installation part works great, but the assignment isnt working reliable. I have a problem with my TeamViewer Installation script.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |