Added tweak to enable/disable Clipboard History (Loaded on Apply Tweaks)

- Added tweak to enable/disable Old Volume Control
- Renamed 'Full Telemetry' to 'Telemetry'
- Update README about  functionalities

Thanks for the idea Thiago!
main
Plínio Larrubia 3 years ago committed by Plínio Larrubia
parent 92b10eb5da
commit 7613314b84
No known key found for this signature in database
GPG Key ID: 057B0A87CB137C69

@ -74,21 +74,23 @@ Set-ExecutionPolicy Unrestricted -Scope CurrentUser -Force; ls -Recurse *.ps*1 |
<details>
<summary>Click to expand</summary>
- `Apply Tweaks`: Run every 'non-interactive' Tweak scripts;
- `Apply Tweaks`: Run every Common Tweak scripts;
- `Remove Xbox from Windows`: Wipe Xbox Apps, disable Services related to Xbox and GameBar/GameDVR; ([`remove-and-disable-xbox.ps1`](src/utils/remove-and-disable-xbox.ps1))
- `Repair Windows`: Try to Completely fix the Windows worst problems via Command Line; ([`backup-system.ps1`](./src/scripts/backup-system.ps1) and [`repair-windows.ps1`](./src/scripts/repair-windows.ps1))
- `Reinstall Pre-Installed Apps`: Rebloat Windows with all the Pre-Installed Apps; ([`reinstall-pre-installed-apps.ps1`](./src/utils/reinstall-pre-installed-apps.ps1))
- `Revert Tweaks`: Re-apply some tweaks and [Revert] all possible ones, covering the `Scheduled Tasks`, `Services`, `Privacy and Performance`, `Personal` and `Optional Features` tweaks;
- `Dark Theme & Light Theme`: Apply [Dark Theme](./src/utils/use-dark-theme.reg) or [Light Theme](./src/utils/use-light-theme.reg) exclusively from GUI;
- `Enable/Disable Search Indexing`: Let you choose whether the **Search Service** is [enabled](./src/utils/enable-search-idx.ps1) or [disabled](src/utils/disable-search-idx.ps1);
- `Enable/Disable Background Apps`: Let you choose whether the **Background Apps** are [enabled](./src/utils/enable-bg-apps.reg) or [disabled](src/utils/disable-bg-apps.reg);
- `Enable Full Telemetry & Disable Telemetry`: Let you choose whether the **Telemetry** is [enabled](./src/utils/enable-full-telemetry.reg) or [disabled](src/utils/disable-telemetry.reg);
- `Enable/Disable Xbox GameBar/DVR`: Let you choose whether the **Xbox GameBar/DVR** is [enabled](./src/utils/enable-game-bar-dvr.reg) or [disabled](src/utils/disable-game-bar-dvr.reg);
- `Dark Theme & Light Theme`: Apply [Dark Theme](./src/utils/use-dark-theme.reg) or [Light Theme](./src/utils/use-light-theme.reg) on Windows;
- `Enable/Disable Search Indexing`: Let you choose whether the **Windows Search Service** is [enabled](./src/utils/enable-search-idx.ps1) or [disabled](src/utils/disable-search-idx.ps1);
- `Enable/Disable Background Apps`: Let you choose whether *ALL* the **Background Apps** are [enabled](./src/utils/enable-bg-apps.reg) or [disabled](src/utils/disable-bg-apps.reg);
- `Enable Telemetry & Disable Telemetry`: Let you choose whether the **Windows Telemetry** is [enabled](./src/utils/enable-full-telemetry.reg) or [disabled](src/utils/disable-telemetry.reg);
- `Enable/Disable Cortana`: Let you choose whether the **Cortana** is [enabled](./src/utils/enable-cortana.reg) or [disabled](src/utils/disable-cortana.reg);
- `Enable/Disable Xbox GameBar/DVR`: Let you choose whether the **Xbox GameBar/DVR (In-Game)** is [enabled](./src/utils/enable-game-bar-dvr.reg) or [disabled](src/utils/disable-game-bar-dvr.reg);
- `Enable/Disable Clipboard History`: Let you choose whether the **Clipboard History** is [enabled](./src/utils/enable-clipboard-history.reg) or [disabled](src/utils/disable-clipboard-history.reg);
- `Enable/Disable Old Volume Control`: Let you choose whether the **Old Volume Control (Win 7/8.1)** is [enabled](./src/utils/enable-old-volume-control.reg) or [disabled](src/utils/disable-old-volume-control.reg);
- `Install CPU/GPU Driver Updater`: This **WILL NOT** install anymore the drivers, only the drivers updater. ([`install-drivers-updaters.ps1`](./src/scripts/install-drivers-updaters.ps1));
- The Latest CPU for driver updater. For `Intel`, `Intel DSA (Winget)` (Except AMD);
- The Latest GPU driver updater. For `Intel` and `NVIDIA`, `NVIDIA GeForce Experience (Winget)` (Except AMD);
- `Install Gaming Dependencies`: Install all Gaming Dependencies required to play games. ([`install-gaming-dependencies.ps1`](./src/scripts/install-gaming-dependencies.ps1));
- The Latest GPU driver updater. For `Intel (DSA)` and `NVIDIA`, `NVIDIA GeForce Experience (Winget)` (Except AMD);
- `Install Gaming Dependencies`: Install all Gaming Dependencies required to play games (DirectX, VC++ 2005+ (x86 & x64), .NET Framework). ([`install-gaming-dependencies.ps1`](./src/scripts/install-gaming-dependencies.ps1));
- Every software installation is explicitly showed;
</details>
@ -174,12 +176,6 @@ winget install --silent --source "msstore" --id "Microsoft.Skype"
winget install --source "msstore" --id 9MSSGKG348SP --accept-package-agreements
```
**Before someone ask about this "hidden" package...**
| Name | ID | Version | Source |
| --------------------------- | ------------ | ------- | ------- |
| Windows Web Experience Pack | 9MSSGKG348SP | Unknown | msstore |
</details>
<details>

@ -35,7 +35,7 @@ function Show-GUI() {
$Global:CurrentPanelIndex++
$Panel1 = Create-Panel -Width $PWidth -Height $PHeight -LocationX ($PWidth * $CurrentPanelIndex) -LocationY 0
$Global:CurrentPanelIndex++
$Panel2 = Create-Panel -Width $PWidth -Height $PHeight -LocationX ($PWidth * $CurrentPanelIndex) -LocationY 0
$Panel2 = Create-Panel -Width $PWidth -Height ($PHeight * 3.5) -LocationX ($PWidth * $CurrentPanelIndex) -LocationY 0
$Global:CurrentPanelIndex++
$Panel3 = Create-Panel -Width ($PWidth - 15) -Height ($PHeight * 3.5) -LocationX ($PWidth * $CurrentPanelIndex) -LocationY 0
$Global:CurrentPanelIndex++
@ -91,22 +91,34 @@ function Show-GUI() {
$DisableBgApps = Create-Button -Text "Disable Background Apps" -Width $SBWidth -Height $SBHeight -LocationX $ButtonX -LocationY $NextYLocation -FontSize $FontSize1
$NextYLocation = $DisableBgApps.Location.Y + $DisableBgApps.Height + $DistanceBetweenButtons
$EnableTelemetry = Create-Button -Text "Enable Full Telemetry" -Width $SBWidth -Height $SBHeight -LocationX $ButtonX -LocationY $NextYLocation -FontSize $FontSize1
$EnableTelemetry = Create-Button -Text "Enable Telemetry" -Width $SBWidth -Height $SBHeight -LocationX $ButtonX -LocationY $NextYLocation -FontSize $FontSize1
$NextYLocation = $EnableTelemetry.Location.Y + $EnableTelemetry.Height + $DistanceBetweenButtons
$DisableTelemetry = Create-Button -Text "Disable Telemetry" -Width $SBWidth -Height $SBHeight -LocationX $ButtonX -LocationY $NextYLocation -FontSize $FontSize1
$NextYLocation = $DisableTelemetry.Location.Y + $DisableTelemetry.Height + $DistanceBetweenButtons
$EnableCortana = Create-Button -Text "Enable Cortana" -Width $SBWidth -Height $SBHeight -LocationX $ButtonX -LocationY $NextYLocation -FontSize $FontSize1
$NextYLocation = $EnableCortana.Location.Y + $EnableCortana.Height + $DistanceBetweenButtons
$DisableCortana = Create-Button -Text "Disable Cortana" -Width $SBWidth -Height $SBHeight -LocationX $ButtonX -LocationY $NextYLocation -FontSize $FontSize1
$NextYLocation = $DisableCortana.Location.Y + $DisableCortana.Height + $DistanceBetweenButtons
$EnableGameBarAndDVR = Create-Button -Text "Enable Xbox GameBar/DVR" -Width $SBWidth -Height $SBHeight -LocationX $ButtonX -LocationY $NextYLocation -FontSize $FontSize1
$NextYLocation = $EnableGameBarAndDVR.Location.Y + $EnableGameBarAndDVR.Height + $DistanceBetweenButtons
$DisableGameBarAndDVR = Create-Button -Text "Disable Xbox GameBar/DVR" -Width $SBWidth -Height $SBHeight -LocationX $ButtonX -LocationY $NextYLocation -FontSize $FontSize1
$NextYLocation = $DisableGameBarAndDVR.Location.Y + $DisableGameBarAndDVR.Height + $DistanceBetweenButtons
$EnableCortana = Create-Button -Text "Enable Cortana" -Width $SBWidth -Height $SBHeight -LocationX $ButtonX -LocationY $NextYLocation -FontSize $FontSize1
$EnableClipboardHistory = Create-Button -Text "Enable Clipboard History" -Width $SBWidth -Height $SBHeight -LocationX $ButtonX -LocationY $NextYLocation -FontSize $FontSize1
$NextYLocation = $EnableCortana.Location.Y + $EnableCortana.Height + $DistanceBetweenButtons
$DisableCortana = Create-Button -Text "Disable Cortana" -Width $SBWidth -Height $SBHeight -LocationX $ButtonX -LocationY $NextYLocation -FontSize $FontSize1
$NextYLocation = $EnableClipboardHistory.Location.Y + $EnableClipboardHistory.Height + $DistanceBetweenButtons
$DisableClipboardHistory = Create-Button -Text "Disable Clipboard History" -Width $SBWidth -Height $SBHeight -LocationX $ButtonX -LocationY $NextYLocation -FontSize $FontSize1
$NextYLocation = $DisableClipboardHistory.Location.Y + $DisableClipboardHistory.Height + $DistanceBetweenButtons
$EnableOldVolumeControl = Create-Button -Text "Enable Old Volume Control" -Width $SBWidth -Height $SBHeight -LocationX $ButtonX -LocationY $NextYLocation -FontSize $FontSize1
$NextYLocation = $EnableOldVolumeControl.Location.Y + $EnableOldVolumeControl.Height + $DistanceBetweenButtons
$DisableOldVolumeControl = Create-Button -Text "Disable Old Volume Control" -Width $SBWidth -Height $SBHeight -LocationX $ButtonX -LocationY $NextYLocation -FontSize $FontSize1
# Panel 3 ~> Big Button
$InstallDrivers = Create-Button -Text "Install CPU/GPU Drivers Updaters" -Width $BBWidth -Height $BBHeight -LocationX $ButtonX -LocationY $FirstButtonY -FontSize $FontSize2 -FontStyle "Italic" -ForeColor $LightBlue
@ -461,7 +473,7 @@ function Show-GUI() {
$FullPanel.Controls.AddRange(@($Panel1, $Panel2, $Panel3, $Panel4))
$Panel1.Controls.AddRange(@($TitleLabel1, $ApplyTweaks, $RemoveXbox, $RepairWindows, $InstallOneDrive, $ReinstallBloatApps, $PictureBox1))
$Panel2.Controls.AddRange(@($TitleLabel2, $RevertScript, $DarkTheme, $LightTheme, $EnableSearchIdx, $DisableSearchIdx, $EnableBgApps, $DisableBgApps, $EnableTelemetry, $DisableTelemetry, $EnableGameBarAndDVR, $DisableGameBarAndDVR, $EnableCortana, $DisableCortana))
$Panel2.Controls.AddRange(@($TitleLabel2, $RevertScript, $DarkTheme, $LightTheme, $EnableSearchIdx, $DisableSearchIdx, $EnableBgApps, $DisableBgApps, $EnableTelemetry, $DisableTelemetry, $EnableCortana, $DisableCortana, $EnableGameBarAndDVR, $DisableGameBarAndDVR, $EnableClipboardHistory, $DisableClipboardHistory, $EnableOldVolumeControl, $DisableOldVolumeControl))
$Panel3.Controls.AddRange(@($InstallDrivers, $CaptionLabel3_1, $BraveBrowser, $GoogleChrome, $MozillaFirefox))
$Panel3.Controls.AddRange(@($CaptionLabel3_2, $7Zip, $WinRar))
@ -674,6 +686,27 @@ function Show-GUI() {
Show-Message -Title "$DoneTitle" -Message "$DoneMessage"
})
$EnableCortana.Add_Click( {
Push-Location "$PSScriptRoot\src\utils\"
Write-Host "[+] Enabling Cortana..."
regedit /s enable-cortana.reg
Pop-Location
Show-Message -Title "$DoneTitle" -Message "$DoneMessage"
})
$DisableCortana.Add_Click( {
Push-Location "$PSScriptRoot\src\utils\"
Write-Host "[-] Disabling Cortana..."
regedit /s disable-cortana.reg
Pop-Location
Show-Message -Title "$DoneTitle" -Message "$DoneMessage"
})
$EnableGameBarAndDVR.Add_Click( {
Push-Location "$PSScriptRoot\src\utils\"
@ -694,22 +727,41 @@ function Show-GUI() {
Show-Message -Title "$DoneTitle" -Message "$DoneMessage"
})
$EnableClipboardHistory.Add_Click( {
Push-Location "$PSScriptRoot\src\utils\"
$EnableCortana.Add_Click( {
Write-Host "[+] Enabling ClipboardHistory..."
regedit /s enable-clipboard-history.reg
Pop-Location
Show-Message -Title "$DoneTitle" -Message "$DoneMessage"
})
$DisableClipboardHistory.Add_Click( {
Push-Location "$PSScriptRoot\src\utils\"
Write-Host "[+] Enabling Cortana..."
regedit /s enable-cortana.reg
Write-Host "[-] Disabling Clipboard History..."
regedit /s disable-clipboard-history.reg
Pop-Location
Show-Message -Title "$DoneTitle" -Message "$DoneMessage"
})
$DisableCortana.Add_Click( {
$EnableOldVolumeControl.Add_Click( {
Push-Location "$PSScriptRoot\src\utils\"
Write-Host "[-] Disabling Cortana..."
regedit /s disable-cortana.reg
Write-Host "[+] Enabling Old Volume Control..."
regedit /s enable-old-volume-control.reg
Pop-Location
Show-Message -Title "$DoneTitle" -Message "$DoneMessage"
})
$DisableOldVolumeControl.Add_Click( {
Push-Location "$PSScriptRoot\src\utils\"
Write-Host "[-] Disabling Old Volume Control..."
regedit /s disable-old-volume-control.reg
Pop-Location
Show-Message -Title "$DoneTitle" -Message "$DoneMessage"

Binary file not shown.

Before

Width:  |  Height:  |  Size: 346 KiB

After

Width:  |  Height:  |  Size: 359 KiB

@ -26,6 +26,8 @@ function Install-PersonalTweaks() {
regedit /s disable-cortana.reg
Write-Host "[+][Personal] Enabling photo viewer..."
regedit /s enable-photo-viewer.reg
Write-Host "[-][Personal] Disabling clipboard history..."
regedit /s disable-clipboard-history.reg
Pop-Location
@ -57,7 +59,7 @@ function Install-PersonalTweaks() {
Write-Host "$($EnableStatus[0]) Aero-Shake Minimize feature..."
Set-ItemProperty -Path "$PathToCUExplorerAdvanced" -Name "DisallowShaking" -Type DWord -Value $One
# [@] (1 = This PC, 2 = Quick access)
# [@] (1 = This PC, 2 = Quick access) # DO NOT REVERT (BREAKS EXPLORER.EXE)
Write-Host "$[+][Personal] Setting Windows Explorer to start on This PC instead of Quick Access..."
Set-ItemProperty -Path "$PathToCUExplorerAdvanced" -Name "LaunchTo" -Type DWord -Value 1

@ -0,0 +1,7 @@
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\System]
"AllowClipboardHistory"=dword:00000000
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Clipboard]
"EnableClipboardHistory"=dword:00000000

@ -0,0 +1,4 @@
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\MTCUVC]
"EnableMtcUvc"=dword:00000001

@ -0,0 +1,7 @@
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\System]
"AllowClipboardHistory"=dword:00000001
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Clipboard]
"EnableClipboardHistory"=dword:00000001

@ -0,0 +1,4 @@
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\MTCUVC]
"EnableMtcUvc"=dword:00000000
Loading…
Cancel
Save