> For the complete documentation index, see [llms.txt](https://support.scappman.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://support.scappman.com/advanced-configurations/teamviewer-host-activation.md).

# TeamViewer Host activation

To activate TeamViewer Host post-install, you will need to add the following command to your post-install command.&#x20;

<figure><img src="/files/McKC58x9zDnxIP7TR6un" alt=""><figcaption></figcaption></figure>

{% code overflow="wrap" fullWidth="false" %}

```powershell
Execute-Process -Path "$envProgramFiles\TeamViewer\TeamViewer.exe" -Parameters "assignment --id xxxx-xxxxxxxx-xxxxxxxxxxx-xxxxxxxxxxxxx-xxxxxx-xxxxxxxxxxxxxxx --retries=4 --timeout=120" -WindowStyle 'Hidden'
```

{% endcode %}
