Microsoft / Windows fucking suck. Like, really.
Each time I try to do something, SOMETHING THAT MICROSOFT DID GET IN MY WAY AND FUCK THINGS!
SO HERE WE GO, A FUCKING GIST WITH SOLUTIONS I WAS ABLE TO FIND BUT THAT ARE IN THE DEEP ASSHOLE OF THE INTERNET, HERE WE FUCKING GO
Command:
Set-ExecutionPolicy Unrestricted
All available flags:
- AllSigned. Requires that all scripts and configuration files are signed by a trusted publisher, including scripts written on the local computer.
- Bypass. Nothing is blocked and there are no warnings or prompts.
- Default. Sets the default execution policy. Restricted for Windows clients or RemoteSigned for Windows servers.
- RemoteSigned. Requires that all scripts and configuration files downloaded from the Internet are signed by a trusted publisher. The default execution policy for Windows server computers.
- Restricted. Doesn't load configuration files or run scripts. The default execution policy for Windows client computers.
- Undefined. No execution policy is set for the scope. Removes an assigned execution policy from a scope that is not set by a Group Policy. If the execution policy in all scopes is Undefined, the effective execution policy is Restricted.
- Unrestricted. Beginning in PowerShell 6.0, this is the default execution policy for non-Windows computers and can't be changed. Loads all configuration files and runs all scripts. If you run an unsigned script that was downloaded from the internet, you're prompted for permission before it runs.
Steps:
- Open PowerShell
- Run
Get-AppxVolume
- See offline volumes (Or relevant)
- Run
Remove-AppxVolume <Volume-ID>
(Note: The<Volume-ID>
is the long-ass (UU?)ID contained in brackets)