> 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
