mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2025-04-02 17:32:09 +00:00
Merge branch 'main' of github.com:DeveloperDurp/winutil
This commit is contained in:
commit
0ff1599f63
195
MainWindow.xaml
195
MainWindow.xaml
@ -6,7 +6,7 @@
|
||||
xmlns:local="clr-namespace:WinUtility"
|
||||
mc:Ignorable="d"
|
||||
Background="#777777"
|
||||
Title="Chris Titus Tech's Windows Utility" Height="450" Width="800">
|
||||
Title="Chris Titus Tech's Windows Utility" Height="533" Width="786">
|
||||
<Viewbox>
|
||||
<Grid Background="#777777" ShowGridLines="False" Name="MainGrid">
|
||||
<Grid.ColumnDefinitions>
|
||||
@ -14,7 +14,7 @@
|
||||
<ColumnDefinition Width="7*"/>
|
||||
</Grid.ColumnDefinitions>
|
||||
<StackPanel Background="#777777" SnapsToDevicePixels="True" Grid.Column="0">
|
||||
<Image Height="100" Width="170" Name="Icon" SnapsToDevicePixels="True" Source="https://github.com/ChrisTitusTech/win10script/raw/master/titus-toolbox.png" Margin="0,10,0,10"/>
|
||||
<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"/>
|
||||
@ -26,39 +26,109 @@
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="1*"/>
|
||||
<ColumnDefinition Width="1*"/>
|
||||
<ColumnDefinition Width="1*"/>
|
||||
</Grid.ColumnDefinitions>
|
||||
<StackPanel Background="#777777" SnapsToDevicePixels="True" Grid.Column="0" Margin="10">
|
||||
<Label Content="Browsers" FontSize="16" Margin="5,0"/>
|
||||
<CheckBox Name="brave" Content="Brave" Margin="5,0"/>
|
||||
<CheckBox Name="chrome" Content="Google Chrome" Margin="5,0"/>
|
||||
<CheckBox Name="firefox" Content="Firefox" Margin="5,0"/>
|
||||
<Label Content="Document Tools" FontSize="16" Margin="5,0"/>
|
||||
<CheckBox Name="adobe" Content="Adobe Reader DC" Margin="5,0"/>
|
||||
<CheckBox Name="notepadplus" Content="Notepad++" Margin="5,0"/>
|
||||
<CheckBox Name="sumatra" Content="Sumatra PDF" Margin="5,0"/>
|
||||
<CheckBox Name="vscode" Content="VS Code" Margin="5,0"/>
|
||||
<CheckBox Name="vscodium" Content="VS Codium" Margin="5,0"/>
|
||||
<Label Content="Video and Image Tools" FontSize="16" Margin="5,0"/>
|
||||
<CheckBox Name="gimp" Content="GIMP (Image Editor)" Margin="5,0"/>
|
||||
<CheckBox Name="imageglass" Content="ImageGlass (Image Viewer)" Margin="5,0"/>
|
||||
<CheckBox Name="mpc" Content="Media Player Classic (Video Player)" Margin="5,0"/>
|
||||
<CheckBox Name="sharex" Content="ShareX (Screenshots)" Margin="5,0"/>
|
||||
<CheckBox Name="vlc" Content="VLC (Video Player)" Margin="5,0,5,5"/>
|
||||
<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="Installfirefox" Content="Firefox" Margin="5,0"/>
|
||||
<CheckBox Name="Installlibrewolf" Content="LibreWolf" 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="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="Microsoft Teams" Margin="5,0"/>
|
||||
<CheckBox Name="Installzoom" Content="Zoom Video Conference" Margin="5,0"/>
|
||||
|
||||
|
||||
<Label Content="Development" FontSize="16" Margin="5,0"/>
|
||||
<CheckBox Name="Installatom" Content="Atom" 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"/>
|
||||
<CheckBox Name="Installjava18" Content="Oracle Java 18" Margin="5,0"/>
|
||||
<CheckBox Name="Installjetbrains" Content="Jetbrains Toolbox" Margin="5,0"/>
|
||||
<CheckBox Name="Installnodejs" Content="NodeJS" Margin="5,0"/>
|
||||
<CheckBox Name="Installnodejslts" Content="NodeJS LTS" Margin="5,0"/>
|
||||
<CheckBox Name="Installpython3" Content="Python3" Margin="5,0"/>
|
||||
<CheckBox Name="Installsublime" Content="Sublime" Margin="5,0"/>
|
||||
<CheckBox Name="Installvisualstudio" Content="Visual Studio 2022 Community" 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">
|
||||
|
||||
<Label Content="Document" FontSize="16" Margin="5,0"/>
|
||||
<CheckBox Name="Installadobe" Content="Adobe Reader DC" 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="Installsumatra" Content="Sumatra PDF" Margin="5,0"/>
|
||||
|
||||
<Label Content="Games" FontSize="16" Margin="5,0"/>
|
||||
<CheckBox Name="Installepicgames" Content="Epic Games Launcher" Margin="5,0"/>
|
||||
<CheckBox Name="Installgog" Content="GOG Galaxy" Margin="5,0"/>
|
||||
<CheckBox Name="Installsteam" Content="Steam" Margin="5,0"/>
|
||||
|
||||
<Label Content="Pro Tools" FontSize="16" Margin="5,0"/>
|
||||
<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="Installscp" Content="WinSCP" Margin="5,0"/>
|
||||
<CheckBox Name="Installwireshark" Content="WireShark" 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="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"/>
|
||||
<CheckBox Name="Installgimp" Content="GIMP (Image Editor)" Margin="5,0"/>
|
||||
<CheckBox Name="Installgreenshot" Content="Greenshot (Screenshots)" Margin="5,0"/>
|
||||
<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="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="Installvoicemeeter" Content="Voicemeeter (Audio)" Margin="5,0"/>
|
||||
|
||||
</StackPanel>
|
||||
<StackPanel Background="#777777" SnapsToDevicePixels="True" Grid.Column="2" Margin="10">
|
||||
<Label Content="Utilities" FontSize="16" Margin="5,0"/>
|
||||
<CheckBox Name="sevenzip" Content="7-Zip" Margin="5,0"/>
|
||||
<CheckBox Name="advancedip" Content="Advanced IP Scanner" Margin="5,0"/>
|
||||
<CheckBox Name="autohotkey" Content="AutoHotkey" Margin="5,0"/>
|
||||
<CheckBox Name="discord" Content="Discord" Margin="5,0"/>
|
||||
<CheckBox Name="etcher" Content="Etcher USB Creator" Margin="5,0"/>
|
||||
<CheckBox Name="esearch" Content="Everything Search" Margin="5,0"/>
|
||||
<CheckBox Name="githubdesktop" Content="GitHub Desktop" Margin="5,0"/>
|
||||
<CheckBox Name="powertoys" Content="Microsoft Powertoys" Margin="5,0"/>
|
||||
<CheckBox Name="putty" Content="Putty and WinSCP" Margin="5,0"/>
|
||||
<CheckBox Name="ttaskbar" Content="Translucent Taskbar" Margin="5,0"/>
|
||||
<CheckBox Name="terminal" Content="Windows Terminal" Margin="5,0"/>
|
||||
<Button Name="install" Background="AliceBlue" Content="Start Install" Margin="20"/>
|
||||
<CheckBox Name="Installsevenzip" Content="7-Zip" Margin="5,0"/>
|
||||
<CheckBox Name="Installanydesk" Content="AnyDesk" Margin="5,0"/>
|
||||
<CheckBox Name="Installautohotkey" Content="AutoHotkey" Margin="5,0"/>
|
||||
<CheckBox Name="Installbitwarden" Content="Bitwarden" Margin="5,0"/>
|
||||
<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="Installgpuz" Content="GPU-Z" Margin="5,0"/>
|
||||
<CheckBox Name="Installhwinfo" Content="HWInfo" 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="Installrevo" Content="RevoUninstaller" Margin="5,0"/>
|
||||
<CheckBox Name="Installrufus" Content="Rufus Imager" 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="Installwindirstat" Content="WinDirStat" Margin="5,0"/>
|
||||
<CheckBox Name="Installterminal" Content="Windows Terminal" 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"/>
|
||||
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
@ -73,10 +143,11 @@
|
||||
<RowDefinition Height="1*"/>
|
||||
<RowDefinition Height="6*"/>
|
||||
</Grid.RowDefinitions>
|
||||
<StackPanel Orientation="Horizontal" Grid.Row="0" HorizontalAlignment="Center" Grid.ColumnSpan="2">
|
||||
<Button Name="desktop" Content="Desktop" Margin="5"/>
|
||||
<Button Name="laptop" Content="Laptop" Margin="5"/>
|
||||
<Button Name="minimal" Content="Minimal" Margin="5"/>
|
||||
<StackPanel Background="#777777" Orientation="Horizontal" Grid.Row="0" HorizontalAlignment="Center" Grid.ColumnSpan="2">
|
||||
<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">
|
||||
<Label FontSize="16" Content="Essential Tweaks"/>
|
||||
@ -91,8 +162,7 @@
|
||||
<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="EssTweaksDeBloat" Content="Remove MS Store Apps" Margin="5,0"/>
|
||||
<Button Name="essentialtweaks" Background="AliceBlue" Content="Run Essential Tweaks" Margin="0"/>
|
||||
|
||||
|
||||
</StackPanel>
|
||||
<StackPanel Background="#777777" SnapsToDevicePixels="True" Grid.Row="1" Grid.Column="1" Margin="10,5">
|
||||
@ -104,20 +174,63 @@
|
||||
<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="MiscTweaks" Content="" Margin="5,0"/>
|
||||
<CheckBox Name="EssTweaksDeBloat" Content="Remove ALL MS Store Apps" Margin="5,0"/>
|
||||
|
||||
<Button Name="misctweaks" Background="AliceBlue" Content="Run Misc. Tweaks" Margin="0"/><Button Name="undoall" Background="AliceBlue" Content="Undo All Tweaks" Margin="20"/>
|
||||
<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>
|
||||
</Grid>
|
||||
</TabItem>
|
||||
<TabItem Header="Config" Visibility="Collapsed" Name="Tab3">
|
||||
<Grid Background="#333333">
|
||||
<TextBlock HorizontalAlignment="Center" VerticalAlignment="Top" TextWrapping="Wrap" Text="Config" FontSize="14" FontWeight="Bold" Height="21" Foreground="#ffffff"/>
|
||||
<Grid Background="#444444">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="1*"/>
|
||||
<ColumnDefinition Width="1*"/>
|
||||
</Grid.ColumnDefinitions>
|
||||
<StackPanel Background="#777777" SnapsToDevicePixels="True" Grid.Column="0" Margin="10,5">
|
||||
<Label Content="Features" FontSize="16"/>
|
||||
<CheckBox Name="Featuresdotnet" Content="All .Net Framework (2,3,4)" Margin="5,0"/>
|
||||
<CheckBox Name="Featureshyperv" Content="HyperV Virtualization" Margin="5,0"/>
|
||||
<CheckBox Name="Featureslegacymedia" Content="Legacy Media (WMP, DirectPlay)" Margin="5,0"/>
|
||||
<CheckBox Name="Featurenfs" Content="NFS - Network File System" Margin="5,0"/>
|
||||
<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="FixesUpdate" FontSize="14" Background="AliceBlue" Content="Reset Windows Update" Margin="20,5,20,0" Padding="10"/>
|
||||
|
||||
</StackPanel>
|
||||
<StackPanel Background="#777777" SnapsToDevicePixels="True" Grid.Column="1" Margin="10,5">
|
||||
<Label Content="Legacy Windows Panels" FontSize="16"/>
|
||||
<Button Name="Panelcontrol" FontSize="14" Background="AliceBlue" Content="Control Panel" Margin="20,5,20,5" Padding="10"/>
|
||||
<Button Name="Panelnetwork" FontSize="14" Background="AliceBlue" Content="Network Connections" Margin="20,0,20,5" Padding="10"/>
|
||||
<Button Name="Panelpower" FontSize="14" Background="AliceBlue" Content="Power Panel" Margin="20,0,20,5" Padding="10"/>
|
||||
<Button Name="Panelsound" FontSize="14" Background="AliceBlue" Content="Sound Settings" Margin="20,0,20,5" Padding="10"/>
|
||||
<Button Name="Panelsystem" FontSize="14" Background="AliceBlue" Content="System Properties" Margin="20,0,20,5" Padding="10"/>
|
||||
<Button Name="Paneluser" FontSize="14" Background="AliceBlue" Content="User Accounts" Margin="20,0,20,5" Padding="10"/>
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
</TabItem>
|
||||
<TabItem Header="Updates" Visibility="Collapsed" Name="Tab4">
|
||||
<Grid Background="#333333">
|
||||
<TextBlock HorizontalAlignment="Center" VerticalAlignment="Top" TextWrapping="Wrap" Text="Updates" FontSize="14" FontWeight="Bold" Height="21" Foreground="#ffffff"/>
|
||||
<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"/>
|
||||
<Button Name="Updatesdefault" FontSize="16" Background="AliceBlue" Content="Default (Out of Box) Settings" Margin="20,0,20,10" Padding="10"/>
|
||||
</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"/>
|
||||
<Button Name="Updatessecurity" FontSize="16" Background="AliceBlue" Content="Security (Recommended) Settings" Margin="20,0,20,10" Padding="10"/>
|
||||
</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>
|
||||
|
||||
</Grid>
|
||||
</TabItem>
|
||||
</TabControl>
|
||||
|
16
README.md
16
README.md
@ -1 +1,15 @@
|
||||
# winutil
|
||||
# Chris Titus Tech Windows Utility
|
||||
|
||||
Launch Command:
|
||||
|
||||
```
|
||||
iwr -useb https://christitus.com/win | iex
|
||||
```
|
||||
|
||||
## 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.
|
||||
|
||||
## Contribute Code
|
||||
|
||||
For pull requests, be sure and document ALL changes. If you add something to the tweaks section the undo MUST also be applied to remove the new tweaks. Any tweak not following this format will be denied. Any code not well documented will be denied.
|
||||
|
466
winutil.ps1
466
winutil.ps1
@ -5,263 +5,24 @@
|
||||
Version 0.0.1
|
||||
#>
|
||||
|
||||
$inputXML = @"
|
||||
<Window x:Class="WinUtility.MainWindow"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:local="clr-namespace:WinUtility"
|
||||
mc:Ignorable="d"
|
||||
Background="#777777"
|
||||
Title="Chris Titus Tech's Windows Utility" Height="533" Width="786">
|
||||
<Viewbox>
|
||||
<Grid Background="#777777" ShowGridLines="False" Name="MainGrid">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="3*"/>
|
||||
<ColumnDefinition Width="7*"/>
|
||||
</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">
|
||||
<TabItem Header="Install" Visibility="Collapsed" Name="Tab1">
|
||||
<Grid Background="#222222">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="1*"/>
|
||||
<ColumnDefinition Width="1*"/>
|
||||
<ColumnDefinition Width="1*"/>
|
||||
</Grid.ColumnDefinitions>
|
||||
<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="Installfirefox" Content="Firefox" Margin="5,0"/>
|
||||
<CheckBox Name="Installlibrewolf" Content="LibreWolf" 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="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="Microsoft Teams" Margin="5,0"/>
|
||||
<CheckBox Name="Installzoom" Content="Zoom Video Conference" Margin="5,0"/>
|
||||
|
||||
|
||||
<Label Content="Development" FontSize="16" Margin="5,0"/>
|
||||
<CheckBox Name="Installatom" Content="Atom" 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"/>
|
||||
<CheckBox Name="Installjava18" Content="Oracle Java 18" Margin="5,0"/>
|
||||
<CheckBox Name="Installjetbrains" Content="Jetbrains Toolbox" Margin="5,0"/>
|
||||
<CheckBox Name="Installnodejs" Content="NodeJS" Margin="5,0"/>
|
||||
<CheckBox Name="Installnodejslts" Content="NodeJS LTS" Margin="5,0"/>
|
||||
<CheckBox Name="Installpython3" Content="Python3" Margin="5,0"/>
|
||||
<CheckBox Name="Installsublime" Content="Sublime" Margin="5,0"/>
|
||||
<CheckBox Name="Installvisualstudio" Content="Visual Studio 2022 Community" 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">
|
||||
|
||||
<Label Content="Document" FontSize="16" Margin="5,0"/>
|
||||
<CheckBox Name="Installadobe" Content="Adobe Reader DC" 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="Installsumatra" Content="Sumatra PDF" Margin="5,0"/>
|
||||
|
||||
<Label Content="Games" FontSize="16" Margin="5,0"/>
|
||||
<CheckBox Name="Installepicgames" Content="Epic Games Launcher" Margin="5,0"/>
|
||||
<CheckBox Name="Installgog" Content="GOG Galaxy" Margin="5,0"/>
|
||||
<CheckBox Name="Installsteam" Content="Steam" Margin="5,0"/>
|
||||
|
||||
<Label Content="Pro Tools" FontSize="16" Margin="5,0"/>
|
||||
<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="Installscp" Content="WinSCP" Margin="5,0"/>
|
||||
<CheckBox Name="Installwireshark" Content="WireShark" 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="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"/>
|
||||
<CheckBox Name="Installgimp" Content="GIMP (Image Editor)" Margin="5,0"/>
|
||||
<CheckBox Name="Installgreenshot" Content="Greenshot (Screenshots)" Margin="5,0"/>
|
||||
<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="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="Installvoicemeeter" Content="Voicemeeter (Audio)" Margin="5,0"/>
|
||||
|
||||
</StackPanel>
|
||||
<StackPanel Background="#777777" SnapsToDevicePixels="True" Grid.Column="2" Margin="10">
|
||||
<Label Content="Utilities" FontSize="16" Margin="5,0"/>
|
||||
<CheckBox Name="Installsevenzip" Content="7-Zip" Margin="5,0"/>
|
||||
<CheckBox Name="Installanydesk" Content="AnyDesk" Margin="5,0"/>
|
||||
<CheckBox Name="Installautohotkey" Content="AutoHotkey" Margin="5,0"/>
|
||||
<CheckBox Name="Installbitwarden" Content="Bitwarden" Margin="5,0"/>
|
||||
<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="Installgpuz" Content="GPU-Z" Margin="5,0"/>
|
||||
<CheckBox Name="Installhwinfo" Content="HWInfo" 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="Installrevo" Content="RevoUninstaller" Margin="5,0"/>
|
||||
<CheckBox Name="Installrufus" Content="Rufus Imager" 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="Installwindirstat" Content="WinDirStat" Margin="5,0"/>
|
||||
<CheckBox Name="Installterminal" Content="Windows Terminal" 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"/>
|
||||
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
</TabItem>
|
||||
<TabItem Header="Tweaks" Visibility="Collapsed" Name="Tab2">
|
||||
<Grid Background="#333333">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="1*"/>
|
||||
<ColumnDefinition Width="1*"/>
|
||||
</Grid.ColumnDefinitions>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="1*"/>
|
||||
<RowDefinition Height="6*"/>
|
||||
</Grid.RowDefinitions>
|
||||
<StackPanel Background="#777777" Orientation="Horizontal" Grid.Row="0" HorizontalAlignment="Center" Grid.ColumnSpan="2">
|
||||
<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">
|
||||
<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="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"/>
|
||||
|
||||
|
||||
</StackPanel>
|
||||
<StackPanel Background="#777777" SnapsToDevicePixels="True" Grid.Row="1" 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="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="EssTweaksDeBloat" Content="Remove ALL MS Store Apps" Margin="5,0"/>
|
||||
|
||||
<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>
|
||||
</Grid>
|
||||
</TabItem>
|
||||
<TabItem Header="Config" Visibility="Collapsed" Name="Tab3">
|
||||
<Grid Background="#444444">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="1*"/>
|
||||
<ColumnDefinition Width="1*"/>
|
||||
</Grid.ColumnDefinitions>
|
||||
<StackPanel Background="#777777" SnapsToDevicePixels="True" Grid.Column="0" Margin="10,5">
|
||||
<Label Content="Features" FontSize="16"/>
|
||||
<CheckBox Name="Featuresdotnet" Content="All .Net Framework (2,3,4)" Margin="5,0"/>
|
||||
<CheckBox Name="Featureshyperv" Content="HyperV Virtualization" Margin="5,0"/>
|
||||
<CheckBox Name="Featureslegacymedia" Content="Legacy Media (WMP, DirectPlay)" Margin="5,0"/>
|
||||
<CheckBox Name="Featurenfs" Content="NFS - Network File System" Margin="5,0"/>
|
||||
<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="FixesUpdate" FontSize="14" Background="AliceBlue" Content="Reset Windows Update" Margin="20,5,20,0" Padding="10"/>
|
||||
|
||||
</StackPanel>
|
||||
<StackPanel Background="#777777" SnapsToDevicePixels="True" Grid.Column="1" Margin="10,5">
|
||||
<Label Content="Legacy Windows Panels" FontSize="16"/>
|
||||
<Button Name="Panelcontrol" FontSize="14" Background="AliceBlue" Content="Control Panel" Margin="20,5,20,5" Padding="10"/>
|
||||
<Button Name="Panelnetwork" FontSize="14" Background="AliceBlue" Content="Network Connections" Margin="20,0,20,5" Padding="10"/>
|
||||
<Button Name="Panelpower" FontSize="14" Background="AliceBlue" Content="Power Panel" Margin="20,0,20,5" Padding="10"/>
|
||||
<Button Name="Panelsound" FontSize="14" Background="AliceBlue" Content="Sound Settings" Margin="20,0,20,5" Padding="10"/>
|
||||
<Button Name="Panelsystem" FontSize="14" Background="AliceBlue" Content="System Properties" Margin="20,0,20,5" Padding="10"/>
|
||||
<Button Name="Paneluser" FontSize="14" Background="AliceBlue" Content="User Accounts" Margin="20,0,20,5" Padding="10"/>
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
</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"/>
|
||||
<Button Name="Updatesdefault" FontSize="16" Background="AliceBlue" Content="Default (Out of Box) Settings" Margin="20,0,20,10" Padding="10"/>
|
||||
</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 buisness environments." Margin="20,0,20,0" Padding="10" TextWrapping="WrapWithOverflow" MaxWidth="300"/>
|
||||
<Button Name="Updatessecurity" FontSize="16" Background="AliceBlue" Content="Security (Recommended) Settings" Margin="20,0,20,10" Padding="10"/>
|
||||
</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>
|
||||
|
||||
</Grid>
|
||||
</TabItem>
|
||||
</TabControl>
|
||||
</Grid>
|
||||
</Viewbox>
|
||||
</Window>
|
||||
|
||||
"@
|
||||
# $inputXML = Get-Content "MainWindow.xaml" #uncomment for development
|
||||
$inputXML = (new-object Net.WebClient).DownloadString("https://raw.githubusercontent.com/ChrisTitusTech/winutil/main/MainWindow.xaml") #uncomment for Production
|
||||
|
||||
$inputXML = $inputXML -replace 'mc:Ignorable="d"','' -replace "x:N",'N' -replace '^<Win.*', '<Window'
|
||||
[void][System.Reflection.Assembly]::LoadWithPartialName('presentationframework')
|
||||
[xml]$XAML = $inputXML
|
||||
#Read XAML
|
||||
|
||||
$reader=(New-Object System.Xml.XmlNodeReader $xaml)
|
||||
try{$Form=[Windows.Markup.XamlReader]::Load( $reader )}
|
||||
$reader=(New-Object System.Xml.XmlNodeReader $xaml)
|
||||
try{$Form=[Windows.Markup.XamlReader]::Load( $reader )}
|
||||
catch [System.Management.Automation.MethodInvocationException] {
|
||||
Write-Warning "We ran into a problem with the XAML code. Check the syntax for this control..."
|
||||
write-host $error[0].Exception.Message -ForegroundColor Red
|
||||
if ($error[0].Exception.Message -like "*button*"){
|
||||
write-warning "Ensure your <button in the `$inputXML does NOT have a Click=ButtonClick property. PS can't handle this`n`n`n`n"}
|
||||
If ($error[0].Exception.Message -like "*button*") {
|
||||
write-warning "Ensure your <button in the `$inputXML does NOT have a Click=ButtonClick property. PS can't handle this`n`n`n`n"
|
||||
}
|
||||
}
|
||||
catch{#if it broke some other way <img draggable="false" role="img" class="emoji" alt="😀" src="https://s0.wp.com/wp-content/mu-plugins/wpcom-smileys/twemoji/2/svg/1f600.svg">
|
||||
catch{# If it broke some other way <img draggable="false" role="img" class="emoji" alt="😀" src="https://s0.wp.com/wp-content/mu-plugins/wpcom-smileys/twemoji/2/svg/1f600.svg">
|
||||
Write-Host "Unable to load Windows.Markup.XamlReader. Double-check syntax and ensure .net is installed."
|
||||
}
|
||||
|
||||
@ -272,7 +33,7 @@ catch{#if it broke some other way <img draggable="false" role="img" class="emoji
|
||||
$xaml.SelectNodes("//*[@Name]") | %{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 "Found the following interactable elements from our form" -ForegroundColor Cyan
|
||||
get-variable WPF*
|
||||
}
|
||||
@ -309,7 +70,7 @@ $WPFTab4BT.Add_Click({
|
||||
})
|
||||
|
||||
#===========================================================================
|
||||
# Install Tab1
|
||||
# Tab 1 - Install
|
||||
#===========================================================================
|
||||
$WPFinstall.Add_Click({
|
||||
$wingetinstall = New-Object System.Collections.Generic.List[System.Object]
|
||||
@ -386,7 +147,6 @@ $WPFinstall.Add_Click({
|
||||
$wingetinstall.Add("JetBrains.Toolbox")
|
||||
$WPFInstalljetbrains.IsChecked = $false
|
||||
}
|
||||
|
||||
If ( $WPFInstallmpc.IsChecked -eq $true ) {
|
||||
$wingetinstall.Add("clsid2.mpc-hc")
|
||||
$WPFInstallmpc.IsChecked = $false
|
||||
@ -589,7 +349,6 @@ $WPFinstall.Add_Click({
|
||||
$wingetinstall.Add("Microsoft.Teams")
|
||||
$WPFInstallteams.IsChecked = $false
|
||||
}
|
||||
|
||||
If ( $WPFInstalltreesize.IsChecked -eq $true ) {
|
||||
$wingetinstall.Add("JAMSoftware.TreeSize.Free")
|
||||
$WPFInstalltreesize.IsChecked = $false
|
||||
@ -619,6 +378,49 @@ $WPFinstall.Add_Click({
|
||||
$WPFInstallzoom.IsChecked = $false
|
||||
}
|
||||
|
||||
# Check if winget is installed
|
||||
Write-Host "Checking if Winget is Installed..."
|
||||
if (Test-Path ~\AppData\Local\Microsoft\WindowsApps\winget.exe){ #Checks if winget executable exists and if the Windows Version is 1809 or higher
|
||||
Write-Host "Winget Already Installed"
|
||||
}else{
|
||||
if(((((Get-ComputerInfo).OSName.IndexOf("LTSC")) -ne -1) -or ((Get-ComputerInfo).OSName.IndexOf("Server") -ne -1)) -and (((Get-ComputerInfo).WindowsVersion) -ge "1809")){#Checks if Windows edition is LTSC/Server 2019+
|
||||
#Manually Installing Winget
|
||||
Write-Host "Running Alternative Installer for LTSC/Server Editions"
|
||||
|
||||
#Download Needed Files
|
||||
Write-Host "Downloading Needed Files..."
|
||||
Start-BitsTransfer -Source "https://aka.ms/Microsoft.VCLibs.x64.14.00.Desktop.appx" -Destination "./Microsoft.VCLibs.x64.14.00.Desktop.appx"
|
||||
Start-BitsTransfer -Source "https://github.com/microsoft/winget-cli/releases/download/v1.2.10271/Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle" -Destination "./Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle"
|
||||
Start-BitsTransfer -Source "https://github.com/microsoft/winget-cli/releases/download/v1.2.10271/b0a0692da1034339b76dce1c298a1e42_License1.xml" -Destination "./b0a0692da1034339b76dce1c298a1e42_License1.xml"
|
||||
|
||||
#Installing Packages
|
||||
Write-Host "Installing Packages..."
|
||||
Add-AppxProvisionedPackage -Online -PackagePath ".\Microsoft.VCLibs.x64.14.00.Desktop.appx" -SkipLicense
|
||||
Add-AppxProvisionedPackage -Online -PackagePath ".\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle" -LicensePath ".\b0a0692da1034339b76dce1c298a1e42_License1.xml"
|
||||
Write-Host "winget Installed (Reboot might be required before winget will work)"
|
||||
|
||||
#Sleep for 5 seconds to maximize chance that winget will work without reboot
|
||||
Write-Host "Pausing for 5 seconds to maximize chance that winget will work without reboot"
|
||||
Start-Sleep -s 5
|
||||
|
||||
#Removing no longer needed Files
|
||||
Write-Host "Removing no longer needed Files..."
|
||||
Remove-Item -Path ".\Microsoft.VCLibs.x64.14.00.Desktop.appx" -Force
|
||||
Remove-Item -Path ".\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle" -Force
|
||||
Remove-Item -Path ".\b0a0692da1034339b76dce1c298a1e42_License1.xml" -Force
|
||||
Write-Host "Removed Files that are no longer needed"
|
||||
}elseif(((Get-ComputerInfo).WindowsVersion) -lt "1809"){ #Checks if Windows Version is too old for winget
|
||||
Write-Host "Winget is not supported on this version of Windows (Pre-1809)"
|
||||
}else{
|
||||
#Installing Winget from the Microsoft Store
|
||||
Write-Host "Winget not found, installing it now."
|
||||
Start-Process "ms-appinstaller:?source=https://aka.ms/getwinget"
|
||||
$nid = (Get-Process AppInstaller).Id
|
||||
Wait-Process -Id $nid
|
||||
Write-Host "Winget Installed"
|
||||
}
|
||||
}
|
||||
|
||||
# Install all winget programs in new window
|
||||
$wingetinstall.ToArray()
|
||||
# Define Output variable
|
||||
@ -653,7 +455,7 @@ $WPFInstallUpgrade.Add_Click({
|
||||
})
|
||||
|
||||
#===========================================================================
|
||||
# Tab 2 - Tweaks Buttons
|
||||
# Tab 2 - Tweak Buttons
|
||||
#===========================================================================
|
||||
$WPFdesktop.Add_Click({
|
||||
|
||||
@ -764,9 +566,8 @@ $WPFtweaksbutton.Add_Click({
|
||||
}
|
||||
If ( $WPFEssTweaksOO.IsChecked -eq $true ) {
|
||||
Write-Host "Running O&O Shutup with Recommended Settings"
|
||||
Import-Module BitsTransfer
|
||||
Start-BitsTransfer -Source "https://raw.githubusercontent.com/ChrisTitusTech/win10script/master/ooshutup10.cfg" -Destination ooshutup10.cfg
|
||||
Start-BitsTransfer -Source "https://dl5.oo-software.com/files/ooshutup10/OOSU10.exe" -Destination OOSU10.exe
|
||||
curl.exe -ss "https://raw.githubusercontent.com/ChrisTitusTech/win10script/master/ooshutup10.cfg" -o ooshutup10.cfg
|
||||
curl.exe -ss "https://dl5.oo-software.com/files/ooshutup10/OOSU10.exe" -o OOSU10.exe
|
||||
./OOSU10.exe ooshutup10.cfg /quiet
|
||||
$WPFEssTweaksOO.IsChecked = $false
|
||||
}
|
||||
@ -777,94 +578,93 @@ $WPFtweaksbutton.Add_Click({
|
||||
$WPFEssTweaksRP.IsChecked = $false
|
||||
}
|
||||
If ( $WPFEssTweaksServices.IsChecked -eq $true ) {
|
||||
# Service tweaks to Manual
|
||||
# Set Services to Manual
|
||||
|
||||
$services = @(
|
||||
"ALG" # Application Layer Gateway Service(Provides support for 3rd party protocol plug-ins for Internet Connection Sharing)
|
||||
"AJRouter" # Needed for AllJoyn Router Service
|
||||
"BcastDVRUserService_48486de" # GameDVR and Broadcast is used for Game Recordings and Live Broadcasts
|
||||
#"BDESVC" # Bitlocker Drive Encryption Service
|
||||
#"BFE" # Base Filtering Engine (Manages Firewall and Internet Protocol security)
|
||||
#"BluetoothUserService_48486de" # Bluetooth user service supports proper functionality of Bluetooth features relevant to each user session.
|
||||
#"BrokerInfrastructure" # Windows Infrastructure Service (Controls which background tasks can run on the system)
|
||||
"Browser" # Let users browse and locate shared resources in neighboring computers
|
||||
"BthAvctpSvc" # AVCTP service (needed for Bluetooth Audio Devices or Wireless Headphones)
|
||||
"CaptureService_48486de" # Optional screen capture functionality for applications that call the Windows.Graphics.Capture API.
|
||||
"cbdhsvc_48486de" # Clipboard Service
|
||||
"diagnosticshub.standardcollector.service" # Microsoft (R) Diagnostics Hub Standard Collector Service
|
||||
"DiagTrack" # Diagnostics Tracking Service
|
||||
"DPS"
|
||||
"dmwappushservice" # WAP Push Message Routing Service (see known issues)
|
||||
"dmwappushservice" # WAP Push Message Routing Service
|
||||
"DPS" # Diagnostic Policy Service (Detects and Troubleshoots Potential Problems)
|
||||
"edgeupdate" # Edge Update Service
|
||||
"edgeupdatem" # Another Update Service
|
||||
"EntAppSvc" # Enterprise Application Management.
|
||||
"Fax" # Fax Service
|
||||
"fhsvc" # Fax History
|
||||
"FontCache" # Windows font cache
|
||||
#"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)
|
||||
"lfsvc" # Geolocation Service
|
||||
#"LicenseManager" # Disable LicenseManager (Windows Store may not work properly)
|
||||
"lmhosts" # TCP/IP NetBIOS Helper
|
||||
"MapsBroker" # Downloaded Maps Manager
|
||||
"MicrosoftEdgeElevationService" # Another Edge Update Service
|
||||
"MSDTC" # Distributed Transaction Coordinator
|
||||
"ndu" # Windows Network Data Usage Monitor (Disabling Breaks Task Manager Per-Process Network Monitoring)
|
||||
"NetTcpPortSharing" # Net.Tcp Port Sharing Service
|
||||
"PcaSvc" # Program Compatibility Assistant Service
|
||||
"PerfHost" # Remote users and 64-bit processes to query performance.
|
||||
"PhoneSvc" # Phone Service(Manages the telephony state on the device)
|
||||
#"PNRPsvc" # Peer Name Resolution Protocol (Some peer-to-peer and collaborative applications, such as Remote Assistance, may not function, Discord will still work)
|
||||
#"p2psvc" # Peer Name Resolution Protocol(Enables multi-party communication using Peer-to-Peer Grouping. If disabled, some applications, such as HomeGroup, may not function. Discord will still work)iscord will still work)
|
||||
#"p2pimsvc" # Peer Networking Identity Manager (Peer-to-Peer Grouping services may not function, and some applications, such as HomeGroup and Remote Assistance, may not function correctly. Discord will still work)
|
||||
"PrintNotify" # Windows printer notifications and extentions
|
||||
"QWAVE" # Quality Windows Audio Video Experience (audio and video might sound worse)
|
||||
"RemoteAccess" # Routing and Remote Access
|
||||
"RemoteRegistry" # Remote Registry
|
||||
"RetailDemo" # Demo Mode for Store Display
|
||||
"RtkBtManServ" # Realtek Bluetooth Device Manager Service
|
||||
"SCardSvr" # Windows Smart Card Service
|
||||
"seclogon" # Secondary Logon (Disables other credentials only password will work)
|
||||
"SEMgrSvc" # Payments and NFC/SE Manager (Manages payments and Near Field Communication (NFC) based secure elements)
|
||||
"SharedAccess" # Internet Connection Sharing (ICS)
|
||||
#"Spooler" # Printing
|
||||
"stisvc" # Windows Image Acquisition (WIA)
|
||||
#"StorSvc" # StorSvc (usb external hard drive will not be reconized by windows)
|
||||
"SysMain" # Analyses System Usage and Improves Performance
|
||||
"TrkWks" # Distributed Link Tracking Client
|
||||
#"WbioSrvc" # Windows Biometric Service (required for Fingerprint reader / facial detection)
|
||||
"WerSvc" # Windows error reporting
|
||||
"wisvc" # Windows Insider program(Windows Insider will not work if Disabled)
|
||||
#"WlanSvc" # WLAN AutoConfig
|
||||
"WMPNetworkSvc" # Windows Media Player Network Sharing Service
|
||||
"WpcMonSvc" # Parental Controls
|
||||
"WPDBusEnum" # Portable Device Enumerator Service
|
||||
"WpnService" # WpnService (Push Notifications may not work)
|
||||
#"wscsvc" # Windows Security Center Service
|
||||
"WSearch" # Windows Search
|
||||
"XblAuthManager" # Xbox Live Auth Manager
|
||||
"XblGameSave" # Xbox Live Game Save Service
|
||||
"XboxNetApiSvc" # Xbox Live Networking Service
|
||||
"XboxGipSvc" #Disables Xbox Accessory Management Service
|
||||
"ndu" # Windows Network Data Usage Monitor
|
||||
"WerSvc" #disables windows error reporting
|
||||
#"Spooler" #Disables your printer
|
||||
"Fax" #Disables fax
|
||||
"fhsvc" #Disables fax histroy
|
||||
"gupdate" #Disables google update
|
||||
"gupdatem" #Disable another google update
|
||||
"stisvc" #Disables Windows Image Acquisition (WIA)
|
||||
"AJRouter" #Disables (needed for AllJoyn Router Service)
|
||||
"MSDTC" # Disables Distributed Transaction Coordinator
|
||||
"WpcMonSvc" #Disables Parental Controls
|
||||
"PhoneSvc" #Disables Phone Service(Manages the telephony state on the device)
|
||||
"PrintNotify" #Disables Windows printer notifications and extentions
|
||||
"PcaSvc" #Disables Program Compatibility Assistant Service
|
||||
"WPDBusEnum" #Disables Portable Device Enumerator Service
|
||||
#"LicenseManager" #Disable LicenseManager(Windows store may not work properly)
|
||||
"seclogon" #Disables Secondary Logon(disables other credentials only password will work)
|
||||
"SysMain" #Disables sysmain
|
||||
"lmhosts" #Disables TCP/IP NetBIOS Helper
|
||||
"wisvc" #Disables Windows Insider program(Windows Insider will not work)
|
||||
"FontCache" #Disables Windows font cache
|
||||
"RetailDemo" #Disables RetailDemo whic is often used when showing your device
|
||||
"ALG" # Disables Application Layer Gateway Service(Provides support for 3rd party protocol plug-ins for Internet Connection Sharing)
|
||||
#"BFE" #Disables Base Filtering Engine (BFE) (is a service that manages firewall and Internet Protocol security)
|
||||
#"BrokerInfrastructure" #Disables Windows infrastructure service that controls which background tasks can run on the system.
|
||||
"SCardSvr" #Disables Windows smart card
|
||||
"EntAppSvc" #Disables enterprise application management.
|
||||
"BthAvctpSvc" #Disables AVCTP service (if you use Bluetooth Audio Device or Wireless Headphones. then don't disable this)
|
||||
#"FrameServer" #Disables Windows Camera Frame Server(this allows multiple clients to access video frames from camera devices.)
|
||||
"Browser" #Disables computer browser
|
||||
"BthAvctpSvc" #AVCTP service (This is Audio Video Control Transport Protocol service.)
|
||||
#"BDESVC" #Disables bitlocker
|
||||
"iphlpsvc" #Disables ipv6 but most websites don't use ipv6 they use ipv4
|
||||
"edgeupdate" # Disables one of edge update service
|
||||
"MicrosoftEdgeElevationService" # Disables one of edge service
|
||||
"edgeupdatem" # disbales another one of update service (disables edgeupdatem)
|
||||
"SEMgrSvc" #Disables Payments and NFC/SE Manager (Manages payments and Near Field Communication (NFC) based secure elements)
|
||||
#"PNRPsvc" # Disables peer Name Resolution Protocol ( some peer-to-peer and collaborative applications, such as Remote Assistance, may not function, Discord will still work)
|
||||
#"p2psvc" # Disbales Peer Name Resolution Protocol(nables multi-party communication using Peer-to-Peer Grouping. If disabled, some applications, such as HomeGroup, may not function. Discord will still work)
|
||||
#"p2pimsvc" # Disables Peer Networking Identity Manager (Peer-to-Peer Grouping services may not function, and some applications, such as HomeGroup and Remote Assistance, may not function correctly.Discord will still work)
|
||||
"PerfHost" #Disables remote users and 64-bit processes to query performance .
|
||||
"BcastDVRUserService_48486de" #Disables GameDVR and Broadcast is used for Game Recordings and Live Broadcasts
|
||||
"CaptureService_48486de" #Disables ptional screen capture functionality for applications that call the Windows.Graphics.Capture API.
|
||||
"cbdhsvc_48486de" #Disables cbdhsvc_48486de (clipboard service it disables)
|
||||
#"BluetoothUserService_48486de" #disbales BluetoothUserService_48486de (The Bluetooth user service supports proper functionality of Bluetooth features relevant to each user session.)
|
||||
"WpnService" #Disables WpnService (Push Notifications may not work )
|
||||
#"StorSvc" #Disables StorSvc (usb external hard drive will not be reconised by windows)
|
||||
"RtkBtManServ" #Disables Realtek Bluetooth Device Manager Service
|
||||
"QWAVE" #Disables Quality Windows Audio Video Experience (audio and video might sound worse)
|
||||
#Hp services
|
||||
"XblAuthManager" # Xbox Live Auth Manager (Disabling Breaks Xbox Live Games)
|
||||
"XblGameSave" # Xbox Live Game Save Service (Disabling Breaks Xbox Live Games)
|
||||
"XboxNetApiSvc" # Xbox Live Networking Service (Disabling Breaks Xbox Live Games)
|
||||
"XboxGipSvc" # Xbox Accessory Management Service
|
||||
# Hp services
|
||||
"HPAppHelperCap"
|
||||
"HPDiagsCap"
|
||||
"HPNetworkCap"
|
||||
"HPSysInfoCap"
|
||||
"HpTouchpointAnalyticsService"
|
||||
#hyper-v services
|
||||
# Hyper-V services
|
||||
"HvHost"
|
||||
"vmickvpexchange"
|
||||
"vmicguestinterface"
|
||||
"vmicshutdown"
|
||||
"vmicheartbeat"
|
||||
"vmicvmsession"
|
||||
"vmickvpexchange"
|
||||
"vmicrdv"
|
||||
"vmicshutdown"
|
||||
"vmictimesync"
|
||||
# Services which cannot be disabled
|
||||
"vmicvmsession"
|
||||
# Services that cannot be disabled
|
||||
#"WdNisSvc"
|
||||
)
|
||||
|
||||
@ -983,7 +783,7 @@ $WPFtweaksbutton.Add_Click({
|
||||
Set-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile" -Name "SystemResponsiveness" -Type DWord -Value 0000000a
|
||||
Set-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile" -Name "NetworkThrottlingIndex" -Type DWord -Value 0000000a
|
||||
Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control" -Name "WaitToKillServiceTimeout" -Type DWord -Value 2000
|
||||
Set-ItemProperty -Path "HKLM:\Control Panel\Desktop" -Name "MenuShowDelay" -Type DWord -Value 0
|
||||
Set-ItemProperty -Path "HKLM:\Control Panel\Desktop" -Name "MenuShowDelay" -Type DWord -Value 1
|
||||
Set-ItemProperty -Path "HKLM:\Control Panel\Desktop" -Name "WaitToKillAppTimeout" -Type DWord -Value 5000
|
||||
Set-ItemProperty -Path "HKLM:\Control Panel\Desktop" -Name "HungAppTimeout" -Type DWord -Value 4000
|
||||
Set-ItemProperty -Path "HKLM:\Control Panel\Desktop" -Name "AutoEndTasks" -Type DWord -Value 1
|
||||
@ -1171,7 +971,7 @@ $WPFtweaksbutton.Add_Click({
|
||||
"*AdobePhotoshopExpress*"
|
||||
"*HotspotShieldFreeVPN*"
|
||||
|
||||
#Optional: Typically not removed but you can if you need to for some reason
|
||||
#Optional: Typically not removed but you can if you need to
|
||||
"*Microsoft.Advertising.Xaml*"
|
||||
#"*Microsoft.MSPaint*"
|
||||
#"*Microsoft.MicrosoftStickyNotes*"
|
||||
@ -1388,8 +1188,16 @@ $WPFFeatureInstall.Add_Click({
|
||||
[System.Windows.MessageBox]::Show($Messageboxbody,$MessageboxTitle,$ButtonType,$MessageIcon)
|
||||
})
|
||||
|
||||
$WPFPanelDISM.Add_Click({
|
||||
Start-Process PowerShell -ArgumentList 'Write-Host "Chkdsk" -ForegroundColor Green; Chkdsk;
|
||||
Write-Host "SFC - 1st scan" -ForegroundColor Green; sfc /scannow;
|
||||
Write-Host "DISM" -ForegroundColor Green; DISM /Online /Cleanup-Image /Restorehealth;
|
||||
Write-Host "SFC - 2nd scan" -ForegroundColor Green; sfc /scannow;
|
||||
Read-Host "Press Enter"' -verb runas
|
||||
})
|
||||
|
||||
$WPFPanelcontrol.Add_Click({
|
||||
cmd /c control
|
||||
cmd /c control
|
||||
})
|
||||
$WPFPanelnetwork.Add_Click({
|
||||
cmd /c ncpa.cpl
|
||||
@ -1434,7 +1242,7 @@ function New-Directory($path) {
|
||||
$p, $components = $path -split '[\\/]'
|
||||
$components | ForEach-Object {
|
||||
$p = "$p\$_"
|
||||
if (!(Test-Path $p)) {
|
||||
If (!(Test-Path $p)) {
|
||||
New-Item -ItemType Directory $p | Out-Null
|
||||
}
|
||||
}
|
||||
@ -1471,7 +1279,7 @@ New-ItemProperty `
|
||||
# 1: PCs on my local network
|
||||
# 3: PCs on my local network, and PCs on the Internet
|
||||
$deliveryOptimizationPath = 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\DeliveryOptimization\Config'
|
||||
if (Test-Path $deliveryOptimizationPath) {
|
||||
If (Test-Path $deliveryOptimizationPath) {
|
||||
New-ItemProperty `
|
||||
-Path $deliveryOptimizationPath `
|
||||
-Name DODownloadMode `
|
||||
@ -1506,7 +1314,8 @@ foreach ($service in $services) {
|
||||
Remove-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\WindowsUpdate\UX\Settings" -Name "BranchReadinessLevel" -ErrorAction SilentlyContinue
|
||||
Remove-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\WindowsUpdate\UX\Settings" -Name "DeferFeatureUpdatesPeriodInDays" -ErrorAction SilentlyContinue
|
||||
Remove-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\WindowsUpdate\UX\Settings" -Name "DeferQualityUpdatesPeriodInDays " -ErrorAction SilentlyContinue
|
||||
|
||||
})
|
||||
$WPFFixesUpdate.Add_Click({
|
||||
### Reset Windows Update Script - reregister dlls, services, and remove registry entires.
|
||||
Write-Host "1. Stopping Windows Update Services..."
|
||||
Stop-Service -Name BITS
|
||||
@ -1514,6 +1323,8 @@ foreach ($service in $services) {
|
||||
Stop-Service -Name appidsvc
|
||||
Stop-Service -Name cryptsvc
|
||||
|
||||
|
||||
|
||||
Write-Host "2. Remove QMGR Data file..."
|
||||
Remove-Item "$env:allusersprofile\Application Data\Microsoft\Network\Downloader\qmgr*.dat" -ErrorAction SilentlyContinue
|
||||
|
||||
@ -1581,10 +1392,9 @@ foreach ($service in $services) {
|
||||
Get-BitsTransfer | Remove-BitsTransfer
|
||||
|
||||
Write-Host "10) Attempting to install the Windows Update Agent..."
|
||||
if($arch -eq 64){
|
||||
If ($arch -eq 64) {
|
||||
wusa Windows8-RT-KB2937636-x64 /quiet
|
||||
}
|
||||
else{
|
||||
} else {
|
||||
wusa Windows8-RT-KB2937636-x86 /quiet
|
||||
}
|
||||
|
||||
@ -1630,7 +1440,7 @@ function New-Directory($path) {
|
||||
$p, $components = $path -split '[\\/]'
|
||||
$components | ForEach-Object {
|
||||
$p = "$p\$_"
|
||||
if (!(Test-Path $p)) {
|
||||
If (!(Test-Path $p)) {
|
||||
New-Item -ItemType Directory $p | Out-Null
|
||||
}
|
||||
}
|
||||
@ -1667,7 +1477,7 @@ New-ItemProperty `
|
||||
# 1: PCs on my local network
|
||||
# 3: PCs on my local network, and PCs on the Internet
|
||||
$deliveryOptimizationPath = 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\DeliveryOptimization\Config'
|
||||
if (Test-Path $deliveryOptimizationPath) {
|
||||
If (Test-Path $deliveryOptimizationPath) {
|
||||
New-ItemProperty `
|
||||
-Path $deliveryOptimizationPath `
|
||||
-Name DODownloadMode `
|
||||
|
Loading…
Reference in New Issue
Block a user