# Running scripts is disabled on this system

**URL:** <https://forum.codewithmosh.com/t/running-scripts-is-disabled-on-this-system/3090>\
**Category:** HTML/CSS\
**Created:** [March 1, 2021, 2:59pm UTC](https://forum.codewithmosh.com/t/running-scripts-is-disabled-on-this-system/3090 "2021-03-01T14:59:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![GreenArrow](https://avatars.discourse-cdn.com/v4/letter/g/2acd7d/32.png) [@GreenArrow](https://forum.codewithmosh.com/u/GreenArrow)\
**Post date:** [March 1, 2021, 2:59pm UTC](https://forum.codewithmosh.com/t/running-scripts-is-disabled-on-this-system/3090/1 "2021-03-01T14:59:07Z")

</div>

Ugh. I feel bad few steps closer to finishing the course and then this happened. ☹ anyone can help me?  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/codewithmosh/original/2X/4/4994ca950c30f9459dcf2ebcee666d1440681d28.png)

---

<div class="post-metadata">

**Author:** ![A100D-JS](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/a100d-js/32/8_2.png) [@A100D-JS](https://forum.codewithmosh.com/u/A100D-JS)\
**Post date:** [March 2, 2021, 5:23am UTC](https://forum.codewithmosh.com/t/running-scripts-is-disabled-on-this-system/3090/2 "2021-03-02T05:23:58Z")

</div>

Hi,  
Take a look at this article :

> **[PowerShell - Running scripts is disabled on this system – TecAdmin](https://tecadmin.net/powershell-running-scripts-is-disabled-system/)**
>
> Running scripts is disabled on this system in Powershell. This error comes when PowerShell execution policy doesn't allow to run scripts

Also you can do this :

 ![Screenshot 2021-03-02 085312](https://us1.discourse-cdn.com/flex020/uploads/codewithmosh/original/2X/6/696a91f827734aabadf069367b9280dde8710234.png)

---

<div class="post-metadata">

**Author:** ![TechieJ](https://avatars.discourse-cdn.com/v4/letter/t/a4c791/32.png) [@TechieJ](https://forum.codewithmosh.com/u/TechieJ)\
**Post date:** [April 9, 2026, 7:50am UTC](https://forum.codewithmosh.com/t/running-scripts-is-disabled-on-this-system/3090/3 "2026-04-09T07:50:11Z")

</div>

> [@GreenArrow](#):
>
> Ugh. I feel bad few steps closer to finishing the course and then this happened. ☹ anyone can help me?

Green Arroow - I have dealt with this before and let me tell you that that don’t set the PS execution policy to unrestricted. It is unsecure, instead use the RemoteSigned execution policy that is recommended by many devs. I found this article helpful - [PowerShell: Running Scripts is Disabled on this system » Prajwal Desai](https://www.prajwaldesai.com/running-scripts-is-disabled-on-this-system/)
