ChrisTitusTech / winutil

Chris Titus Tech's Windows Utility - Install Programs, Tweaks, Fixes, and Updates
MIT License
24.24k stars 1.47k forks source link

"Scripts are not allowed/Scripts are disabled" using MircoWin to get ISO #2934

Open DrFailbucket opened 1 month ago

DrFailbucket commented 1 month ago

Describe the bug

When i try to get an ISO with MicroWin (get newest ISO automaticlly) it fails.

This is what it shows in the Console (translated from German): & : The file "C:\Users\testuser\AppData\Local\Temp\Fido.ps1" cannot be loaded because script execution is disabled on this system. For more information, see "about_Execution_Policies" (https://go.microsoft.com/fwlink/?LinkID=135170). At line: 4760 character: 11 + & $fidopath -Win 'Windows 11' -Rel $sync["ISORelease"].Select ... + ~~~~~~~~~ + CategoryInfo : Security error: (:) [], PSSecurityException + FullyQualifiedErrorId : UnauthorizedAccess Could not download the ISO file. Look at the output of the console for more

To Reproduce

Steps to reproduce the behavior: -Fresh install of Win11 with the ISO from Microsoft -Followed the steps in this Video: https://www.youtube.com/watch?v=6UQZ5oQg8XA for the install of Win11 -After "Tweak Settings" i wanted to create an more debloated ISO with this Tool. While trying out the Automatic Downloader the error pops up.

Expected behavior

-Download the ISO and complete the rest of the Task

Screenshots

error_microwin

Additional context

While selecting the ISO-File manually there where no problems so far.

zmileski commented 1 month ago

Run terminal with admin and type "Set-ExecutionPolicy unrestricted"