Skip to content

Commit 9717a87

Browse files
authored
Merge pull request #16 from kyaulabs/feature/kyau-c77d-fixes-and-powertoys
Windows 11 Build 22621.1778
2 parents d3624bf + bf90db9 commit 9717a87

File tree

6 files changed

+33
-10
lines changed

6 files changed

+33
-10
lines changed

Modules/apps.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ Add-Reg -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Search" -Name "Bi
7373
Add-Reg -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Search" -Name "CortanaConsent" -Type Dword -Value "0"
7474
Add-Reg -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search" -Name "DisableWebSearch" -Type Dword -Value "1"
7575

76-
# Remove Movies-TypeV/Xbox
76+
# Remove Xbox/GameBar (not included in Windows N versions)
7777
Remove-WService -Name "XblAuthManager"
7878
Remove-WService -Name "XblGameSave"
7979
Remove-WService -Name "XboxNetApiSvc"
@@ -122,7 +122,7 @@ Foreach ($tmp in $tmpdel) {
122122
REG.EXE delete $tmp /f | Out-Null
123123
}
124124

125-
# Reset Icon Cache / Cleanup OneDrive
125+
# Reset Icon Cache
126126
TASKKILL.EXE /F /IM explorer.exe | Out-Null
127127

128128
If (-NOT $Microsoft365) {

Modules/cleanup.ps1

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -447,6 +447,8 @@ Foreach ($pkg in $MsysPkgs) {
447447
Show-Package "${pkg}"
448448
Show-RunAsUser -Command "${Env:SystemDrive}\msys64\msys2_shell.cmd -defterm -here -no-start -msys -c `"pacman -S ${pkg} --noconfirm`""
449449
}
450+
Show-Package "msys/openssh-fix"
451+
Show-RunAsUser -Command "${Env:SystemDrive}\msys64\msys2_shell.cmd -defterm -here -no-start -msys -c `"pacman -S mingw64/mingw-w64-x86_64-curl mingw64/mingw-w64-x86_64-gnutls mingw64/mingw-w64-x86_64-openssl msys/libopenssl msys/libgnutls msys/openssl msys/openssh --noconfirm`""
450452
Show-Package -NewLine
451453

452454
# MSYS2 Path Fixes (Removable/Network Drives)

Modules/packages.ps1

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,17 @@ $runtest
5858
#Start-Process -FilePath "${Env:ProgramData}\chocolatey\bin\CHOCO.EXE" -ArgumentList "install $pkg -y -r --ignore-package-codes" -NoNewWindow -Wait -RedirectStandardOutput "${Env:UserProfile}\choco_install.txt"
5959
Show-Package "${ipkg}"
6060
}
61+
62+
# Install PowerToys
63+
$runcmd = @"
64+
@ECHO OFF
65+
66+
`"%LocalAppData%\Microsoft\WindowsApps\winget.exe`" install --scope machine Microsoft.PowerToys -s winget >nul
67+
"@
68+
New-Item -Path "${Env:UserProfile}" -Name "runcmd.bat" -ItemType File -Value $runcmd | Out-Null
69+
Start-Process -FilePath "${Env:UserProfile}\runcmd.bat" -NoNewWindow -Wait
70+
Remove-Item -Path "${Env:UserProfile}\runcmd.bat" -Force | Out-Null
71+
Show-Package "powertoys"
6172
Show-Package -NewLine
6273

6374
# Change Calculator Keyboard Key to Speedcrunch

Modules/startmenu.ps1

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ Add-Shortcut "Development\Resource Hacker" "${Env:ProgramFiles(x86)}\Resource Ha
6363
Add-Shortcut "Development\Sublime Text" "${Env:ProgramFiles}\Sublime Text\sublime_text.exe" ""
6464
Add-Shortcut "Hardware\Core Temp" "${Env:ProgramData}\chocolatey\lib\coretemp\tools\Core Temp.exe" "win11tweak-hardware.dll,138"
6565
Add-Shortcut "Hardware\CPU-Z" "${Env:ProgramFiles}\CPUID\CPU-Z\cpuz.exe" ""
66-
Add-Shortcut "Hardware\EarTrumpet" "${Env:ProgramData}\chocolatey\lib\eartrumpet\tools\EarTrumpet\EarTrumpet.exe" ""
6766
Add-Shortcut "Hardware\MSI Afterburner" "${Env:ProgramFiles(x86)}\MSI Afterburner\MSIAfterburner.exe" ""
6867
Add-Shortcut "Hardware\ScrCpy" "${Env:ProgramData}\chocolatey\lib\scrcpy\tools\scrcpy.exe" "win11tweak-hardware.dll,3"
6968
Add-Shortcut "Hardware\Voicemeeter Potato" "${Env:ProgramFiles(x86)}\VB\Voicemeeter\voicemeeter8x64.exe" ""

README.md

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
# Windows 11 Tweaks - Build 22621.1555
1+
# Windows 11 Tweaks - Build 22621.1778
22

33
![LOGO](README_media/LOGO.png)
44

5-
[![Contributor Covenant](https://img.shields.io/badge/contributor%20covenant-2.1-4baaaa.svg)](CODE_OF_CONDUCT.md)   [![Semantic Versioning](https://img.shields.io/badge/semantic%20versioning-1.2.5-333333.svg)](https://semver.org)   [![GitHub](https://img.shields.io/github/license/kyaulabs/win11tweak)](LICENSE)   [![Gitleaks](https://img.shields.io/badge/protected%20by-gitleaks-blue)](https://github.com/zricethezav/gitleaks)   [![CI](https://img.shields.io/github/actions/workflow/status/kyaulabs/win11tweak/psscriptanalyzer.yml)](https://github.com/kyaulabs/win11tweak/actions)
5+
[![Contributor Covenant](https://img.shields.io/badge/contributor%20covenant-2.1-4baaaa.svg)](CODE_OF_CONDUCT.md)   [![GitHub](https://img.shields.io/github/license/kyaulabs/win11tweak)](LICENSE)   [![Gitleaks](https://img.shields.io/badge/protected%20by-gitleaks-blue)](https://github.com/zricethezav/gitleaks)   [![CI](https://img.shields.io/github/actions/workflow/status/kyaulabs/win11tweak/psscriptanalyzer.yml)](https://github.com/kyaulabs/win11tweak/actions)\
6+
[![Semantic Versioning](https://img.shields.io/github/v/release/kyaulabs/win11tweak?include_prereleases&logo=semver&sort=semver)](https://semver.org)   [![Discord](https://img.shields.io/discord/88713030895943680?logo=discord&color=blue&logoColor=white)](https://discord.gg/DSvUNYm)
67

78
## Disclaimer
89

@@ -34,7 +35,8 @@ damage that may ensue.
3435
* [Everything](#everything)
3536
* [CCleaner](#ccleaner)
3637
* [MSEdgeRedirect](#msedgeredirect)
37-
* [Attribution & References](#attribution--references)
38+
* [Further Setup](#further-setup)
39+
* [Attribution](#attribution)
3840

3941
## Introduction
4042

@@ -178,10 +180,14 @@ With the computer updated and activated it is now time to download the script. D
178180

179181
### Windows Defender (optional)
180182

183+
```
184+
📌 NOTE
185+
If you choose to keep Windows Defender installed, the script used to remove it 'defender.ps1' will get
186+
flagged by Defender itself, this is normal behavior.
187+
```
181188
```
182189
🚧 WARNING
183-
If you choose to keep Windows Defender installed, the script used to disable Defender 'defender.ps1' will
184-
get flagged by Defender itself, this is normal behavior.
190+
Removal of Windows Defender WILL break the ability to use Windows Update!
185191
```
186192

187193
Before the main script can be run Windows Defender needs to be disabled along with tamper protection.
@@ -583,6 +589,10 @@ Hover over the weather widget in the taskbar to open the News/Weather Widget win
583589

584590
Reboot the machine to continue.
585591

592+
## Further Setup
593+
594+
Additional setup and software configuration can be found on the [Wiki](https://github.com/kyaulabs/win11tweak/wiki).
595+
586596
## Attribution
587597

588598
Without all of the following this guide/script would not have been possible.

user_settings.ps1

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ function Add-Configuration {
4040
$script:WorkGroupName = "KYAULABS"
4141

4242
# Keep Windows Defender? ($true / $false)
43-
$script:WinDefender = $false
43+
# NOTE: Removal breaks Windows Update.
44+
$script:WinDefender = $true
4445

4546
# Keep Windows Security? ($true/$false)
4647
# NOTE: Removal not recommended, breaks Windows Defender & Windows Update.
@@ -94,7 +95,7 @@ function Add-Configuration {
9495
# gaming
9596
"playnite","amazongames","battle.net","epicgameslauncher","goggalaxy","origin","steam","ubisoft-connect",
9697
# hardware applications/drivers
97-
"adb","cpu-z.install","eartrumpet","msiafterburner","voicemeeter-potato",
98+
"adb","cpu-z.install","msiafterburner","voicemeeter-potato",
9899
# security applications
99100
#"gpg4win"
100101
"keepassxc","yubico-authenticator","yubikey-manager","yubikey-piv-manager"

0 commit comments

Comments
 (0)