Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save madebylydia/81ff4d49d07f0388434ee582b77601de to your computer and use it in GitHub Desktop.
Save madebylydia/81ff4d49d07f0388434ee582b77601de to your computer and use it in GitHub Desktop.

WHY??????

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

Set execution policy

Reason: Can help install apps (Because Windows think this will help us anyway :rolling_eyes:)

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.

Xbox Games Install Error:

Removing offline AppX volumes

Related errors: 0x803fb107 / 0x80073d0d

Steps:

  1. Open PowerShell
  2. Run Get-AppxVolume
  3. See offline volumes (Or relevant)
  4. Run Remove-AppxVolume <Volume-ID> (Note: The <Volume-ID> is the long-ass (UU?)ID contained in brackets)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment