> ## Documentation Index
> Fetch the complete documentation index at: https://docs.within.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Running Companion on the laptop instead of inside the virtual desktop

> Companion web app maps how your teams actually work. A user opens to share their screen while they work. It turns what it sees into a work brain your organization can improve and automate from.

> [!NOTE]
>
> **Our recommendation**
>
> **Run the Companion web app in a browser on your laptop rather than from your virtual desktop.**
>
> Companion still sees your work in virtual desktop through screen share from the laptop. Performance is better on the laptop, and security is the same in both setups.

## The two setups: same data, same destinations, same encryption

![Two setups that end at the same services. In A, recommended, Companion runs in a browser on the laptop and connects over VPN and encrypted HTTPS/WebRTC to the Daily.co encrypted media relay, then to the Within cloud on AWS in the US region. In B, the laptop connects over VPN to the virtual desktop, and Companion runs in a browser there and connects over encrypted HTTPS/WebRTC to the same Daily.co relay and Within cloud.](https://mintcdn.com/within-docs/OQP8kulYMpm9ZY8s/images/companion-laptop-vs-virtual-desktop-setups.png?fit=max\&auto=format\&n=OQP8kulYMpm9ZY8s\&q=85\&s=04bd28d7506f56c1f586d695b06cfa7f)

## Performance is better on the laptop

Companion encodes and streams video in real time. Your laptop has the hardware for that. A virtual desktop can do it too, but it uses more resources.

* **No graphics processor.** The virtual desktop's processor must handle all of this load.
* **Shared CPU and memory.** Companion competes with the user's work apps (large Excel files, meeting calls etc.). That can slow down their work in the virtual machine.
* **Double cursor issue.** The latest versions of Windows on virtual desktops cause a double pointer issue that makes the experience feel laggy. We can't fix this issue in the browser. To resolve it, we recommend that you install the [desktop app](https://docs.within.ai/user-docs/discover/download-the-desktop-app.md), where we can address the issue.

## Security is the same in both setups

Laptop or virtual desktop, the user opens the same Companion application. The network path and the data processing do not change.

* **Same application.** The same web page, in the browser sandbox. No install. It sees only the screen the user shares.
* **Same network and data processing.** The same Within and Daily.co endpoints, over the same encrypted connections (HTTPS, TLS 1.2+, encrypted WebRTC). The same processing in Within's cloud. No video, screenshots or audio stored. SOC 2 Type II.

> [!NOTE]
>
> **Need help?** Use the in-app chat — click the chat bubble in the bottom-right corner of Within (staffed 24×5) — or email [support@within.ai](mailto:support@within.ai).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.