Created
May 5, 2021 00:34
-
-
Save dazeb/72cb0e12cd18ef071ac03b2a02759e1f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
right click start > Windows Powershell (Admin) | |
type notepad $profile and enter | |
``` | |
# Chocolatey profile | |
$ChocolateyProfile = "$env:ChocolateyInstall\helpers\chocolateyProfile.psm1" | |
if (Test-Path($ChocolateyProfile)) { | |
Import-Module "$ChocolateyProfile" | |
} | |
``` | |
Save and exit the file | |
run | |
``` | |
Set-ExecutionPolicy Unrestricted | |
``` | |
Install script & remove telemetry | |
``` | |
iex ((New-Object System.Net.WebClient).DownloadString('https://git.io/JJ8R4')) | |
``` | |
remove scripts to factory defaults | |
``` | |
iex ((New-Object System.Net.WebClient).DownloadString('https://git.io/JTbKD')) | |
``` | |
Credit: https://christitus.com/debloat-windows-10-2020/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment