teamviewer.com link icon
or
Ask The Community

Are there parameters to start TeamViewer?

Hi,

I have a requirement where TeamViewer.exe needs to be started from command line using the -i parameter. My question is to know if there is any provision to pass the user-id of the teamviewer account in command line.

Comments

  • EstherEsther Posts: 2,991 Community Manager

    Hi @Ginu_Gopinath

    I hope this article will help you:

    Are there parameters to start TeamViewer?

    All the best, Esther

    Community Manager
  • Hi there!

    I'm configuring a TeamViewer package to install silently.

    Can I use the same parameters for the TeamViewer_Host_Setup.exe?

    Many thanks in advance,

    Fabrizio


    @Esther wrote:

    Hi @Ginu_Gopinath

    I hope this article will help you:

    Are there parameters to start TeamViewer?

    All the best, Esther


     

  • Hi, I tryed to insert this command into my windows applications (Vb.Net):

    Dim processo As Process

    processo = New Process
    processo.StartInfo.FileName = "C:\Program Files (x86)\TeamViewer\TeamViewer.exe -i xxxxxxxxx --Password xxxx"

     

    but unfortunately it doesn't work.

    On my pc I have a "free" teamvier13 license installed.

    Mayby, I have to install the paid version ? 
  • Hy, If I use this command  processo.StartInfo.FileName = "C:\Program Files (x86)\TeamViewer\TeamViewer.exe"     without    -i xxxxxxxxx --Password xxxx"      it works correctly !!

  • Hy, If I use this command  processo.StartInfo.FileName = "C:\Program Files (x86)\TeamViewer\TeamViewer.exe"     without    -i xxxxxxxxx --Password xxxx"      it works correctly !!

  • DomLanDomLan Posts: 490 Star

    Hey @AlbertoC71,

    use System.Diagnostic.ProcessStartInfo with Argument parameter set.

    Check also with and without using UseShellExecute.

    Regards

    Domenico Langone
    MCSD: App Builder
    Did my reply answer your question? Accept it as a solution to help others.
    Find this helpful? Say thanks by clicking on the Thumbs Up button.
Sign In or Register to comment.