# 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="https://3218147909-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfgYEET6wvimf9qIpg7bt%2Fuploads%2FbiibOlrDkv2nxVuUdTbk%2Fimage.png?alt=media&#x26;token=7b332a3e-12dc-4eda-93b1-0ca9268ee6ec" 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 %}
