Set “VER=C:\users\public\desktop\TeamViewer 13 Host.lnk” REM Check if TeamViewer 13 is already installed (crude test that may not work for everyone). If “%ERRORLEVEL%”=”0” (GOTO :CHECK) ELSE (GOTO :END) Tasklist /FI “IMAGENAME eq TeamViewer.exe” 2>NUL | find /I /N “TeamViewer.exe”>NUL offREM Check for running TeamViewer processes.Here is an example of a script for removing 圆4 versions of older TeamViewer versions: Run a GPO with a script to completely remove TeamViewer first.If you’re like me, where the customer used a new TeamViewer ID to sign up for the upgraded version, you’ll need to completely uninstall TeamViewer host on all workstations and then re-install.
TEAMVIEWER OLD VERSION ERROR INSTALL
Running the Teamviewer_Assignment.exe on an existing install that was upgraded via deployment will yield the following error:Įrror: Assignment failed with: Reading datafile “C:\Program Files (x86)\TeamViewer\AssignmentData.json” failed with: File not found If systems already have TeamViewer installed (either deployed or manually installed), you won’t be able to use the TeamViewer assignment tool to assign newly deployed unattended host installs (where the newest version was just installed over an existing version) to a new or different TeamViewer account.Start /wait msiexec.exe /i \\SERVER\SHARE\TeamViewer_Host-idcXXXXXXX.msi /qn What finally worked consistently for me was this simple batch script (where XXXXXXX is your deployment ID):.But after finding that most of my deployments failed with %%2 and %%1274 even after adding a 30 second delay to Computer Configuration > Policies > Administrative Templates > System > Group Policy > Startup policy processing wait time, I decided i had wasted enough time troubleshooting this method and found the script method to work much better.