Created
August 15, 2023 05:21
-
-
Save zudsniper/7dba3f32489c6f1bc309cbbdee482aea to your computer and use it in GitHub Desktop.
Change the main pain points changed in Windows 11 back to the way they were in Windows 10.
This file contains hidden or 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
# PowerShell script to revert Windows 11 to Windows 10 aesthetics | |
# v0.0.1 | |
# 2023-08-15 | |
# Function to print colored messages | |
function Write-Color([string]$Message, [string]$Color) { | |
Write-Host $Message -ForegroundColor $Color | |
} | |
# Revert Right-Click Context Menu | |
Write-Color "Reverting right-click context menu to Windows 10 style. Press ENTER to continue..." "Yellow" | |
Read-Host | |
reg.exe add "HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32" /f | |
taskkill /f /IM explorer.exe | |
Start-Process explorer.exe | |
Write-Color "Context menu reverted to Windows 10 style successfully!" "Green" | |
# Align Taskbar to the Left | |
Write-Color "Aligning taskbar to the left. Press ENTER to continue..." "Yellow" | |
Read-Host | |
New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name TaskbarAl -Value 0 | |
taskkill /f /IM explorer.exe | |
Start-Process explorer.exe | |
Write-Color "Taskbar aligned to the left successfully!" "Green" | |
# Disable Widgets | |
Write-Color "Disabling Widgets feature. Press ENTER to continue..." "Yellow" | |
Read-Host | |
Get-AppxPackage *WebExperience* | Remove-AppxPackage | |
Write-Color "Widgets feature disabled successfully!" "Green" | |
# Disable Chat Icon from Taskbar | |
Write-Color "Disabling Chat Icon from Taskbar. Press ENTER to continue..." "Yellow" | |
Read-Host | |
REG ADD "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /f /v TaskbarMn /t REG_DWORD /d 0 | |
REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Windows Chat" /f /v ChatIcon /t REG_DWORD /d 3 | |
Write-Color "Chat Icon disabled from Taskbar successfully!" "Green" | |
Write-Color "\nFinished." "Green" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment