Parameters to start TeamViewer - TeamViewer Support
<main>
<article class="userContent">
<h3></h3><h2 data-id="general">General</h2><div class="blockquote"><div class="blockquote-content"><p class="blockquote-line">T<em>his article applies to TeamViewer users using the TeamViewer full version on Windows.</em></p></div></div><p>The full version of TeamViewer on Windows can be run using command line parameters that make it initiate a session to a remote device using a pre-set ID, password, and connection mode.</p><p>You can use these parameters to run TeamViewer from the Command Prompt, or from a script (for example a .bat file), or from a shortcut on your Desktop or Start menu. </p><p><br></p><h3 data-id="-1"></h3><h2 data-id="specifications">Specifications</h2><p>Below you can see an example of a command line in which TeamViewer is connecting to a specific ID, using a pre-set password and connection mode: </p><p><strong> C:\Program Files (x86)\TeamViewer\TeamViewer.exe -i 18876347 --Password test -m fileTransfer </strong></p><h3 data-id="available-parameters%3A">Available parameters: </h3><p><strong>-i <ID> </strong></p><p><em>(Mandatory) ID of the remote computer </em></p><p><strong>--Password <password> -P <password> </strong></p><p><em>(Optional) password of the remote computer – you will be prompted for the password if this is not used </em></p><p><strong>-m fileTransfer -m vpn </strong></p><p><em>(Optional) connection mode – this defaults to Remote Control if not used </em></p><h3 data-id="examples%3A">Examples: </h3><ul><li>Remote Control: </li></ul><pre class="code codeBlock" spellcheck="false" tabindex="0">teamviewer.exe -i <ID> -P <Password>
</pre><ul><li>File Transfer: </li></ul><pre class="code codeBlock" spellcheck="false" tabindex="0">teamviewer.exe -i <ID> -P <Password> -m fileTransfer
</pre><ul><li>VPN: </li></ul><pre class="code codeBlock" spellcheck="false" tabindex="0">teamviewer.exe -i <ID> -P <Password> -m vpn
</pre><p> </p><h3 data-id="-2"></h3><h2 data-id="further-reading">Further reading</h2><p>Learn more: <a href="https://community.teamviewer.com/English/kb/articles/34447-command-line-parameters" rel="nofollow noreferrer ugc">Command line parameters </a></p>
</article>
</main>