https://github.com/mgross21/clean-window
Windows Cleanup and Maintenance Utilies
https://github.com/mgross21/clean-window
debloat powershell windows-10 windows-11
Last synced: 8 months ago
JSON representation
Windows Cleanup and Maintenance Utilies
- Host: GitHub
- URL: https://github.com/mgross21/clean-window
- Owner: MGross21
- Created: 2025-05-09T00:02:10.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2025-06-13T08:02:50.000Z (8 months ago)
- Last Synced: 2025-06-13T08:43:46.202Z (8 months ago)
- Topics: debloat, powershell, windows-10, windows-11
- Language: PowerShell
- Homepage:
- Size: 1.38 MB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README

*Windows Cleanup and Maintenance Utilies*
## Instructions
### Install PowerShell 7
`Win`+`R`, type `"cmd"`, then open as admin (`Ctrl`+`Shift`+`Enter`)
```bash
winget install --id=Microsoft.Powershell
```
### Open `Powershell` as Administrator from `Command Prompt`
```bash
powershell -Command "Start-Process pwsh -Verb RunAs"
```
### Change Execution Permissions
> [!Note]
> Only run if future steps prevent external script execution
```bash
Set-ExecutionPolicy Bypass -Scope Process -Force
```
### Running Scripts
> [!Caution]
> Please note that regardless of the listed status, all scripts are executed at your own risk. It is strongly recommended to save and close any critical applications beforehand. Generally, avoid running scripts that directly execute content from unknown or untrusted URLs. This practice bypasses confirmation interactions and can pose significant security risks. Always review the script's content before execution to ensure it is safe and trustworthy.
#### Package Updater
**Status:** ✅ Working (Windows 11 | Ver. 24H2)
> [!Note]
> Some applications may create desktop shortcuts during updates. This behavior is controlled by the applications themselves and not by the `winget` package installer. You can safely delete these shortcuts at any time during or after script execution.
```powershell
iex (Invoke-WebRequest -Uri "https://raw.githubusercontent.com/MGross21/clean-window/main/package_update.ps1").Content
```
#### Win11 Debloat
##### Minimal
**Status:** ✅ Working (Windows 11 | Ver. 24H2)
```powershell
iex (Invoke-WebRequest -Uri "https://raw.githubusercontent.com/MGross21/clean-window/main/win11_debloat.ps1").Content
```
##### Chris Titus' [WinUtil](https://github.com/ChrisTitusTech/winutil)
```powershell
iex "& { $(irm https://christitus.com/win) } -Config [path-to-your-config] -Run"
```
#### Temp Cleanup
**Status:** ❌ Not Tested
```powershell
iex (Invoke-WebRequest -Uri "https://raw.githubusercontent.com/MGross21/clean-window/main/temp_cleanup.ps1").Content
```
#### Package Installer
**Status:** ❌ Not Tested
```powershell
iex (Invoke-WebRequest -Uri "https://raw.githubusercontent.com/MGross21/clean-window/main/package_install.ps1").Content
```