Batch file not working
Best Answer
-
Hello LincolnAEL,
No problem, I'm happy to assist!!! The "%computername%" is the variable to grab the computer name of the machine and add it to the computers and contacts in TeamViewer.
The way I posted the code for you, will achieve what you want, which is to add the machine with their computer name to the contacts list.
Thank you!!!
5
Answers
-
Hello LincolnAEL,
Please try the example below for your batch script:
REM INSTALLMSI
start /wait msiexec.exe /i \\XXXXX\XXXXX\XXXXX\TeamViewer_Host.msi /qn customconfigid=xxxxxx apitoken=xxxxxx importregfile=1 desktopshortcuts=0 assignmentoptions="--alias %computername%"Let me know if this works for you or if you have any questions!
0 -
Thank you very much W_deFazio. Just one question. Do I have to add --alias %computername%"? In that case, shall I select the computer name? as I don´t want to set names, just use each computer name.0
-
Hello LincolnAEL,
No problem, I'm happy to assist!!! The "%computername%" is the variable to grab the computer name of the machine and add it to the computers and contacts in TeamViewer.
The way I posted the code for you, will achieve what you want, which is to add the machine with their computer name to the contacts list.
Thank you!!!
5