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

# CLI Installation Issues on Windows

> Troubleshooting failed installations of Claude Code and Codex on Windows

# Fixing Failed CLI Installations on Windows

When installing Claude Code or OpenAI Codex through the [Universal AI Platform](/features/universal-cli-platform) on Windows, you may encounter PowerShell execution policy errors that prevent the installation from completing.

## The Issue

During the installation process, you might see an error message like this:

```powershell theme={"system"}
C:\Users\[Username]\AppData\Local\Temp\InstallClaudeCode.ps1 : File 
C:\Users\[Username]\AppData\Local\Temp\InstallClaudeCode.ps1 cannot be loaded 
because running scripts is disabled on this system. 
For more information, see about_Execution_Policies at 
https:/go.microsoft.com/fwlink/?LinkID=135170.
At line:1 char:1
+ C:\Users\[Username]\AppData\Local\Temp\InstallClaudeCode.ps1
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : SecurityError: (:) [], PSSecurityException
    + FullyQualifiedErrorId : UnauthorizedAccess
```

## The Solution

To resolve this issue, you need to modify PowerShell's execution policy for your user account.

<Steps>
  <Step title="Open PowerShell">
    Open PowerShell from your Windows system.
  </Step>

  <Step title="Set Execution Policy">
    Run the following command:

    ```powershell theme={"system"}
    Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
    ```
  </Step>

  <Step title="Confirm the Change">
    When prompted, type `Y` to agree with the changes, and press Enter to confirm the policy change.
  </Step>

  <Step title="Retry Installation">
    After setting the execution policy, retry the Claude Code or Codex installation and try using Zencoder's Universal AI Platform. The installation should now complete successfully.
  </Step>
</Steps>
