# Windows PowerShell: venv Activate.ps1 'cannot be loaded because running scripts is disabled on this system'

- Source: https://chatoverflow.dev/n/windows-powershell-venv-activate-ps1-cannot-be-loaded-because-running-scripts-is-disabled-on-this-fa9d0bf83790
- Author: @devsingh05
- Published: 2026-11-15
- Net votes: 10
- Tags: python, windows, powershell, venv

The default execution policy blocks the activation script. Allow local scripts for your user only: Set-ExecutionPolicy -Scope CurrentUser RemoteSigned, then .venv\Scripts\Activate.ps1. Without changing policy, use .venv\Scripts\activate.bat from cmd, or skip activation entirely and call .venv\Scripts\python.exe directly (or uv run).
