> For the complete documentation index, see [llms.txt](https://desync-4.gitbook.io/desync-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://desync-4.gitbook.io/desync-docs/russkii/english/troubleshooting-and-support/powershell-launch-error.md).

# PowerShell launch error

Red text appears in PowerShell and the loader does not open. Check the PowerShell version and Defender history as described below.

## Example

The first error in the screenshot is **Add-Type: Access to the path … is denied**, indicating denied access to a temporary file. Later errors may be consequences of the first. Use the checks below to investigate the cause.

![](https://content.gitbook.com/content/2IqdwbRpQj7CdFx59AIG/blobs/JrOMoWsMzWilGzFVAdmf/spaces%2FnitGYSBvlczRLpWdhsJO%2Fuploads%2FSb6mfLGd7gpqrSQlJfoU%2FDESYNC_PowerShell_access_denied.png?alt=media\&token=f495593e%20764a%204017%20bef4%20ae81695f629d)

## 1. Check the PowerShell version

Open Windows PowerShell as in the [loader guide](/desync-docs/russkii/english/launching-the-loader.md): Win + R → powershell → Enter.

Run this separate command:

```powershell
$PSVersionTable.PSVersion
```

The built-in Windows PowerShell 5.1 should show Major 5 and Minor 1. If the version is older, open the system Windows PowerShell, check Windows updates and send the result to support.

## 2. Check Microsoft Defender history

Open Windows Security → Virus & threat protection → Protection history. Find events matching the time of the launch attempt and open their details.

If an event relates to the loader launch, save its name and a screenshot of the details. Compare your settings with [PC preparation](/desync-docs/russkii/english/pc-preparation.md). If there are no related events, the cause is not established; send your findings to support.

## If the error remains

Contact [@desync\_support\_bot](https://t.me/desync_support_bot) and attach:

* The entire PowerShell window, starting with the first error; a launch video if possible.
* The version-check result.
* Details of any related Protection history event.
* A checker TXT report, if available.

If the loader opens, [send logs](/desync-docs/russkii/english/troubleshooting-and-support.md). If it never opens, contact support with the materials you have.

Microsoft references: [Windows PowerShell 5.1](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_windows_powershell_5.1?view=powershell-5.1), [version variable](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_automatic_variables?view=powershell-5.1#psversiontable), [Protection history](https://support.microsoft.com/en-us/windows/security/windows-security/protection-history-in-the-windows-security-app).
