Go to file
Mr.k 6b73f71876
[01] Refactoring UI code (#2274)
* Update Documentation for 'Get-TabXaml' Function

* Add More checks for Passed Parameters for 'Get-TabXaml' Function & A One Line change

* Make 'Get-TabXaml' Function do Proper Indentation to the Generated XML String & Add more Theming Options

* Re-formatting for a few lines in 'Get-TabXaml' Function

* Improve UI a bit

* Fix Buttons for Config Tab

* Add optional 'ButtonWidth' Field to Config Json Files that use 'Button' Type

* Simple Code Formatting in 'inputXML.xaml' File

* Make naming More Clear to the Developers

Rename the name of an element from 'CheckboxFilterClear' to 'SearchBarClearButton' and renamed style from 'ClearButtonStyle' to 'SearchBarClearButtonStyle'

* Rename 'FontFamilyHeading' to 'HeaderFontFamily' to match conventions & Make new Theming Property called 'SearchBarClearButtonFontSize'

* Remove Un-necessary 'ToString' Convertion in 'Get-TabXaml' Function

* Make naming More Clear to the Developers again

Rename the name of an element from 'CheckboxFilter' to 'SearchBar'.. although after some realization.. the naming might make sense at first,
because it filters only the checkboxes.. but CheckBoxFilter is less "Intutive" when saying it compared to "SearchBar".. _This's my own opinion, and it can reverted easily with git if needed._

* Remove Un-necessary Attributes in 'Get-TabXaml' Private Function

* Improve UI a bit

* Improve UI a bit

* Re-order some tweaks & Update their Content Fields to be more descriptive

* Remove the changing 'Off' & 'On' TextBlock next to Toggle Button/Checkbox

Removed it as it only takes up space in the right side of the Toggle Button/Checkbox, as well as making it difficult to correctly align it when change from/to 'On' & 'Off' Text,

* Some changes to the Generated Toggle Button/Checkbox in 'Get-TabXaml' Private Function

Increase the Side Margins of Toggle Button/Checkbox, as well as Change its side to be on the Left hand-side of the Label, rather then the Right hand-side.
2024-07-08 14:59:58 -05:00
.github Improvements/Fixes for the Release Actions (#2221) 2024-06-29 06:46:52 -05:00
config [01] Refactoring UI code (#2274) 2024-07-08 14:59:58 -05:00
functions [01] Refactoring UI code (#2274) 2024-07-08 14:59:58 -05:00
lint 2023 09 23 test (#1117) 2023-10-19 17:12:55 -05:00
pester Fix Unit Tests and Official Releases (#1854) 2024-04-20 18:30:38 -05:00
releases oscdimg upload 2023-12-19 14:20:21 -06:00
scripts [01] Refactoring UI code (#2274) 2024-07-08 14:59:58 -05:00
wiki Test 2024 04 20 2 (#2030) 2024-06-04 22:27:27 -05:00
xaml [01] Refactoring UI code (#2274) 2024-07-08 14:59:58 -05:00
.gitattributes Fix New Line Character for 'winutil.ps1' File (#2150) 2024-06-28 16:23:41 -05:00
.gitignore Test 2024 04 20 2 (#2030) 2024-06-04 22:27:27 -05:00
Compile.ps1 Remove trailing whitespace characters (#2149) 2024-06-28 17:15:39 -05:00
edgeremoval.bat Remove trailing whitespace characters (#2149) 2024-06-28 17:15:39 -05:00
edgeremoval.ps1 Test 2024 03 30 (#1852) 2024-04-20 16:38:43 -05:00
gpedit-home.ps1 Test 2023 10 24 (#1176) 2023-11-14 15:45:48 -06:00
KnownIssues.md Move Launch Issues from ReadMe to Known Issues (#2222) 2024-06-29 08:08:23 -05:00
LICENSE Initial commit 2022-04-27 21:25:19 -05:00
README.md Move Launch Issues from ReadMe to Known Issues (#2222) 2024-06-29 08:08:23 -05:00
screen-install.png Test 2024 01 25 (#1505) 2024-01-30 12:36:38 -06:00
windev.ps1 Improvements/Fixes for the Release Actions (#2221) 2024-06-29 06:46:52 -05:00
winget.ps1 Compile Cleanup and Tweak Fixes (#2062) 2024-06-10 15:24:12 -05:00
winutil.ps1 Compile Winutil 2024-06-29 11:45:03 +00:00

Chris Titus Tech's Windows Utility

Version

This utility is a compilation of Windows tasks I perform on each Windows system I use. It is meant to streamline installs, debloat with tweaks, troubleshoot with config, and fix Windows updates. I am extremely picky about any contributions to keep this project clean and efficient.

screen-install

Usage

Winutil must be run in Admin mode because it performs system-wide tweaks. To achieve this, open PowerShell or Windows Terminal as an administrator. Here are a few ways to do it:

  1. Right-Click Method:

    • Right-click on the start menu.
    • Choose "Windows PowerShell (Admin)" (for Windows 10) or "Terminal (Admin)" (for Windows 11).
  2. Search and Launch Method:

    • Press the Windows key.
    • Type "PowerShell" or "Terminal" (for Windows 11).
    • Press Ctrl + Shift + Enter to launch it with administrator privileges.

Launch Command

Simple way

irm "https://christitus.com/win" | iex

Courtesy of the issue: #144

If this site is not reachable from your country, please try running it directly from GitHub.

irm "https://github.com/ChrisTitusTech/winutil/releases/latest/download/winutil.ps1" | iex

If you still have Issues, refer to Known Issues.

Automation

Some features are available through automation. This allows you to save your config file pass it to Winutil walk away and come back to a finished system. Here is how you can set it up currently with Winutil >24.01.15

  1. On the Install Tab, click "Get Installed", this will get all installed apps supported by Winutil on the system GetInstalled
  2. Click on the Settings cog in the upper right corner and chose Export, chose file file and location, this will export the setting file. SettingsExport
  3. Copy this file to a USB or somewhere you can use after Windows installation.
  4. Use Microwin tab to create a custom Windows image.
  5. Install the Windows image.
  6. In the new Windows, Open PowerShell in the admin mode and run command to automatically apply tweaks and install apps from the config file.
iex "& { $(irm christitus.com/win) } -Config [path-to-your-config] -Run"
  1. Have a cup of coffee! Come back when it's done.

Support

Tutorial

Watch the video

Overview

  • Install

    • Install Selection: Organize programs by category and facilitate installation by enabling users to select programs and initiate the installation process with a single click.

    • Upgrade All: Upgrade all existing programs to their latest versions, ensuring users have the most up-to-date and feature-rich software.

    • Uninstall Selection: Effortlessly uninstall selected programs, providing users with a streamlined way to remove unwanted software from their system.

    • Get Installed: Retrieve a comprehensive list of installed programs on the system, offering users visibility into the software currently installed on their computer.

    • Import / Export: Enable users to import or export the selection list of programs, allowing them to save their preferred program configurations or share them with others. This feature promotes convenience and flexibility in managing program selections across different systems.

  • Tweaks

    • Recommended Selection: Provides pre-defined templates tailored for desktop, laptop, and minimal configurations, allowing users to select recommended settings and optimizations specific to their system type.

    • Essential Tweaks: Offers a collection of essential tweaks aimed at improving system performance, privacy, and resource utilization. These tweaks include creating a system restore point, disabling telemetry, Wi-Fi Sense, setting services to manual, disabling location tracking, and HomeGroup, among others.

    • Advanced Tweaks: Encompasses a range of various advanced power user tweaks to further optimize the system. These tweaks include removing OneDrive and Edge, disabling User Account Control (UAC), notification panel, among others.

    • Toggles: Adds easy to use, one click shortcuts for toggling dark mode, NumLock on startup, file extensions, sticky keys, among others.

    • Additional Tweaks: Introduces various other tweaks such as enabling dark mode, changing DNS settings, adding an Ultimate Performance mode, and creating shortcuts for WinUtil tools. These tweaks provide users with additional customization options to tailor their system to their preferences.

  • Config

    • Features: Allows users to easily install various essential components and features to enhance their Windows experience. These features include installing .NET Frameworks, enabling Hyper-V virtualization, enabling legacy media support for Windows Media Player and DirectPlay, enabling NFS (Network File System) for network file sharing, and enabling Windows Subsystem for Linux (WSL) for running Linux applications on Windows.

    • Fixes: Provides a range of helpful fixes to address common issues and improve system stability. This includes setting up autologon for seamless login experiences, resetting Windows updates to resolve update-related problems, performing a system corruption scan to detect and repair corrupted files, and resetting network settings to troubleshoot network connectivity issues.

    • Legacy Windows Panels: Includes access to legacy Windows panels from Windows 7, allowing users to access familiar and powerful tools. These panels include Control Panel for managing system settings, Network Connections for configuring network adapters and connections, Power Panel for adjusting power and sleep settings, Sound Settings for managing audio devices and settings, System Properties for viewing and modifying system information, and User Accounts for managing user profiles and account settings.

  • Updates:

    • Default (Out of Box) Settings: Provides the default settings that come with Windows for updates.

    • Security (Recommended) Settings: Offers recommended settings, including a slight delay of feature updates by 2 years and installation of security updates 4 days after release.

    • Disable All Updates (Not Recommended!): Allows users to disable all Windows updates, but it's not recommended due to potential security risks.

Video and Written Article walkthrough @ https://christitus.com/windows-tool/

Issues

If you encounter any challenges or problems with the script, I kindly request that you submit them via the "Issues" tab on the GitHub repository. By filling out the provided template, you can provide specific details about the issue, allowing me to promptly address any bugs or consider feature requests.

Contribute Code

Pull Requests are now handled directly on the MAIN branch. This was done since we can now select specific releases to launch via releases in GitHub.

If doing a code change and you can submit a PR to main branch, but I am very selective about these. Do not use a code formatter, massive amounts of line changes, and make multiple feature changes. EACH FEATURE CHANGE SHOULD BE IT'S OWN Pull Request!

When creating pull requests, it is essential to thoroughly document all changes made. This includes documenting any additions made to the tweaks section and ensuring that corresponding undo measures are in place to remove the newly added tweaks if necessary. Failure to adhere to this format may result in denial of the pull request. Additionally, comprehensive documentation is required for all code changes. Any code lacking sufficient documentation may also be denied.

By following these guidelines, we can maintain a high standard of quality and ensure that the codebase remains organized and well-documented.

NOTE: When creating a function please include "WPF" or "WinUtil" in the name so that it can be loaded into the runspace.

Thanks to all Contributors

Thanks a lot for spending your time helping Winutil grow. Thanks a lot! Keep rocking 🍻.

Contributors

GitHub Stats

Alt