mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2024-12-22 05:51:30 -06:00
Test 10 2022 - The GUI Overhaul (#266)
* Create KnownIssues.md * Formatting and New Appx Function Fix formatting and added an appx function for grabbing and debloating Microsoft apps. There is also a program uninstall feature added for removing HP programs built in to new HP PCs. * Update README.md (#251) * Added Documentation from #159 * Cleanup and Program Adds * Trying Uniform Stretch * Initial GUI Revamp * Fall 2022 Program Additions Too many to list. * Added ToolTips to Tweaks * Change in App Removal * Update README.md * Add Reset News and Interest to Undo all * Add Wait-Process to Program Installs * Autologin Addition * Prep for main merge
This commit is contained in:
parent
912a9b36aa
commit
a0a8b190dc
7
.gitignore
vendored
7
.gitignore
vendored
@ -9,3 +9,10 @@ winutil.pdb
|
||||
*.zip
|
||||
package.psd1
|
||||
/.idea/
|
||||
.vs/ProjectSettings.json
|
||||
.vs/slnx.sqlite
|
||||
.vs/VSWorkspaceState.json
|
||||
.vs/winutil/FileContentIndex/eb340bad-4fa2-4d04-a61a-74ed6a04cdd9.vsidx
|
||||
.vs/winutil/FileContentIndex/read.lock
|
||||
.vs/winutil/v17/.suo
|
||||
/out/
|
||||
|
33
KnownIssues.md
Normal file
33
KnownIssues.md
Normal file
@ -0,0 +1,33 @@
|
||||
## Known Issues and Fixes
|
||||
- [#333](https://github.com/ChrisTitusTech/win10script/issues/333) Windows taking longer to shut down:
|
||||
- Turn on fast startup: Press Windows key + R, then type:
|
||||
```
|
||||
control /name Microsoft.PowerOptions /page pageGlobalSettings
|
||||
```
|
||||
- If that doesn't work, Disable Hibernation: Press Windows Key+X and select 'PowerShell (Admin)' (Windows 10) or 'Windows Terminal (Admin)' (Windows 11) and enter:
|
||||
```
|
||||
powercfg /H off
|
||||
```
|
||||
- [#253](https://github.com/ChrisTitusTech/win10script/issues/253) Windows Search does not work: Enable Background Apps
|
||||
- [#278](https://github.com/ChrisTitusTech/win10script/issues/278) Xbox Game Bar Activation Broken: Set the Xbox Accessory Management Service to Automatic
|
||||
```
|
||||
Get-Service -Name "XboxGipSvc" | Set-Service -StartupType Automatic
|
||||
```
|
||||
- [#250](https://github.com/ChrisTitusTech/win10script/issues/250) Windows Insider Builds not installing: Telemetry needs to be enabled
|
||||
```
|
||||
Set-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\DataCollection" -Name "AllowTelemetry" -Type DWord -Value 0
|
||||
Set-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\DataCollection" -Name "AllowTelemetry" -Type DWord -Value 0
|
||||
```
|
||||
- [#245](https://github.com/ChrisTitusTech/win10script/issues/245) winget requires interaction on first run: Manually type 'y' and 'enter' into the PowerShell console to continue
|
||||
- [#237](https://github.com/ChrisTitusTech/win10script/issues/237) (Windows 11) Quick Settings no longer works: Launch the Script and click 'Enable Action Center'
|
||||
- [#214](https://github.com/ChrisTitusTech/win10script/issues/214) [#165](https://github.com/ChrisTitusTech/win10script/issues/165) [#150](https://github.com/ChrisTitusTech/win10script/issues/150) Explorer no longer launches: Go to Control Panel, File Explorer Options, Change the 'Open File Explorer to' option to 'This PC'.
|
||||
- [#199](https://github.com/ChrisTitusTech/win10script/issues/199) [#216](https://github.com/ChrisTitusTech/win10script/issues/216) [#233](https://github.com/ChrisTitusTech/win10script/issues/233) [#242](https://github.com/ChrisTitusTech/win10script/issues/242) [#208](https://github.com/ChrisTitusTech/win10script/issues/208) Script doesn't run/PowerShell crashes:
|
||||
1. Press Windows Key+X and select 'PowerShell (Admin)' (Windows 10) or 'Windows Terminal (Admin)' (Windows 11)
|
||||
2. Run:
|
||||
```
|
||||
Set-ExecutionPolicy Unrestricted -Scope Process -Force
|
||||
```
|
||||
3. Run:
|
||||
```
|
||||
irm christitus.com/win | iex
|
||||
```
|
210
MainWindow.xaml
210
MainWindow.xaml
@ -6,52 +6,65 @@
|
||||
xmlns:local="clr-namespace:WinUtility"
|
||||
mc:Ignorable="d"
|
||||
Background="#777777"
|
||||
Title="Chris Titus Tech's Windows Utility" Height="533" Width="786">
|
||||
<Viewbox>
|
||||
WindowStartupLocation="CenterScreen"
|
||||
Title="Chris Titus Tech's Windows Utility" Height="800" Width="1200">
|
||||
<Border Name="dummy" Grid.Column="0" Grid.Row="0">
|
||||
<Viewbox Stretch="Uniform" VerticalAlignment="Top">
|
||||
<Grid Background="#777777" ShowGridLines="False" Name="MainGrid">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height=".1*"/>
|
||||
<RowDefinition Height=".9*"/>
|
||||
</Grid.RowDefinitions>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="3*"/>
|
||||
<ColumnDefinition Width="7*"/>
|
||||
<ColumnDefinition Width="*"/>
|
||||
</Grid.ColumnDefinitions>
|
||||
<StackPanel Background="#777777" SnapsToDevicePixels="True" Grid.Column="0">
|
||||
<Image Height="200" Width="200" Name="Icon" SnapsToDevicePixels="True" Source="https://christitus.com/images/logo-full.png" Margin="0,10,0,10"/>
|
||||
<Button Content="Install" VerticalAlignment="Top" Height="40" Background="#222222" BorderThickness="0,0,0,0" FontWeight="Bold" Foreground="#ffffff" Name="Tab1BT"/>
|
||||
<Button Content="Tweaks" VerticalAlignment="Top" Height="40" Background="#333333" BorderThickness="0,0,0,0" FontWeight="Bold" Foreground="#ffffff" Name="Tab2BT"/>
|
||||
<Button Content="Config" VerticalAlignment="Top" Height="40" Background="#444444" BorderThickness="0,0,0,0" FontWeight="Bold" Foreground="#ffffff" Name="Tab3BT"/>
|
||||
<Button Content="Updates" VerticalAlignment="Top" Height="40" Background="#555555" BorderThickness="0,0,0,0" FontWeight="Bold" Foreground="#ffffff" Name="Tab4BT"/>
|
||||
</StackPanel>
|
||||
<TabControl Grid.Column="1" Padding="-1" Name="TabNav" SelectedIndex="0">
|
||||
<DockPanel Background="#777777" SnapsToDevicePixels="True" Grid.Row="0" Width="1100">
|
||||
<Image Height="50" Width="100" Name="Icon" SnapsToDevicePixels="True" Source="https://christitus.com/images/logo-full.png" Margin="0,10,0,10"/>
|
||||
<Button Content="Install" HorizontalAlignment="Left" Height="40" Width="100" Background="#222222" BorderThickness="0,0,0,0" FontWeight="Bold" Foreground="#ffffff" Name="Tab1BT"/>
|
||||
<Button Content="Tweaks" HorizontalAlignment="Left" Height="40" Width="100" Background="#333333" BorderThickness="0,0,0,0" FontWeight="Bold" Foreground="#ffffff" Name="Tab2BT"/>
|
||||
<Button Content="Config" HorizontalAlignment="Left" Height="40" Width="100" Background="#444444" BorderThickness="0,0,0,0" FontWeight="Bold" Foreground="#ffffff" Name="Tab3BT"/>
|
||||
<Button Content="Updates" HorizontalAlignment="Left" Height="40" Width="100" Background="#555555" BorderThickness="0,0,0,0" FontWeight="Bold" Foreground="#ffffff" Name="Tab4BT"/>
|
||||
</DockPanel>
|
||||
<TabControl Grid.Row="1" Padding="-1" Name="TabNav" Background="#222222">
|
||||
<TabItem Header="Install" Visibility="Collapsed" Name="Tab1">
|
||||
<Grid Background="#222222">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="1*"/>
|
||||
<ColumnDefinition Width="1*"/>
|
||||
<ColumnDefinition Width="1*"/>
|
||||
<ColumnDefinition Width="*"/>
|
||||
<ColumnDefinition Width="*"/>
|
||||
<ColumnDefinition Width="*"/>
|
||||
<ColumnDefinition Width="*"/>
|
||||
<ColumnDefinition Width="*"/>
|
||||
</Grid.ColumnDefinitions>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="*"/>
|
||||
</Grid.RowDefinitions>
|
||||
<StackPanel Background="#777777" SnapsToDevicePixels="True" Grid.Column="0" Margin="10">
|
||||
<Label Content="Browsers" FontSize="16" Margin="5,0"/>
|
||||
<CheckBox Name="Installbrave" Content="Brave" Margin="5,0"/>
|
||||
<CheckBox Name="Installchrome" Content="Google Chrome" Margin="5,0"/>
|
||||
<CheckBox Name="Installchromium" Content="Un-Googled Chromium" Margin="5,0"/>
|
||||
<CheckBox Name="Installchrome" Content="Chrome" Margin="5,0"/>
|
||||
<CheckBox Name="Installchromium" Content="Chromium" Margin="5,0"/>
|
||||
<CheckBox Name="Installfirefox" Content="Firefox" Margin="5,0"/>
|
||||
<CheckBox Name="Installlibrewolf" Content="LibreWolf" Margin="5,0"/>
|
||||
<CheckBox Name="Installvivaldi" Content="Vivaldi" Margin="5,0"/>
|
||||
<CheckBox Name="Installtor" Content="Tor Browser" Margin="5,0"/>
|
||||
<CheckBox Name="Installvivaldi" Content="Vivaldi" Margin="5,0"/>
|
||||
|
||||
|
||||
<Label Content="Communications" FontSize="16" Margin="5,0"/>
|
||||
<CheckBox Name="Installdiscord" Content="Discord" Margin="5,0"/>
|
||||
<CheckBox Name="Installhexchat" Content="Hexchat" Margin="5,0"/>
|
||||
<CheckBox Name="Installjami" Content="Jami" Margin="5,0"/>
|
||||
<CheckBox Name="Installmatrix" Content="Matrix" Margin="5,0"/>
|
||||
<CheckBox Name="Installsignal" Content="Signal" Margin="5,0"/>
|
||||
<CheckBox Name="Installskype" Content="Skype" Margin="5,0"/>
|
||||
<CheckBox Name="Installslack" Content="Slack" Margin="5,0"/>
|
||||
<CheckBox Name="Installteams" Content="Teams" Margin="5,0"/>
|
||||
<CheckBox Name="Installviber" Content="Viber" Margin="5,0"/>
|
||||
<CheckBox Name="Installteams" Content="Microsoft Teams" Margin="5,0"/>
|
||||
<CheckBox Name="Installzoom" Content="Zoom Video Conference" Margin="5,0"/>
|
||||
|
||||
|
||||
<CheckBox Name="Installzoom" Content="Zoom" Margin="5,0"/>
|
||||
</StackPanel>
|
||||
<StackPanel Background="#777777" SnapsToDevicePixels="True" Grid.Column="1" Margin="10">
|
||||
<Label Content="Development" FontSize="16" Margin="5,0"/>
|
||||
<CheckBox Name="Installatom" Content="Atom" Margin="5,0"/>
|
||||
<CheckBox Name="Installgit" Content="Git" Margin="5,0"/>
|
||||
<CheckBox Name="Installgithubdesktop" Content="GitHub Desktop" Margin="5,0"/>
|
||||
<CheckBox Name="Installjava8" Content="OpenJDK Java 8" Margin="5,0"/>
|
||||
<CheckBox Name="Installjava16" Content="OpenJDK Java 16" Margin="5,0"/>
|
||||
@ -62,19 +75,24 @@
|
||||
<CheckBox Name="Installpython3" Content="Python3" Margin="5,0"/>
|
||||
<CheckBox Name="Installrustlang" Content="Rust" Margin="5,0"/>
|
||||
<CheckBox Name="Installsublime" Content="Sublime" Margin="5,0"/>
|
||||
<CheckBox Name="Installvisualstudio" Content="Visual Studio 2022 Community" Margin="5,0"/>
|
||||
<CheckBox Name="Installvisualstudio" Content="Visual Studio 2022" Margin="5,0"/>
|
||||
<CheckBox Name="Installvscode" Content="VS Code" Margin="5,0"/>
|
||||
<CheckBox Name="Installvscodium" Content="VS Codium" Margin="5,0"/>
|
||||
|
||||
</StackPanel>
|
||||
<StackPanel Background="#777777" SnapsToDevicePixels="True" Grid.Column="1" Margin="10">
|
||||
<StackPanel Background="#777777" SnapsToDevicePixels="True" Grid.Column="2" Margin="10">
|
||||
|
||||
<Label Content="Document" FontSize="16" Margin="5,0"/>
|
||||
<CheckBox Name="Installadobe" Content="Adobe Reader DC" Margin="5,0"/>
|
||||
<CheckBox Name="Installfoxpdf" Content="Foxit PDF" Margin="5,0"/>
|
||||
<CheckBox Name="Installjoplin" Content="Joplin (FOSS Notes)" Margin="5,0"/>
|
||||
<CheckBox Name="Installlibreoffice" Content="LibreOffice" Margin="5,0"/>
|
||||
<CheckBox Name="Installnotepadplus" Content="Notepad++" Margin="5,0"/>
|
||||
<CheckBox Name="Installobsidian" Content="Obsidian" Margin="5,0"/>
|
||||
<CheckBox Name="Installonlyoffice" Content="ONLYOffice Desktop" Margin="5,0"/>
|
||||
<CheckBox Name="Installopenoffice" Content="Apache OpenOffice" Margin="5,0"/>
|
||||
<CheckBox Name="Installsumatra" Content="Sumatra PDF" Margin="5,0"/>
|
||||
<CheckBox Name="Installwinmerge" Content="WinMerge" Margin="5,0"/>
|
||||
|
||||
<Label Content="Games" FontSize="16" Margin="5,0"/>
|
||||
<CheckBox Name="Installepicgames" Content="Epic Games Launcher" Margin="5,0"/>
|
||||
@ -85,13 +103,26 @@
|
||||
<CheckBox Name="Installadvancedip" Content="Advanced IP Scanner" Margin="5,0"/>
|
||||
<CheckBox Name="Installmremoteng" Content="mRemoteNG" Margin="5,0"/>
|
||||
<CheckBox Name="Installputty" Content="Putty" Margin="5,0"/>
|
||||
<CheckBox Name="Installrustdesk" Content="Rust Remote Desktop (FOSS)" Margin="5,0"/>
|
||||
<CheckBox Name="Installsimplewall" Content="SimpleWall" Margin="5,0"/>
|
||||
<CheckBox Name="Installscp" Content="WinSCP" Margin="5,0"/>
|
||||
<CheckBox Name="Installwireshark" Content="WireShark" Margin="5,0"/>
|
||||
<CheckBox Name="Installsimplewall" Content="SimpleWall" Margin="5,0"/>
|
||||
|
||||
</StackPanel>
|
||||
<StackPanel Background="#777777" SnapsToDevicePixels="True" Grid.Column="3" Margin="10">
|
||||
<Label Content="Microsoft Tools" FontSize="16" Margin="5,0"/>
|
||||
<CheckBox Name="Installdotnet3" Content=".NET Desktop Runtime 3.1" Margin="5,0"/>
|
||||
<CheckBox Name="Installdotnet5" Content=".NET Desktop Runtime 5" Margin="5,0"/>
|
||||
<CheckBox Name="Installdotnet6" Content=".NET Desktop Runtime 6" Margin="5,0"/>
|
||||
<CheckBox Name="Installpowertoys" Content="Microsoft Powertoys" Margin="5,0"/>
|
||||
<CheckBox Name="Installvc2015_64" Content="Visual C++ 2015-2022 64-bit" Margin="5,0"/>
|
||||
<CheckBox Name="Installvc2015_32" Content="Visual C++ 2015-2022 32-bit" Margin="5,0"/>
|
||||
<CheckBox Name="Installterminal" Content="Windows Terminal" Margin="5,0"/>
|
||||
|
||||
<Label Content="Multimedia Tools" FontSize="16" Margin="5,0"/>
|
||||
<CheckBox Name="Installaudacity" Content="Audacity" Margin="5,0"/>
|
||||
<CheckBox Name="Installblender" Content="Blender (3D Graphics)" Margin="5,0"/>
|
||||
<CheckBox Name="Installcider" Content="Cider (FOSS Music Player)" Margin="5,0"/>
|
||||
<CheckBox Name="Installeartrumpet" Content="Eartrumpet (Audio)" Margin="5,0"/>
|
||||
<CheckBox Name="Installflameshot" Content="Flameshot (Screenshots)" Margin="5,0"/>
|
||||
<CheckBox Name="Installfoobar" Content="Foobar2000 (Music Player)" Margin="5,0"/>
|
||||
@ -100,17 +131,19 @@
|
||||
<CheckBox Name="Installhandbrake" Content="HandBrake" Margin="5,0"/>
|
||||
<CheckBox Name="Installimageglass" Content="ImageGlass (Image Viewer)" Margin="5,0"/>
|
||||
<CheckBox Name="Installinkscape" Content="Inkscape" Margin="5,0"/>
|
||||
<CheckBox Name="Installitunes" Content="iTunes" Margin="5,0"/>
|
||||
<CheckBox Name="Installkdenlive" Content="Kdenlive (Video Editor)" Margin="5,0"/>
|
||||
<CheckBox Name="Installklite" Content="K-Lite Codec Standard" Margin="5,0"/>
|
||||
<CheckBox Name="Installmpc" Content="Media Player Classic (Video Player)" Margin="5,0"/>
|
||||
<CheckBox Name="Installobs" Content="OBS Studio" Margin="5,0"/>
|
||||
<CheckBox Name="Installsharex" Content="ShareX (Screenshots)" Margin="5,0"/>
|
||||
<CheckBox Name="Installspotify" Content="Spotify" Margin="5,0"/>
|
||||
<CheckBox Name="Installvlc" Content="VLC (Video Player)" Margin="5,0"/>
|
||||
<CheckBox Name="Installkdenlive" Content="Kdenlive (Video Editor)" Margin="5,0"/>
|
||||
<CheckBox Name="Installvoicemeeter" Content="Voicemeeter (Audio)" Margin="5,0"/>
|
||||
|
||||
</StackPanel>
|
||||
<StackPanel Background="#777777" SnapsToDevicePixels="True" Grid.Column="2" Margin="10">
|
||||
|
||||
<StackPanel Background="#777777" SnapsToDevicePixels="True" Grid.Column="4" Margin="10">
|
||||
<Label Content="Utilities" FontSize="16" Margin="5,0"/>
|
||||
<CheckBox Name="Installsevenzip" Content="7-Zip" Margin="5,0"/>
|
||||
<CheckBox Name="Installalacritty" Content="Alacritty Terminal" Margin="5,0"/>
|
||||
<CheckBox Name="Installanydesk" Content="AnyDesk" Margin="5,0"/>
|
||||
<CheckBox Name="Installautohotkey" Content="AutoHotkey" Margin="5,0"/>
|
||||
@ -118,24 +151,26 @@
|
||||
<CheckBox Name="Installcpuz" Content="CPU-Z" Margin="5,0"/>
|
||||
<CheckBox Name="Installetcher" Content="Etcher USB Creator" Margin="5,0"/>
|
||||
<CheckBox Name="Installesearch" Content="Everything Search" Margin="5,0"/>
|
||||
<CheckBox Name="Installflux" Content="f.lux Redshift" Margin="5,0"/>
|
||||
<CheckBox Name="Installgpuz" Content="GPU-Z" Margin="5,0"/>
|
||||
<CheckBox Name="Installglaryutilities" Content="Glary Utilities" Margin="5,0"/>
|
||||
<CheckBox Name="Installhwinfo" Content="HWInfo" Margin="5,0"/>
|
||||
<CheckBox Name="Installidm" Content="Internet Download Manager" Margin="5,0"/>
|
||||
<CheckBox Name="Installjdownloader" Content="J Download Manager" Margin="5,0"/>
|
||||
<CheckBox Name="Installkeepass" Content="KeePassXC" Margin="5,0"/>
|
||||
<CheckBox Name="Installmalwarebytes" Content="MalwareBytes" Margin="5,0"/>
|
||||
<CheckBox Name="Installnvclean" Content="NVCleanstall" Margin="5,0"/>
|
||||
<CheckBox Name="Installpowertoys" Content="Microsoft Powertoys" Margin="5,0"/>
|
||||
<CheckBox Name="Installprocesslasso" Content="Process Lasso" Margin="5,0"/>
|
||||
<CheckBox Name="Installrevo" Content="RevoUninstaller" Margin="5,0"/>
|
||||
<CheckBox Name="Installrufus" Content="Rufus Imager" Margin="5,0"/>
|
||||
<CheckBox Name="Installsevenzip" Content="7-Zip" Margin="5,0"/>
|
||||
<CheckBox Name="Installsandboxie" Content="Sandboxie Plus" Margin="5,0"/>
|
||||
<CheckBox Name="Installshell" Content="Shell (Expanded Context Menu)" Margin="5,0"/>
|
||||
<CheckBox Name="Installteamviewer" Content="TeamViewer" Margin="5,0"/>
|
||||
<CheckBox Name="Installttaskbar" Content="Translucent Taskbar" Margin="5,0"/>
|
||||
<CheckBox Name="Installtreesize" Content="TreeSize Free" Margin="5,0"/>
|
||||
<CheckBox Name="Installtwinkletray" Content="Twinkle Tray" Margin="5,0"/>
|
||||
<CheckBox Name="Installwindirstat" Content="WinDirStat" Margin="5,0"/>
|
||||
<CheckBox Name="Installwiztree" Content="WizTree" Margin="5,0"/>
|
||||
<CheckBox Name="Installterminal" Content="Windows Terminal" Margin="5,0"/>
|
||||
<CheckBox Name="Installidm" Content="Internet Download Manager" Margin="5,0"/>
|
||||
<CheckBox Name="Installtwinkletray" Content="Twinkle Tray" Margin="5,0"/>
|
||||
<Button Name="install" Background="AliceBlue" Content="Start Install" Margin="20,5,20,5" ToolTip="Install all checked programs"/>
|
||||
<Button Name="InstallUpgrade" Background="AliceBlue" Content="Upgrade Installs" Margin="20,5,20,5" ToolTip="Upgrade All Existing Programs on System"/>
|
||||
|
||||
@ -145,56 +180,62 @@
|
||||
<TabItem Header="Tweaks" Visibility="Collapsed" Name="Tab2">
|
||||
<Grid Background="#333333">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="1*"/>
|
||||
<ColumnDefinition Width="1*"/>
|
||||
<ColumnDefinition Width="*"/>
|
||||
<ColumnDefinition Width="*"/>
|
||||
</Grid.ColumnDefinitions>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="1*"/>
|
||||
<RowDefinition Height="6*"/>
|
||||
<RowDefinition Height=".10*"/>
|
||||
<RowDefinition Height=".10*"/>
|
||||
<RowDefinition Height=".80*"/>
|
||||
</Grid.RowDefinitions>
|
||||
<StackPanel Background="#777777" Orientation="Horizontal" Grid.Row="0" HorizontalAlignment="Center" Grid.ColumnSpan="2">
|
||||
<StackPanel Background="#777777" Orientation="Horizontal" Grid.Row="0" HorizontalAlignment="Center" Grid.ColumnSpan="2" Margin="10">
|
||||
<Label Content="Recommended Selections:" FontSize="17" VerticalAlignment="Center"/>
|
||||
<Button Name="desktop" Content="Desktop" Margin="7"/>
|
||||
<Button Name="laptop" Content="Laptop" Margin="7"/>
|
||||
<Button Name="minimal" Content="Minimal" Margin="7"/>
|
||||
</StackPanel>
|
||||
<StackPanel Background="#777777" SnapsToDevicePixels="True" Grid.Row="1" Grid.Column="0" Margin="10,5">
|
||||
<StackPanel Background="#777777" Orientation="Horizontal" Grid.Row="1" HorizontalAlignment="Center" Grid.ColumnSpan="2" Margin="10">
|
||||
<TextBlock Padding="10">
|
||||
Note: Hover over items to get a better description. Please be careful as many of these tweaks will heavily modify your system.
|
||||
<LineBreak/>Recommended selections are for normal users and if you are unsure do NOT check anything else!
|
||||
</TextBlock>
|
||||
</StackPanel>
|
||||
<StackPanel Background="#777777" SnapsToDevicePixels="True" Grid.Row="2" Grid.Column="0" Margin="10,5">
|
||||
<Label FontSize="16" Content="Essential Tweaks"/>
|
||||
<CheckBox Name="EssTweaksRP" Content="Create Restore Point" Margin="5,0"/>
|
||||
<CheckBox Name="EssTweaksOO" Content="Run O and O Shutup" Margin="5,0"/>
|
||||
|
||||
<CheckBox Name="EssTweaksTele" Content="Disable Telemetry" Margin="5,0"/>
|
||||
<CheckBox Name="EssTweaksWifi" Content="Disable Wifi-Sense" Margin="5,0"/>
|
||||
<CheckBox Name="EssTweaksAH" Content="Disable Activity History" Margin="5,0"/>
|
||||
<CheckBox Name="EssTweaksDeleteTempFiles" Content="Delete Temporary Files" Margin="5,0"/>
|
||||
<CheckBox Name="EssTweaksDiskCleanup" Content="Run Disk Cleanup" Margin="5,0"/>
|
||||
<CheckBox Name="EssTweaksLoc" Content="Disable Location Tracking" Margin="5,0"/>
|
||||
<CheckBox Name="EssTweaksHome" Content="Disable Homegroup" Margin="5,0"/>
|
||||
<CheckBox Name="EssTweaksStorage" Content="Disable Storage Sense" Margin="5,0"/>
|
||||
<CheckBox Name="EssTweaksHiber" Content="Disable Hibernation" Margin="5,0"/>
|
||||
<CheckBox Name="EssTweaksDVR" Content="Disable GameDVR" Margin="5,0"/>
|
||||
<CheckBox Name="EssTweaksServices" Content="Set Services to Manual" Margin="5,0"/>
|
||||
<CheckBox Name="EssTweaksRP" Content="Create Restore Point" Margin="5,0" ToolTip="Creates a Windows Restore point before modifying system. Can use Windows System Restore to rollback to before tweaks were applied"/>
|
||||
<CheckBox Name="EssTweaksOO" Content="Run OO Shutup" Margin="5,0" ToolTip="Runs OO Shutup from https://www.oo-software.com/en/shutup10"/>
|
||||
<CheckBox Name="EssTweaksTele" Content="Disable Telemetry" Margin="5,0" ToolTip="Disables Microsoft Telemetry. Note: This will lock many Edge Browser settings. Microsoft spys heavily on you when using the Edge browser."/>
|
||||
<CheckBox Name="EssTweaksWifi" Content="Disable Wifi-Sense" Margin="5,0" ToolTip="Wifi Sense is a spying service that phones home all nearby scaned wifi networks and your current geo location."/>
|
||||
<CheckBox Name="EssTweaksAH" Content="Disable Activity History" Margin="5,0" ToolTip="This erases recent docs, clipboard, and run history."/>
|
||||
<CheckBox Name="EssTweaksDeleteTempFiles" Content="Delete Temporary Files" Margin="5,0" ToolTip="Erases TEMP Folders"/>
|
||||
<CheckBox Name="EssTweaksDiskCleanup" Content="Run Disk Cleanup" Margin="5,0" ToolTip="Runs Disk Cleanup on Drive C: and removes old Windows Updates."/>
|
||||
<CheckBox Name="EssTweaksLoc" Content="Disable Location Tracking" Margin="5,0" ToolTip="Disables Location Tracking...DUH!"/>
|
||||
<CheckBox Name="EssTweaksHome" Content="Disable Homegroup" Margin="5,0" ToolTip="Disables HomeGroup - Windows 11 doesn't have this, it was awful."/>
|
||||
<CheckBox Name="EssTweaksStorage" Content="Disable Storage Sense" Margin="5,0" ToolTip="Storage Sense is supposed to delete temp files automatically, but often runs at wierd times and mostly doesn't do much. Although when it was introduced in Win 10 (1809 Version) it deleted people's documents... So there is that."/>
|
||||
<CheckBox Name="EssTweaksHiber" Content="Disable Hibernation" Margin="5,0" ToolTip="Hibernation is really meant for laptops as it saves whats in memory before turning the pc off. It really should never be used, but some people are lazy and rely on it. Don't be like Bob. Bob likes hibernation."/>
|
||||
<CheckBox Name="EssTweaksDVR" Content="Disable GameDVR" Margin="5,0" ToolTip="GameDVR is a Windows App that is a dependancy for some Store Games. I've never met someone that likes it, but it's there for the XBOX crowd."/>
|
||||
<CheckBox Name="EssTweaksServices" Content="Set Services to Manual" Margin="5,0" ToolTip="Turns a bunch of system services to manual that don't need to be running all the time. This is pretty harmless as if the service is needed, it will simply start on demand."/>
|
||||
<Label Content="Dark Theme" />
|
||||
<Button Name="EnableDarkMode" Background="AliceBlue" Content="Enable" Margin="60,0" />
|
||||
<Button Name="DisableDarkMode" Background="AliceBlue" Content="Disable" Margin="60,0"/>
|
||||
|
||||
</StackPanel>
|
||||
<StackPanel Background="#777777" SnapsToDevicePixels="True" Grid.Row="1" Grid.Column="1" Margin="10,5">
|
||||
<StackPanel Background="#777777" SnapsToDevicePixels="True" Grid.Row="2" Grid.Column="1" Margin="10,5">
|
||||
<Label FontSize="16" Content="Misc. Tweaks"/>
|
||||
<CheckBox Name="MiscTweaksPower" Content="Disable Power Throttling" Margin="5,0"/>
|
||||
<CheckBox Name="MiscTweaksLapPower" Content="Enable Power Throttling" Margin="5,0"/>
|
||||
<CheckBox Name="MiscTweaksNum" Content="Enable NumLock on Startup" Margin="5,0"/>
|
||||
<CheckBox Name="MiscTweaksLapNum" Content="Disable Numlock on Startup" Margin="5,0"/>
|
||||
<CheckBox Name="MiscTweaksPower" Content="Disable Power Throttling" Margin="5,0" ToolTip="This is mainly for Laptops, It disables Power Throttling and will use more battery."/>
|
||||
<CheckBox Name="MiscTweaksLapPower" Content="Enable Power Throttling" Margin="5,0" ToolTip="ONLY FOR LAPTOPS! Do not use on a desktop."/>
|
||||
<CheckBox Name="MiscTweaksNum" Content="Enable NumLock on Startup" Margin="5,0" ToolTip="This creates a time vortex and send you back to the past... or it simply turns numlock on at startup"/>
|
||||
<CheckBox Name="MiscTweaksLapNum" Content="Disable Numlock on Startup" Margin="5,0" ToolTip="Disables Numlock... Very useful when you are on a laptop WITHOUT 9-key and this fixes that issue when the numlock is enabled!"/>
|
||||
<CheckBox Name="MiscTweaksExt" Content="Show File Extensions" Margin="5,0"/>
|
||||
<CheckBox Name="MiscTweaksDisplay" Content="Set Display for Performance" Margin="5,0"/>
|
||||
<CheckBox Name="MiscTweaksUTC" Content="Set Time to UTC (Dual Boot)" Margin="5,0"/>
|
||||
<CheckBox Name="MiscTweaksDisableUAC" Content="Disable UAC" Margin="5,0"/>
|
||||
<CheckBox Name="MiscTweaksDisableNotifications" Content="Disable Notification" Margin="5,0"/>
|
||||
<CheckBox Name="MiscTweaksDisableTPMCheck" Content="Disable TPM on Update" Margin="5,0"/>
|
||||
<CheckBox Name="EssTweaksDeBloat" Content="Remove ALL MS Store Apps" Margin="5,0"/>
|
||||
<CheckBox Name="EssTweaksRemoveCortana" Content="Remove Cortana" Margin="5,0"/>
|
||||
<CheckBox Name="EssTweaksRemoveEdge" Content="Remove Microsoft Edge" Margin="5,0"/>
|
||||
<CheckBox Name="MiscTweaksRightClickMenu" Content="Set Classic Right-Click Menu " Margin="5,0"/>
|
||||
<CheckBox Name="MiscTweaksDisplay" Content="Set Display for Performance" Margin="5,0" ToolTip="Sets the system preferences to performance. You can do this manually with sysdm.cpl as well."/>
|
||||
<CheckBox Name="MiscTweaksUTC" Content="Set Time to UTC (Dual Boot)" Margin="5,0" ToolTip="Essential for computers that are dual booting. Fixes the time sync with Linux Systems."/>
|
||||
<CheckBox Name="MiscTweaksDisableUAC" Content="Disable UAC" Margin="5,0" ToolTip="Disables User Account Control. Only recommended for Expert Users."/>
|
||||
<CheckBox Name="MiscTweaksDisableNotifications" Content="Disable Notification" Margin="5,0" ToolTip="Disables all Notifications"/>
|
||||
<CheckBox Name="MiscTweaksDisableTPMCheck" Content="Disable TPM on Update" Margin="5,0" ToolTip="Add the Windows 11 Bypass for those that want to upgrade their Windows 10."/>
|
||||
<CheckBox Name="EssTweaksDeBloat" Content="Remove ALL MS Store Apps" Margin="5,0" ToolTip="USE WITH CAUTION!!!!! This will remove ALL Microsoft store apps other than the essentials to make winget work. Games installed by MS Store ARE INCLUDED!"/>
|
||||
<CheckBox Name="EssTweaksRemoveCortana" Content="Remove Cortana" Margin="5,0" ToolTip="Removes Cortana, but often breaks search... if you are a heavy windows search users, this is NOT recommended."/>
|
||||
<CheckBox Name="EssTweaksRemoveEdge" Content="Remove Microsoft Edge" Margin="5,0" ToolTip="Removes MS Edge when it gets reinstalled by updates."/>
|
||||
<CheckBox Name="MiscTweaksRightClickMenu" Content="Set Classic Right-Click Menu " Margin="5,0" ToolTip="Great Windows 11 tweak to bring back good context menus when right clicking things in explorer."/>
|
||||
<Button Name="tweaksbutton" Background="AliceBlue" Content="Run Tweaks" Margin="20,10,20,0"/>
|
||||
<Button Name="undoall" Background="AliceBlue" Content="Undo All Tweaks" Margin="20,5"/>
|
||||
</StackPanel>
|
||||
@ -203,8 +244,8 @@
|
||||
<TabItem Header="Config" Visibility="Collapsed" Name="Tab3">
|
||||
<Grid Background="#444444">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="1*"/>
|
||||
<ColumnDefinition Width="1*"/>
|
||||
<ColumnDefinition Width="*"/>
|
||||
<ColumnDefinition Width="*"/>
|
||||
</Grid.ColumnDefinitions>
|
||||
<StackPanel Background="#777777" SnapsToDevicePixels="True" Grid.Column="0" Margin="10,5">
|
||||
<Label Content="Features" FontSize="16"/>
|
||||
@ -215,6 +256,7 @@
|
||||
<CheckBox Name="Featurewsl" Content="Windows Subsystem for Linux" Margin="5,0"/>
|
||||
<Button Name="FeatureInstall" FontSize="14" Background="AliceBlue" Content="Install Features" Margin="20,5,20,0" Padding="10"/>
|
||||
<Label Content="Fixes" FontSize="16"/>
|
||||
<Button Name="PanelAutologin" FontSize="14" Background="AliceBlue" Content="Set Up Autologin" Margin="20,5,20,0" Padding="10"/>
|
||||
<Button Name="FixesUpdate" FontSize="14" Background="AliceBlue" Content="Reset Windows Update" Margin="20,5,20,0" Padding="10"/>
|
||||
<Button Name="PanelDISM" FontSize="14" Background="AliceBlue" Content="System Corruption Scan" Margin="20,5,20,0" Padding="10"/>
|
||||
|
||||
@ -232,23 +274,24 @@
|
||||
</TabItem>
|
||||
<TabItem Header="Updates" Visibility="Collapsed" Name="Tab4">
|
||||
<Grid Background="#555555">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition/>
|
||||
<RowDefinition/>
|
||||
<RowDefinition/>
|
||||
</Grid.RowDefinitions>
|
||||
<StackPanel Background="#777777" SnapsToDevicePixels="True" Grid.Row="0" Margin="10,5">
|
||||
|
||||
<TextBlock Text="This is the default settings that come with Windows. No modifications are made and will remove any custom windows update settings." Margin="20,0,20,0" Padding="10" TextWrapping="WrapWithOverflow" MaxWidth="300"/>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="*"/>
|
||||
<ColumnDefinition Width="*"/>
|
||||
<ColumnDefinition Width="*"/>
|
||||
</Grid.ColumnDefinitions>
|
||||
<StackPanel Background="#777777" SnapsToDevicePixels="True" Grid.Column="0" Margin="10,5">
|
||||
<Button Name="Updatesdefault" FontSize="16" Background="AliceBlue" Content="Default (Out of Box) Settings" Margin="20,0,20,10" Padding="10"/>
|
||||
<TextBlock Margin="20,0,20,0" Padding="10" TextWrapping="WrapWithOverflow" MaxWidth="300">This is the default settings that come with Windows. <LineBreak/><LineBreak/> No modifications are made and will remove any custom windows update settings.<LineBreak/><LineBreak/>Note: If you still encounter update errors, reset all updates in the config tab. That will restore ALL Microsoft Update Services from their servers and reinstall them to default settings.</TextBlock>
|
||||
</StackPanel>
|
||||
<StackPanel Background="#777777" SnapsToDevicePixels="True" Grid.Row="1" Margin="10,5">
|
||||
<TextBlock Text="This is my recommended setting I use on all computers. It will delay feature updates by 2 years and will install security updates 4 days after release. These are the settings I use in business environments." Margin="20,0,20,0" Padding="10" TextWrapping="WrapWithOverflow" MaxWidth="300"/>
|
||||
<StackPanel Background="#777777" SnapsToDevicePixels="True" Grid.Column="1" Margin="10,5">
|
||||
<Button Name="Updatessecurity" FontSize="16" Background="AliceBlue" Content="Security (Recommended) Settings" Margin="20,0,20,10" Padding="10"/>
|
||||
<TextBlock Margin="20,0,20,0" Padding="10" TextWrapping="WrapWithOverflow" MaxWidth="300">This is my recommended setting I use on all computers.<LineBreak/><LineBreak/> It will delay feature updates by 2 years and will install security updates 4 days after release.<LineBreak/><LineBreak/>Feature Updates: Adds features and often bugs to systems when they are released. You want to delay these as long as possible.<LineBreak/><LineBreak/>Security Updates: Typically these are pressing security flaws that need to be patched quickly. You only want to delay these a couple of days just to see if they are safe and don't break other systems. You don't want to go without these for ANY extended periods of time.</TextBlock>
|
||||
</StackPanel>
|
||||
<StackPanel Background="#777777" SnapsToDevicePixels="True" Grid.Row="2" Margin="10,5">
|
||||
<TextBlock Text="This completely disables ALL Windows Updates and is NOT RECOMMENDED. You system will be easier to hack and infect without security updates. However, it can be suitable if you use your system for a select purpose and do not actively browse the internet." Margin="20,0,20,0" Padding="10" TextWrapping="WrapWithOverflow" MaxWidth="300"/>
|
||||
<Button Name="Updatesdisable" FontSize="16" Background="AliceBlue" Content="Disable ALL Updates (NOT RECOMMENDED!)" Margin="20,0,20,10" Padding="10"/>
|
||||
<StackPanel Background="#777777" SnapsToDevicePixels="True" Grid.Column="2" Margin="10,5">
|
||||
<Button Name="Updatesdisable" FontSize="16" Background="AliceBlue" Content="Disable ALL Updates (NOT RECOMMENDED!)" Margin="20,0,20,10" Padding="10,10,10,10"/>
|
||||
<TextBlock Margin="20,0,20,0" Padding="10" TextWrapping="WrapWithOverflow" MaxWidth="300">This completely disables ALL Windows Updates and is NOT RECOMMENDED.<LineBreak/><LineBreak/> However, it can be suitable if you use your system for a select purpose and do not actively browse the internet. <LineBreak/><LineBreak/>Note: Your system will be easier to hack and infect without security updates.</TextBlock>
|
||||
<TextBlock Text=" " Margin="20,0,20,0" Padding="10" TextWrapping="WrapWithOverflow" MaxWidth="300"/>
|
||||
|
||||
</StackPanel>
|
||||
|
||||
</Grid>
|
||||
@ -256,4 +299,5 @@
|
||||
</TabControl>
|
||||
</Grid>
|
||||
</Viewbox>
|
||||
</Border>
|
||||
</Window>
|
||||
|
15
README.md
15
README.md
@ -4,6 +4,10 @@ This Utility is a compilation of windows tasks I perform on each Windows system
|
||||
|
||||
![screen-install](screen-install.png)
|
||||
|
||||
Requires you to launch PowerShell or Windows Terminal As ADMINISTRATOR!
|
||||
|
||||
The recommended way is to right click on the start menu and select (PowerShell As Admin *Windows 10* - Windows Terminal As Admin *Windows 11*)
|
||||
|
||||
Launch Command:
|
||||
|
||||
```
|
||||
@ -13,6 +17,10 @@ Or shorter Thanks to [#144](/../../issues/144)
|
||||
```
|
||||
irm christitus.com/win | iex
|
||||
```
|
||||
If you are having TLS 1.2 Issues or You cannot find or resolve `christitus.com/win` then run with the following command:
|
||||
```
|
||||
[Net.ServicePointManager]::SecurityProtocol=[Net.SecurityProtocolType]::Tls12;iex(New-Object Net.WebClient).DownloadString('https://raw.githubusercontent.com/ChrisTitusTech/winutil/main/winutil.ps1')
|
||||
```
|
||||
|
||||
EXE Wrapper for $5 @ https://www.cttstore.com/windows-toolbox
|
||||
|
||||
@ -20,13 +28,20 @@ EXE Wrapper for $5 @ https://www.cttstore.com/windows-toolbox
|
||||
|
||||
- Install
|
||||
- Installs all selected programs
|
||||
- Has Upgrade ALL existing programs button
|
||||
- Tweaks
|
||||
- Optimizes windows and reduces running processes
|
||||
- Has recommended settings for each type of system
|
||||
- Config
|
||||
- Quick configurations for Windows Installs
|
||||
- Has old legacy panels from Windows 7
|
||||
- Reset Windows Update to factory settings
|
||||
- System Corruption Scan
|
||||
- Updates
|
||||
- Fixes the default windows update scheme
|
||||
|
||||
Video and Written Article walkthrough @ <https://christitus.com/windows-tool/>
|
||||
|
||||
## Issues
|
||||
|
||||
If you have any issues with the script please submit them to Issues tab here on GitHub and fill out the template so I can fix any bugs or make feature requests.
|
||||
|
355
winutil.ps1
355
winutil.ps1
@ -34,7 +34,7 @@ catch {
|
||||
$xaml.SelectNodes("//*[@Name]") | ForEach-Object { Set-Variable -Name "WPF$($_.Name)" -Value $Form.FindName($_.Name) }
|
||||
|
||||
Function Get-FormVariables {
|
||||
If ($global:ReadmeDisplay -ne $true) { Write-host "If you need to reference this display again, run Get-FormVariables" -ForegroundColor Yellow; $global:ReadmeDisplay = $true }
|
||||
#If ($global:ReadmeDisplay -ne $true) { Write-host "If you need to reference this display again, run Get-FormVariables" -ForegroundColor Yellow; $global:ReadmeDisplay = $true }
|
||||
|
||||
|
||||
write-host ""
|
||||
@ -163,8 +163,11 @@ $WPFinstall.Add_Click({
|
||||
$wingetinstall.Add("GIMP.GIMP")
|
||||
$WPFInstallgimp.IsChecked = $false
|
||||
}
|
||||
If ( $WPFInstallgithubdesktop.IsChecked -eq $true ) {
|
||||
If ( $WPFInstallgit.IsChecked -eq $true ) {
|
||||
$wingetinstall.Add("Git.Git")
|
||||
$WPFInstallgithubdesktop.IsChecked = $false
|
||||
}
|
||||
If ( $WPFInstallgithubdesktop.IsChecked -eq $true ) {
|
||||
$wingetinstall.Add("GitHub.GitHubDesktop")
|
||||
$WPFInstallgithubdesktop.IsChecked = $false
|
||||
}
|
||||
@ -454,7 +457,87 @@ $WPFinstall.Add_Click({
|
||||
$wingetinstall.Add("xanderfrangos.twinkletray")
|
||||
$WPFInstalltwinkletray.IsChecked = $false
|
||||
}
|
||||
|
||||
# Fall 2022 Additions
|
||||
If ( $WPFInstallshell.IsChecked -eq $true ) {
|
||||
$wingetinstall.Add("Nilesoft.Shell")
|
||||
$WPFInstallshell.IsChecked = $false
|
||||
}
|
||||
If ( $WPFInstallklite.IsChecked -eq $true ) {
|
||||
$wingetinstall.Add("CodecGuide.K-LiteCodecPack.Standard")
|
||||
$WPFInstallklite.IsChecked = $false
|
||||
}
|
||||
If ( $WPFInstallsandboxie.IsChecked -eq $true ) {
|
||||
$wingetinstall.Add("Sandboxie.Plus")
|
||||
$WPFInstallsandboxie.IsChecked = $false
|
||||
}
|
||||
If ( $WPFInstallprocesslasso.IsChecked -eq $true ) {
|
||||
$wingetinstall.Add("BitSum.ProcessLasso")
|
||||
$WPFInstallprocesslasso.IsChecked = $false
|
||||
}
|
||||
If ( $WPFInstallwinmerge.IsChecked -eq $true ) {
|
||||
$wingetinstall.Add("WinMerge.WinMerge")
|
||||
$WPFInstallwinmerge.IsChecked = $false
|
||||
}
|
||||
If ( $WPFInstalldotnet3.IsChecked -eq $true ) {
|
||||
$wingetinstall.Add("Microsoft.DotNet.DesktopRuntime.3_1")
|
||||
$WPFInstalldotnet3.IsChecked = $false
|
||||
}
|
||||
If ( $WPFInstalldotnet5.IsChecked -eq $true ) {
|
||||
$wingetinstall.Add("Microsoft.DotNet.DesktopRuntime.5")
|
||||
$WPFInstalldotnet5.IsChecked = $false
|
||||
}
|
||||
If ( $WPFInstalldotnet6.IsChecked -eq $true ) {
|
||||
$wingetinstall.Add("Microsoft.DotNet.DesktopRuntime.6")
|
||||
$WPFInstalldotnet6.IsChecked = $false
|
||||
}
|
||||
If ( $WPFInstallvc2015_64.IsChecked -eq $true ) {
|
||||
$wingetinstall.Add("Microsoft.VC++2015-2022Redist-x64")
|
||||
$WPFInstallvc2015_64.IsChecked = $false
|
||||
}
|
||||
If ( $WPFInstallvc2015_32.IsChecked -eq $true ) {
|
||||
$wingetinstall.Add("Microsoft.VC++2015-2022Redist-x86")
|
||||
$WPFInstallvc2015_32.IsChecked = $false
|
||||
}
|
||||
If ( $WPFInstallfoxpdf.IsChecked -eq $true ) {
|
||||
$wingetinstall.Add("Foxit.PhantomPDF")
|
||||
$WPFInstallfoxpdf.IsChecked = $false
|
||||
}
|
||||
If ( $WPFInstallonlyoffice.IsChecked -eq $true ) {
|
||||
$wingetinstall.Add("ONLYOFFICE.DesktopEditors")
|
||||
$WPFInstallonlyoffice.IsChecked = $false
|
||||
}
|
||||
If ( $WPFInstallflux.IsChecked -eq $true ) {
|
||||
$wingetinstall.Add("flux.flux")
|
||||
$WPFInstallflux.IsChecked = $false
|
||||
}
|
||||
If ( $WPFInstallitunes.IsChecked -eq $true ) {
|
||||
$wingetinstall.Add("Apple.iTunes")
|
||||
$WPFInstallitunes.IsChecked = $false
|
||||
}
|
||||
If ( $WPFInstallcider.IsChecked -eq $true ) {
|
||||
$wingetinstall.Add("CiderCollective.Cider")
|
||||
$WPFInstallcider.IsChecked = $false
|
||||
}
|
||||
If ( $WPFInstalljoplin.IsChecked -eq $true ) {
|
||||
$wingetinstall.Add("Joplin.Joplin")
|
||||
$WPFInstalljoplin.IsChecked = $false
|
||||
}
|
||||
If ( $WPFInstallopenoffice.IsChecked -eq $true ) {
|
||||
$wingetinstall.Add("Apache.OpenOffice")
|
||||
$WPFInstallopenoffice.IsChecked = $false
|
||||
}
|
||||
If ( $WPFInstallruskdesk.IsChecked -eq $true ) {
|
||||
$wingetinstall.Add("RustDesk.RustDesk")
|
||||
$WPFInstallruskdesk.IsChecked = $false
|
||||
}
|
||||
If ( $WPFInstalljami.IsChecked -eq $true ) {
|
||||
$wingetinstall.Add("SFLinux.Jami")
|
||||
$WPFInstalljami.IsChecked = $false
|
||||
}
|
||||
If ( $WPFInstalljdownloader.IsChecked -eq $true ) {
|
||||
$wingetinstall.Add("AppWork.JDownloader")
|
||||
$WPFInstalljdownloader.IsChecked = $false
|
||||
}
|
||||
# Check if winget is installed
|
||||
Write-Host "Checking if Winget is Installed..."
|
||||
if (Test-Path ~\AppData\Local\Microsoft\WindowsApps\winget.exe) {
|
||||
@ -518,6 +601,8 @@ $WPFinstall.Add_Click({
|
||||
try {
|
||||
Start-Process powershell.exe -Verb RunAs -ArgumentList "-command winget install -e --accept-source-agreements --accept-package-agreements --silent $node | Out-Host" -WindowStyle Normal
|
||||
$wingetResult.Add("$node`n")
|
||||
Start-Sleep -s 3
|
||||
Wait-Process winget -Timeout 90 -ErrorAction SilentlyContinue
|
||||
}
|
||||
catch [System.InvalidOperationException] {
|
||||
Write-Warning "Allow Yes on User Access Control to Install"
|
||||
@ -799,7 +884,7 @@ $WPFtweaksbutton.Add_Click({
|
||||
#"FrameServer" # Windows Camera Frame Server (Allows multiple clients to access video frames from camera devices)
|
||||
"gupdate" # Google Update
|
||||
"gupdatem" # Another Google Update Service
|
||||
"iphlpsvc" # ipv6(Most websites use ipv4 instead)
|
||||
#"iphlpsvc" # ipv6(Most websites use ipv4 instead) - Needed for Xbox Live
|
||||
"lfsvc" # Geolocation Service
|
||||
#"LicenseManager" # Disable LicenseManager (Windows Store may not work properly)
|
||||
"lmhosts" # TCP/IP NetBIOS Helper
|
||||
@ -1031,6 +1116,11 @@ $WPFtweaksbutton.Add_Click({
|
||||
Write-Host "Stopping and disabling Diagnostics Tracking Service..."
|
||||
Stop-Service "DiagTrack"
|
||||
Set-Service "DiagTrack" -StartupType Disabled
|
||||
Write-Host "Doing Security checks for Administrator Account and Group Policy"
|
||||
if (($(Get-WMIObject -class Win32_ComputerSystem | Select-Object username).username).IndexOf('Administrator') -eq -1) {
|
||||
net user administrator /active:no
|
||||
}
|
||||
|
||||
$WPFEssTweaksTele.IsChecked = $false
|
||||
}
|
||||
If ( $WPFEssTweaksWifi.IsChecked -eq $true ) {
|
||||
@ -1113,117 +1203,176 @@ $WPFtweaksbutton.Add_Click({
|
||||
If ( $WPFEssTweaksDeBloat.IsChecked -eq $true ) {
|
||||
$Bloatware = @(
|
||||
#Unnecessary Windows 10 AppX Apps
|
||||
"Microsoft.3DBuilder"
|
||||
"Microsoft.Microsoft3DViewer"
|
||||
"Microsoft.AppConnector"
|
||||
"Microsoft.BingFinance"
|
||||
"Microsoft.BingNews"
|
||||
"Microsoft.BingSports"
|
||||
"Microsoft.BingTranslator"
|
||||
"Microsoft.BingWeather"
|
||||
"Microsoft.BingFoodAndDrink"
|
||||
"Microsoft.BingHealthAndFitness"
|
||||
"Microsoft.BingTravel"
|
||||
"Microsoft.MinecraftUWP"
|
||||
"Microsoft.GamingServices"
|
||||
# "Microsoft.WindowsReadingList"
|
||||
"Microsoft.GetHelp"
|
||||
"Microsoft.Getstarted"
|
||||
"Microsoft.Messaging"
|
||||
"Microsoft.Microsoft3DViewer"
|
||||
"Microsoft.MicrosoftSolitaireCollection"
|
||||
"Microsoft.NetworkSpeedTest"
|
||||
"Microsoft.News"
|
||||
"Microsoft.Office.Lens"
|
||||
"Microsoft.Office.Sway"
|
||||
"Microsoft.Office.OneNote"
|
||||
"Microsoft.OneConnect"
|
||||
"Microsoft.People"
|
||||
"Microsoft.Print3D"
|
||||
"Microsoft.SkypeApp"
|
||||
"Microsoft.Wallet"
|
||||
"Microsoft.Whiteboard"
|
||||
"Microsoft.WindowsAlarms"
|
||||
"microsoft.windowscommunicationsapps"
|
||||
"Microsoft.WindowsFeedbackHub"
|
||||
"Microsoft.WindowsMaps"
|
||||
"Microsoft.WindowsPhone"
|
||||
"Microsoft.WindowsSoundRecorder"
|
||||
"Microsoft.XboxApp"
|
||||
"Microsoft.ConnectivityStore"
|
||||
"Microsoft.CommsPhone"
|
||||
"Microsoft.ScreenSketch"
|
||||
"Microsoft.Xbox.TCUI"
|
||||
"Microsoft.XboxGameOverlay"
|
||||
"Microsoft.XboxGameCallableUI"
|
||||
"Microsoft.XboxSpeechToTextOverlay"
|
||||
"Microsoft.MixedReality.Portal"
|
||||
"Microsoft.ZuneMusic"
|
||||
"Microsoft.ZuneVideo"
|
||||
#"Microsoft.YourPhone"
|
||||
"Microsoft.Getstarted"
|
||||
"Microsoft.MicrosoftOfficeHub"
|
||||
"3DBuilder"
|
||||
"Microsoft3DViewer"
|
||||
"AppConnector"
|
||||
"BingFinance"
|
||||
"BingNews"
|
||||
"BingSports"
|
||||
"BingTranslator"
|
||||
"BingWeather"
|
||||
"BingFoodAndDrink"
|
||||
"BingHealthAndFitness"
|
||||
"BingTravel"
|
||||
"MinecraftUWP"
|
||||
"GamingServices"
|
||||
# "WindowsReadingList"
|
||||
"GetHelp"
|
||||
"Getstarted"
|
||||
"Messaging"
|
||||
"Microsoft3DViewer"
|
||||
"MicrosoftSolitaireCollection"
|
||||
"NetworkSpeedTest"
|
||||
"News"
|
||||
"Lens"
|
||||
"Sway"
|
||||
"OneNote"
|
||||
"OneConnect"
|
||||
"People"
|
||||
"Print3D"
|
||||
"SkypeApp"
|
||||
"Todos"
|
||||
"Wallet"
|
||||
"Whiteboard"
|
||||
"WindowsAlarms"
|
||||
"windowscommunicationsapps"
|
||||
"WindowsFeedbackHub"
|
||||
"WindowsMaps"
|
||||
"WindowsPhone"
|
||||
"WindowsSoundRecorder"
|
||||
"XboxApp"
|
||||
"ConnectivityStore"
|
||||
"CommsPhone"
|
||||
"ScreenSketch"
|
||||
"TCUI"
|
||||
"XboxGameOverlay"
|
||||
"XboxGameCallableUI"
|
||||
"XboxSpeechToTextOverlay"
|
||||
"MixedReality.Portal"
|
||||
"ZuneMusic"
|
||||
"ZuneVideo"
|
||||
#"YourPhone"
|
||||
"Getstarted"
|
||||
"MicrosoftOfficeHub"
|
||||
|
||||
#Sponsored Windows 10 AppX Apps
|
||||
#Add sponsored/featured apps to remove in the "*AppName*" format
|
||||
"*EclipseManager*"
|
||||
"*ActiproSoftwareLLC*"
|
||||
"*AdobeSystemsIncorporated.AdobePhotoshopExpress*"
|
||||
"*Duolingo-LearnLanguagesforFree*"
|
||||
"*PandoraMediaInc*"
|
||||
"*CandyCrush*"
|
||||
"*BubbleWitch3Saga*"
|
||||
"*Wunderlist*"
|
||||
"*Flipboard*"
|
||||
"*Twitter*"
|
||||
"*Facebook*"
|
||||
"*Royal Revolt*"
|
||||
"*Sway*"
|
||||
"*Speed Test*"
|
||||
"*Dolby*"
|
||||
"*Viber*"
|
||||
"*ACGMediaPlayer*"
|
||||
"*Netflix*"
|
||||
"*OneCalendar*"
|
||||
"*LinkedInforWindows*"
|
||||
"*HiddenCityMysteryofShadows*"
|
||||
"*Hulu*"
|
||||
"*HiddenCity*"
|
||||
"*AdobePhotoshopExpress*"
|
||||
"*HotspotShieldFreeVPN*"
|
||||
"EclipseManager"
|
||||
"ActiproSoftwareLLC"
|
||||
"AdobeSystemsIncorporated.AdobePhotoshopExpress"
|
||||
"Duolingo-LearnLanguagesforFree"
|
||||
"PandoraMediaInc"
|
||||
"CandyCrush"
|
||||
"BubbleWitch3Saga"
|
||||
"Wunderlist"
|
||||
"Flipboard"
|
||||
"Twitter"
|
||||
"Facebook"
|
||||
"Royal Revolt"
|
||||
"Sway"
|
||||
"Speed Test"
|
||||
"Dolby"
|
||||
"Viber"
|
||||
"ACGMediaPlayer"
|
||||
"Netflix"
|
||||
"OneCalendar"
|
||||
"LinkedInforWindows"
|
||||
"HiddenCityMysteryofShadows"
|
||||
"Hulu"
|
||||
"HiddenCity"
|
||||
"AdobePhotoshopExpress"
|
||||
"HotspotShieldFreeVPN"
|
||||
|
||||
#Optional: Typically not removed but you can if you need to
|
||||
"*Microsoft.Advertising.Xaml*"
|
||||
#"*Microsoft.MSPaint*"
|
||||
#"*Microsoft.MicrosoftStickyNotes*"
|
||||
#"*Microsoft.Windows.Photos*"
|
||||
#"*Microsoft.WindowsCalculator*"
|
||||
#"*Microsoft.WindowsStore*"
|
||||
"Advertising"
|
||||
#"MSPaint"
|
||||
#"MicrosoftStickyNotes"
|
||||
#"Windows.Photos"
|
||||
#"WindowsCalculator"
|
||||
#"WindowsStore"
|
||||
|
||||
# HPBloatware Packages
|
||||
"HPJumpStarts"
|
||||
"HPPCHardwareDiagnosticsWindows"
|
||||
"HPPowerManager"
|
||||
"HPPrivacySettings"
|
||||
"HPSupportAssistant"
|
||||
"HPSureShieldAI"
|
||||
"HPSystemInformation"
|
||||
"HPQuickDrop"
|
||||
"HPWorkWell"
|
||||
"myHP"
|
||||
"HPDesktopSupportUtilities"
|
||||
"HPQuickTouch"
|
||||
"HPEasyClean"
|
||||
"HPSystemInformation"
|
||||
)
|
||||
|
||||
## Teams Removal
|
||||
# Remove Teams Machine-Wide Installer
|
||||
Write-Host "Removing Teams Machine-wide Installer" -ForegroundColor Yellow
|
||||
$MachineWide = Get-WmiObject -Class Win32_Product | Where-Object { $_.Name -eq "Teams Machine-Wide Installer" }
|
||||
$MachineWide.Uninstall()
|
||||
# Remove Teams for Current Users
|
||||
$localAppData = "$($env:LOCALAPPDATA)\Microsoft\Teams"
|
||||
$programData = "$($env:ProgramData)\$($env:USERNAME)\Microsoft\Teams"
|
||||
If (Test-Path "$($localAppData)\Current\Teams.exe") {
|
||||
unInstallTeams($localAppData)
|
||||
}
|
||||
elseif (Test-Path "$($programData)\Current\Teams.exe") {
|
||||
unInstallTeams($programData)
|
||||
}
|
||||
else {
|
||||
Write-Warning "Teams installation not found"
|
||||
}
|
||||
# Get all Users
|
||||
$Users = Get-ChildItem -Path "$($ENV:SystemDrive)\Users"
|
||||
# Process all the Users
|
||||
$Users | ForEach-Object {
|
||||
Write-Host "Process user: $($_.Name)" -ForegroundColor Yellow
|
||||
#Locate installation folder
|
||||
$localAppData = "$($ENV:SystemDrive)\Users\$($_.Name)\AppData\Local\Microsoft\Teams"
|
||||
$programData = "$($env:ProgramData)\$($_.Name)\Microsoft\Teams"
|
||||
If (Test-Path "$($localAppData)\Current\Teams.exe") {
|
||||
unInstallTeams($localAppData)
|
||||
}
|
||||
elseif (Test-Path "$($programData)\Current\Teams.exe") {
|
||||
unInstallTeams($programData)
|
||||
}
|
||||
else {
|
||||
Write-Warning "Teams installation not found for user $($_.Name)"
|
||||
}
|
||||
}
|
||||
cmd /c winget uninstall -h "Microsoft Teams"
|
||||
|
||||
Write-Host "Removing Bloatware"
|
||||
|
||||
foreach ($Bloat in $Bloatware) {
|
||||
Get-AppxPackage -Name $Bloat | Remove-AppxPackage
|
||||
Get-AppxProvisionedPackage -Online | Where-Object DisplayName -like $Bloat | Remove-AppxProvisionedPackage -Online
|
||||
Get-AppxPackage "*$Bloat*" | Remove-AppxPackage
|
||||
Get-AppxProvisionedPackage -Online | Where-Object DisplayName -like "*$Bloat*" | Remove-AppxProvisionedPackage -Online
|
||||
Write-Host "Trying to remove $Bloat."
|
||||
}
|
||||
|
||||
Write-Host "Finished Removing Bloatware Apps"
|
||||
Write-Host "Removing Bloatware Programs"
|
||||
# Remove installed programs
|
||||
$InstalledPrograms = Get-Package | Where-Object { $UninstallPrograms -contains $_.Name }
|
||||
$InstalledPrograms | ForEach-Object {
|
||||
|
||||
Write-Host -Object "Attempting to uninstall: [$($_.Name)]..."
|
||||
|
||||
Try {
|
||||
$Null = $_ | Uninstall-Package -AllVersions -Force -ErrorAction Stop
|
||||
Write-Host -Object "Successfully uninstalled: [$($_.Name)]"
|
||||
}
|
||||
Catch {
|
||||
Write-Warning -Message "Failed to uninstall: [$($_.Name)]"
|
||||
}
|
||||
}
|
||||
Write-Host "Finished Removing Bloatware Programs"
|
||||
$WPFEssTweaksDeBloat.IsChecked = $false
|
||||
}
|
||||
Write-Host "Doing Security checks for Administrator Account and Group Policy"
|
||||
if(($(Get-WMIObject -class Win32_ComputerSystem | Select-Object username).username).IndexOf('Administrator') -eq -1){
|
||||
net user administrator /active:no
|
||||
}
|
||||
|
||||
if(!(((Get-ComputerInfo).WindowsEditionId).IndexOf('Core') -eq -1) -or !(((Get-ComputerInfo).WindowsEditionId).IndexOf('Home') -eq -1)){ # Not sure if home edition is Core or Home
|
||||
Write-Host "Enabling gpedit.msc...Group Policy for Home Users"
|
||||
Get-ChildItem @(
|
||||
"$env:SystemDrive\Windows\servicing\Packages\Microsoft-Windows-GroupPolicy-ClientTools-Package*.mum",
|
||||
"$env:SystemDrive\Windows\servicing\Packages\Microsoft-Windows-GroupPolicy-ClientExtensions-Package*.mum"
|
||||
) | ForEach-Object { dism.exe /online /norestart /add-package:"$_" }
|
||||
}
|
||||
Write-Host "================================="
|
||||
Write-Host "-- Tweaks are Finished ---"
|
||||
Write-Host "================================="
|
||||
@ -1384,6 +1533,11 @@ $WPFundoall.Add_Click({
|
||||
Remove-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\PushNotifications" -Name "ToastEnabled"
|
||||
Write-Host "Restoring Default Right Click Menu Layout"
|
||||
Remove-Item -Path "HKCU:\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}" -Recurse -Confirm:$false -Force
|
||||
|
||||
Write-Host "Reset News and Interests"
|
||||
Set-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Feeds" -Name "EnableFeeds" -Type DWord -Value 1
|
||||
# Remove "News and Interest" from taskbar
|
||||
Set-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Feeds" -Name "ShellFeedsTaskbarViewMode" -Type DWord -Value 0
|
||||
Write-Host "Done - Reverted to Stock Settings"
|
||||
|
||||
#Enable Gamebar Presence Writer
|
||||
@ -1464,7 +1618,10 @@ $WPFPanelDISM.Add_Click({
|
||||
Write-Host '`n(4/4) SFC - 2nd scan' -ForegroundColor Green; sfc /scannow;
|
||||
Read-Host '`nPress Enter to Continue'" -verb runas
|
||||
})
|
||||
|
||||
$WPFPanelAutologin.Add_Click({
|
||||
curl.exe -ss "https://live.sysinternals.com/Autologon.exe" -o autologin.exe # Official Microsoft recommendation https://learn.microsoft.com/en-us/sysinternals/downloads/autologon
|
||||
cmd /c autologin.exe
|
||||
})
|
||||
$WPFPanelcontrol.Add_Click({
|
||||
cmd /c control
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user