Skip to content

Instantly share code, notes, and snippets.

@dazeb
Created May 5, 2021 00:34
Show Gist options
  • Save dazeb/72cb0e12cd18ef071ac03b2a02759e1f to your computer and use it in GitHub Desktop.
Save dazeb/72cb0e12cd18ef071ac03b2a02759e1f to your computer and use it in GitHub Desktop.
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