> For the complete documentation index, see [llms.txt](https://docs.parallels.com/landing/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.parallels.com/landing/ras-best-practices-guide/remote-access-configuration/antivirus-exclusions.md).

# Antivirus Exclusions

Installing antivirus software on an RD Session Host server greatly affects overall system performance, especially the CPU usage. We highly recommend that you exclude all folders that hold temporary files from the active monitoring list, especially folders generated by services and other system components.

The Parallels RAS folder to be excluded from real-time scanning is `%programfiles(x86)%\Parallels\ApplicationServer`.

For Parallels RAS port reference, please refer to **Parallels Remote Application Server Administrator's Guide**, which can be downloaded from <http://www.parallels.com/products/ras/resources>. For additional information, please also see <http://kb.parallels.com/124003>.

The Parallels Client for Windows folder to be excluded from real-time scanning is as follows:

* 32-bit: `%programfiles(x86)%\Parallels\Client`
* 64-bit: `%programfiles%\Parallels\Client`

Parallels recommends to exclude the above Parallels RAS and Parallels Client for Windows folders from real-time or on-access scanning and scan them on a regular basis using scheduled scans. You should also monitor the creation of new files in the excluded folders.

### **FSLogix anti-virus exclusions**

For FSLogix Profile Container to work properly, configure your antivirus to exclude the following objects, as per Microsoft’s recommendations:

**Files:**

* %TEMP%\\\*\\\*.VHD
* %TEMP%\\\*\\\*.VHDX
* %Windir%\TEMP\\\*\\\*.VHD
* %Windir%\TEMP\\\*\\\*.VHDX
* \\\server-name\share-name\\\*\\\*.VHD
* \\\server-name\share-name\\\*\\\*.VHD.lock
* \\\server-name\share-name\\\*\\\*.VHD.meta
* \\\server-name\share-name\\\*\\\*.VHD.metadata
* \\\server-name\share-name\\\*\\\*.VHDX
* \\\server-name\share-name\\\*\\\*.VHDX.lock
* \\\server-name\share-name\\\*\\\*.VHDX.meta
* \\\server-name\share-name\\\*\\\*.VHDX.metadata

**Cloud Cache specific exclusions:**

* %ProgramData%\FSLogix\Cache\ (folder and files)
* %ProgramData%\FSLogix\Proxy\\\* (folder and files)

{% hint style="info" %}
**Note:** Antivirus exclusions for Microsoft Defender for Endpoint (previously Microsoft Defender Advanced Threat Protection) can be set via Parallels RAS optimizations (Windows Defender ATP category).

When using Parallels RAS optimizations, make sure to use the **Exclude Extensions** section and add `*.vhd` and `*.vhdx` there, since the **Exclude Files and folders** section does not allow wildcards.

For more information, see [this KB article](https://kb.parallels.com/en/125071).
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.parallels.com/landing/ras-best-practices-guide/remote-access-configuration/antivirus-exclusions.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
