teamviewer.com link icon
or
Ask The Community

Do you want to enjoy the new TeamViewer user interface for Windows?


Download the new version and let us know what you think about it! 👉 Please click here 👈

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

  • Esther
    Esther Posts: 3,970 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 !!

  • DomLan
    DomLan 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.