Giter VIP home page Giter VIP logo

winutil's Introduction

Chris Titus Tech's Windows Utility

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 raised at: #144

or by executing:

iwr -useb https://christitus.com/win | iex

if for some reason this site is not reachable from your country please try running it directly from github (replace RELEASE_TAG with current release that you are interested in, for example v2024.06.05)

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

Automation

Some features are avaliable 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.

Issues:

  • If you are unable to resolve christitus.com/win and are getting errors launching the tool, it might be due to India blocking GitHub's content domain and preventing downloads. You may use a VPN or change your DNS provider to Google/Cloudflare/etc.

Source: https://timesofindia.indiatimes.com/gadgets-news/github-content-domain-blocked-for-these-indian-users-reports/articleshow/96687992.cms

  • Windows Security (formerly Defender) and other anti-virus software are known to block the script. The script gets flagged due to the fact that it requires administrator privileges & makes drastic system changes.

  • If you are having TLS 1.2 issues, or are having trouble resolving 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')

If you are still having issues try changing your DNS provider to 1.1.1.1 || 1.0.0.1 or 8.8.8.8 || 8.8.4.4

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

winutil's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

winutil's Issues

Doesn't install Apps

Unsure if I should report this as a bug; I just freshly reinstalled windows 10 and upon using the tool, I've attempted to download multiple apps at the same time, and also try tweaks and they don't work. Even upon restarting, they won't install/change.

Forgot to mention:

Running Windows 10 Home

Vers 10.019044

(Also found out there's another issue open of the same exact one: my mistake)

Programs Not Installing

Describe the bug
Programs do not install despite program indicating programs were installed.

To Reproduce
Steps to reproduce the behavior:

  1. Start script
  2. Choose "Install" from the left-hand navigation pane
  3. Choose any program
  4. Click "Start install"

Expected behavior
Programs are installed.

Additional context
Using Windows 10 on an Asus laptop

Winutil don't install any apps on my W10 20H2 19042.1706 previous versions of debloat work as expected

@ChrisTitusTech

GUI opens and can be resized

I invoked it via iwr -useb https://christitus.com/win | iex and direct from PS1 saved from this Git

No apps seems to get installed. Screen briefly flashes and a popop window says app installed.

Is there some logfile or dependencies?

My PS version
Name Value


PSVersion 5.1.19041.1682
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.19041.1682
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1

2022-05-15 - winutil sc 01

Previous debloat runs fine - example uninstall onedrive
2022-05-15 - previous debloat runs fine

Reset Windows Update button not doing anything

Describe the bug
Reset Windows Update button not doing anything, does not display anything on console and the program is still responsive

To Reproduce
Steps to reproduce the behavior:

  1. Open the tool
  2. Click on Config
  3. Click on Reset Windows Update

Expected behavior
The console logs everything that is happening and "fixes" the windows updates

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Ran on windows terminal 1.12.10983
Windows 11 Pro 22000.588

Feature Request: Arguments and Unattended Running

Is your feature request related to a problem? Please describe.
It would be very useful if the script had the ability to run unattended and silent. This would be useful for people who know what they want to run and want to run a command and wait for it to finish. It would also be helpful for people like IT's and System Admins to use if they wanted to deploy the script during the setup of a network of computers.

Describe the solution you'd like
The solution would be much like what I implemented in ChrisTitusTech/win10script#331 where you pass arguments into the script and the script runs them and then exits (if the accompanying arg is set). It will be much more difficult to implement in the new variant of the script though.
I will attempt to implement it in a pull request when the current restructuring of the script for runspaces is complete as I don't want to interfere with that.

Additional context
I'm putting this here for others to refer to and offer suggestions and to prevent someone else from opening an issue on it while I'm working on it.

Feature Suggestion: WizTree as an alternative to WinDirStat

Is your feature request related to a problem? Please describe.
N/A

Describe the solution you'd like
I would like suggest WizTree an an alternative to WinDirStat as a disk usage analyzer utility.
In my experience it is much faster to scan and generate visualizations of disk usage compared to WinDirStat,
this is especially noticeable on large disks (I have a 1TB Nvme SSD, a 2TB Hard-drive. WizTree is much faster at analyzing both).
WizTree is available on winget as: AntibodySoftware.WizTree

Describe alternatives you've considered
N/A

Additional context
I would like to note that I haven't used TreeSize which i believe to be another alternative already on this utility. Hence no comparisons to this have been made.

Discord Upgrade Bug

[FIXED AFTER SYSTEM RESTART]

I am getting a bug when I try "upgrade all". I have noticed that the bug is happening during the upgrading of discord.

  • Even Though It's working fine after the restart, I thought of reporting the log files here which might be useful for you..

SquirrelSetup.log

Thanks for looking into this issue,
Harsh Patel

Add Agent Ransack to Install Section

name about title labels assignees
Add Agent Ransack to Install Section Agent Ransack is a free file system search utility for both Commercial and Personal use that utilizes multi-threading to execute searches at particularly high speeds. It supports file/directory name searches as well as file content searches in boolean, wildcard, and regex formats. This utility is a must have for me and I think it deserves more praise and exposure, so it would be awesome if winutil had a checkbox for installing it under the Install tab.      

Did I mess up a device driver when running the script?

After doing a fresh install of Win 10 Pro, I ran the winutil script (the current version as of the day I did my build, June 22) with recommended settings and then ran O&OShutup, also using the recommended settings.

Now I've discovered that I can't plug in my iPad for syncing with the iTunes Win desktop app: it says that it is waiting for Windows to install an updated driver. When I check Device Manager, it is showing a driver for the iPad under "Portable Devices", but it still isn't recognized by iTunes. I've uninstalled and reinstalled iTunes, as well as the driver, many reboots, etc., but still no luck.

Win and the iTunes app are up to date.

Which part of Windows which I might have nuked in the debloating script that could be needed for this? I'm investigating the debloat script since I did nothing else to give rise to this issue but it could certainly be something else. Thanks

Windows 11 home edition : nothing works

Description :
The utility doesnt do installations or tweaks from a local account (user not adminin).

To Reproduce
Steps to reproduce the behavior:

  1. Powershell with elevated administrator (since the account is user)
  2. Click Install
  3. The box display the status as installed
  4. The app isnt not in the windows launcher nor is ticked in the winutil's gui

Expected behavior
An actual installation of the chosen app (or feature)

Additional context
When winutil is opened through a powershell , there is no message indicating an error.

Dark mode

Is your feature request related to a problem? Please describe.
No

Describe the solution you'd like
in the first tool there was a button dark mode and light mode can we get it back please

Describe alternatives you've considered
Using the old tool

Additional context
when you dont activate windows i dont think you can change the dark or light mode so its locked on light mode
so i use the tool in my VM to set it to darkmode will be nice if the new tool can do that to

[FR] Add option to Disable All Notifications

Is your feature request related to a problem? Please describe.
I deploy some machines that boot up to only play a video.
Sometimes I forget to disable notifications, and they pop up from time to time.

Describe the solution you'd like
It would be good to have an option to disable them all easily

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Updates tools are NOT properly working

Updates tools are NOT properly working . if you choose |Security (Recommended) Settings| option and then you decide to make the Default settings it will gives you an error . Windows update reset tool also doing nothing at all. I'm using Windows 10 21H2 build 19044.1806
Capture

The "some features are managed by your organisation" thing is keeping me from making changes to my system.

Apparently, the tweaks are managed using the gpedit, I guess and the windows 10 Home edition doesn't have the group policy editor in it. I used the Tweaks section in the tool after I reset my Laptop and I also wanted to use the "Find My Device" function of Windows 10 which uses location services. But now, the OS thinks that my PC is a part of a WORKGROUP and I can't make any changes I want within the settings. Some settings are also greyed out because of this. (check screenshots)

I tried to Undo the tweaks but it didn't change anything. Either I will have to live this way or I should again reset my PC which is frustrating at this point. I installed gpedit and followed some steps from the Net to take control but nothing's helping now.

Please suggest any fix for this.

SystemPropertiesAdvanced_qUTjEiLO1F
ApplicationFrameHost_Zk2evQy4rT
ApplicationFrameHost_EjzOMPc56E

Will the tweaks be applied to every existing user or just the admin?

Question:
The question from the title.
I created a new user for testing purposes and the apps were not listed, so there it worked.
It seems like the changes got applied to new users but not existing users?
Does it matter, if I apply the tweaks before or after the creation of new users?
Thanks in advance for your help.

To Reproduce

  1. install windows
  2. create another user account
  3. switch to admin
  4. run "Remove ALL MS Store Apps"
  5. log out and login to new user
  6. MS Store Apps are still there

Expected behavior
Run "Remove ALL MS Store Apps" and these Apps will be uninstalled for every user account on the PC.

Info you may or not need to help ¯\_(ツ)_/¯

This was the only way I knew how to give accurate info on what's happening on my machine with this new iteration of your Win10 Debloater, the last version is STILL holding my duct taped, bubble gum-med boxes together though, so I'm cool, but I thought it may help ya out. Also, I was having problems with GIMP and .svg's but I just got Inkscape, so hopefully I'll get some time to finish up some freshened up front end stuff for this utility. Hang in there peeps, and Chris, I hope your health, or more accurately, your insurance is getting better for ya Bud. Now, lets see if I get this to work ... Here goes .... Much love!!! ✌ ϻя.ƹ
CHRIS TITUS WIN UTIL 1
CHRIS TITUS WIN UTIL 2
CHRIS TITUS WIN UTIL 3
CHRIS TITUS WIN UTIL 4
CHRIS TITUS WIN UTIL 5
CHRIS TITUS WIN UTIL 6
CHRIS TITUS WIN UTIL 7
CHRIS TITUS WIN UTIL 8
CHRIS TITUS WIN UTIL 9

Better readme and repo description

Sorry if this has been stated before or if this is on purpose, but IMO this repo could really use more description as to what it intends to do.

I came across this repo just exploring on GitHub and had no idea what it's supposed to be, but it does have stars and issues so it must be relevant to something, right? It was only after that I realized who the repo belongs to and I know your YouTube channel.

If I hadn't recognized the repo owner from YouTube I would have just moved on. A description (and a few screenshots perhaps?) would really help users just stumbling in here.

Feature Request: Multiple Things

Context
This is where I will be keeping track of the transfer of my pull requests from ChrisTitusTech/win10script to here along with other features I'm working on. Feel free to comment with input or recommendations or even an idea for another feature.

Checklist

  • More work on improving Formatting and Grammar
  • Fix Network Data Usage/Task Manager network usage bug
    • ChrisTitusTech/win10script#319
    • The ndu service has something to do with it, but there is something else causing issues as well that I need to track down
  • Allow custom OOShutup10 configs
    • ChrisTitusTech/win10script#321
    • Add if-statement that checks if ooshutup10.cfg exists, if it does then does nothing, if it doesn't then it downloads it. This allows users to put their own preset into the script root directory and not be overridden.
    • #298
  • Fix bug on non-default system drives
  • More work on winget manual install
    • Add check if DesktopAppInstaller is installed at all, and perform manual install if it isn't as the modern method does not work when it doesn't exist
  • Fix Test-Path Bug in $undotweaks
    • ChrisTitusTech/win10script#327
    • It seems that when $undotweaks was initially written, the Test-Paths in the if-statements didn't have the ! removed from them, making it that the items were removed if the command found that it didn't exist, which is not the intended behavior.
  • Bring back restore power plan
    • ChrisTitusTech/win10script#328
    • Bring back the restore power plan section with some changes to prevent duplication of power plans
    • Power plan section of the script was removed
  • Create Known Issues Page
    • ChrisTitusTech/win10script#332
    • Will contain a compilation of known possible issues and their fixes
    • Hopefully would reduce the number of issues posted
    • Need to update issue links as they are from the previous script
  • Fix Xbox Live Bug
  • Disable built-in admin account
  • Install gpedit.msc on Windows Home using DISM
  • Use gained knowledge from optimizing winfetch to improve some speed throughout the script
    • No need to go super in-depth as speed isn't a major concern in this script
  • Maybe: Reverse engineer WingetUI and reimplement in Winforms

cttwu update issues

Describe the bug
A clear and concise description of what the bug is.

ran ctt powershell program
clicked updates
clicked default out of box

this is what I get
in shell window

Setting BITS StartupType to Automatic
Setting wuauserv StartupType to Automatic
Enabling driver offering through Windows Update...
Enabling Windows Update automatic restart...
Enabled driver offering through Windows Update

  1. Stopping Windows Update Services...
  2. Remove QMGR Data file...
  3. Renaming the Software Distribution and CatRoot Folder...
  4. Removing old Windows Update log...
  5. Resetting the Windows Update Services to defualt settings...
  6. Registering some DLLs...
  1. Removing WSUS client settings...

ERROR: ERROR: The system was unable to find the specified registry key or value.
ERROR: at , : line 1330 ERROR: at , : line 1489 ERROR: at , : line 1
ERROR EXCEPTION: System.Management.Automation.RemoteException: ERROR: The system was unable to find the specified registry key or value.

Sleeping for 60m to give you time to look around the virtual machine before self-destruction...
Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.

simplewall

Simplewall is an open source firewall program that uses the Windows Filtering Platform to block internet access for applications.

I'd like for simplewall to be added into the install menu

Alternatives
Portmaster could be an alternative to simplewall, but it is in the alpha phase.
Tinywall is another alternative which isn't open source. I also consider the UI to be a bit cluttered and outdated.

Search is broken & Restarts/Shutdown are Extremely Slow

Describe the bug

Windows search does not find new programs and doesn't remove newly uninstalled programs
Restarts and shutdown are incredibly slow

To Reproduce

  1. Use the essential "Desktop" tweaks
  2. Restart (for good measure)
  3. Windows search is now broken
  4. Undoing tweaks does NOT fix this

Expected behavior

Everything should be searchable in windows search
Usual restart and shutdown takes less than 10 seconds (as opposed to 2-3 minutes)

Additional context

The only fix I found to for search is manually resetting everything in O&OSHUTUP10
I have not found a fix for the restarts
Running latest Windows 10 version:
Version 21H2 (OS Build 19044.1766)

Few apps not installing

Describe the bug
Anydesk and Windows Terminal are not installing Windows 10 Version 21H1 (OS Build 19044.1706)
To Reproduce
Steps to reproduce the behavior:

  1. Run the script
  2. Select Anydesk and Windows Terminal
  3. Click Start Install
  4. See error (sometimes there is a PowerShell windows opening named as 'select')

script not starting

Describe the bug
iwr : Richiesta annullata: Impossibile creare un canale sicuro SSL/TLS..
In riga:1 car:1

  • iwr -useb https://christitus.com/win | iex
  •   + CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-WebRequest], W
     eption
      + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand
    

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.
ice_screenshot_20220806-204625

Suggestions

Is your feature request related to a problem?.

Only improvements like:

Unpin to taskbar Microsoft Store, Mail, ... apps
Pin to taskbar any apps like Remote Desktop

Set SearchProvider and SearchProviderUrl for Google in Edge navigator.

Pin to QuickAccess

Pin to Start Menu

Connect to network drive

Shortcuts

Describe the solution you'd like

Pin / Unpin to taskbar
https://stackoverflow.com/questions/9739772/how-to-pin-to-taskbar-using-powershell

Hidden Cortana button

Edge
https://stackoverflow.com/questions/60892120/edge-chromium-gp-how-to-set-google-as-default-bypass-first-run-dialog-and-ha

Pin to QuickAccess
https://stackoverflow.com/questions/30051634/is-it-possible-programmatically-add-folders-to-the-windows-10-quick-access-panel

Pin to Start Menu
https://stackoverflow.com/questions/9903847/how-to-pin-to-start-menu-using-powershell

Connect to network drive
https://www.itechguides.com/how-to-map-a-drive-in-powershell/

Create shortcut
https://stackoverflow.com/questions/9701840/how-to-create-a-shortcut-using-powershell

Describe alternatives you've considered
Using powershell

Additional context
Windows 10 20H2

W11 can't restart or shut down anymore after running essential tweaks.

Describe the bug
The current version has a bug. I ran the essential tweaks and the result was that my W11 didn't shut down or restart anymore. I used the restore point to undo the changes and it worked fine again. I am willing to help you debug it. Just let me know what logs you want.

To Reproduce
Steps to reproduce the behavior:
Run Essential tweaks.

Expected behavior

Screenshots

Additional context
Add any other context about the problem here.

Will not install applications

I tried running this script after doing a fresh windows install. I ran it to install these software's:
Google.Chrome
Discord.Discord
Notepad++.Notepad++
PuTTY.PuTTY
7zip.7zip
VideoLAN.VLC
Bitwarden.Bitwarden
Rufus.Rufus
Spotify.Spotify
WinDirStat.WinDirStat

It said these were installed but they were not installed.
Any tips or where's the download location so I can just manually install them?

Running `Tweaks > Desktop` Breaks Start Menu Search

Describe the bug
Running Tweaks > Desktop breaks start menu search for apps installed/uninstalled after the tweak has been run. As an example, I'll describe the scenario as experienced on my clean install of Windows 10, which had the Windows Store version of Spotify installed. If you run the Tweaks > Desktop tweak, uninstall the Windows Store version of Spotify, install the normal Desktop version of Spotify, then attempt to search for Spotify using the start menu search feature, only the Windows Store version will be suggested, but the link will not function correctly (no app starts and there are no options to run as administrator, open file location, etc.). It seems that this action freezes the search functions view of applications installed to before the Tweaks > Desktop tweak is run, which is further supported by the start menu not finding Gimp, which I installed after having run the tweak.

To Reproduce
NOTE I attempted to reproduce this issue both by running the Tweaks > Desktop tweaks, installing ImgBurn, then running a start menu search and by uninstalling Agent Ransack then running a search, but ImgBurn does still show up in the search correctly for whatever reason. AgentRansack, however, exhibits the same behavior as described above. I'm not sure why ImgBurn still shows up in searches correctly. What I do know is that setting the Let apps run in the background option to true resolved my problem and that running Tweaks > Desktop reset the Let apps run in the background toggle to false.

Steps to reproduce the behavior:

  1. Follow instructions here until you get to Tweak
  2. Select the Desktop option under Recommended Selections, then click Run Tweaks
  3. Install a new application
  4. Press the Win key and type the name of the newly installed application
  5. NOTICE that windows cannot find the application, even if links to that application exist within the search indexer's path
  6. NOTICE that re-enabling the Settings > Background Apps > Let apps run in the background setting fixes the issue.

Expected behavior
Using the start menu's search feature should continue to operate as it did before the tweak was run.

Screenshots

Tweak Run > Agent Ransack uninstalled:
AgentRansackNotInstalled

Search still reports Agent Ransack results:
AgentRansackStillDetected

Error when installing Spotify

Describe the bug
Spotify does not install when installer is ran in administrator mode.

To Reproduce
Steps to reproduce the behavior:

  1. Run the script
  2. Check Spotify under Multimedia Tools
  3. Click on Start Install
  4. Wait for error message to popup

Expected behavior
The Spotify installer runs and successfully installs.

Screenshots
image

Additional context
A possible fix.

When installing all checked programs, check if Spotify is installed, if Spotify is checked then run Spotify installer in non-administrator Powershell, after Spotify is done installing, install other checked programs.

EDIT: Tried the fix above. First the installer started in non-administrator Powershell, but then I was prompted to open in administrator Powershell which then continued the install and resulted in the same error. I may have implemented this fix wrong, feel free to try your own way.

it just can't run

captura01 the error says: iwr : Request aborted: Unable to create SSL/TLS secure channel. I have tried it on 3 computers and only on one did it run correctly, on two others I have the same error.

Bricked my whole device until restart

This bug occurred when i did the recommended settings in the tweaks page. I used laptop settings because i have laptop.. well, did restart, everything seemed right and nothing was off, well until i tried to search something in the windows search bar, or trying to open settings. 2 minutes after this discovery, the windows GUI [ start menu ] started flashing on and off, could not click anything, it was constantly highlighting random windows [ like steam, spotify, etc] so i tried to restart the explorer.exe. That didn't work either, because i got an error [ PICTURE ].

Steps to reproduce the behavior:

  1. Go to 'Tweaks Page'
  2. Click on 'Laptop'
  3. Apply your tweaks
  4. Restart the system

Expected behavior
To be fair, i just expected the system to be more snappy and a little bit faster.

Screenshots
IMG_20220628_003536

Additional context
Its not hard to fix it back.. just open the power-shell app again and unload [ revert ] the changes and restart.

Delay/Pause Windows Update by Setting Maximum Days Possible.

Is your feature request related to a problem? Please describe.

No

Describe the solution you'd like

Add an option to the Updates section that delays windows update by setting the maximum days possible(Usually a month ~35 days). Add also an undo option next to it that resumes updates immediately(Default behaviour after resuming updates).

This option is currently under Settings > Windows Update > Advanced options > Pause Updates. Also documented on this support page for both Win10 and Win11.

windows_update_pause_update_options
windows_update_pause_update_choose_day_pause_until

Describe alternatives you've considered

N/A or Don't currently know any other solution.

Additional context

Add any other context or screenshots about the feature request here.

In the previous Windows Toolbox and also in this tool there is an option to delay feature updates (Up to 365 days) and only install ones related to security, However, there is NO option to delay all windows update for a time frame.

windows_toolbox_windows_update_options

I visualize the option being added below the Security (Recommended) Settings and above the Disable ALL Updates (NOT RECOMMENDED) options.
winutil_updates_section

Power Throttling doesn't turn back on

Describe the bug
Cannot find path ??

To Reproduce
Steps to reproduce the behavior:

  1. run iwr -useb https://t.co/7wU8SkpUXY | iex on elevated prompt
  2. Checked Enable Power Throttling on..
  3. See error..
Set-ItemProperty : Cannot find path 'HKLM:\SYSTEM\CurrentControlSet\Control\Power\PowerThrottling' because it does not
exist.
At line:1039 char:9
+         Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Contro ...
+         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (HKLM:\SYSTEM\Cu...PowerThrottling:String) [Set-ItemProperty], ItemNotFo
   undException
    + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.SetItemPropertyCommand

Expected behavior
Turn PowerThrottling on.

Screenshots
Registry Editor
Registry Editor Screenshot

Additional context

Does not debloat on HP Analytics

Hello, can you please help ensure it runs well on HP machines and debloat the bloatware like HP Analytics, even after opt out it still runs.

Error Set-ItemProperty HKLM: (3D Objects/News and Interests)

Describe the bug
When I run the tool on a Windows 11 machine and I choose the "Desktop" tweaks to be applied, I get a message saying that the tweaks were applied, however I see some errors on the console.

To Reproduce
Steps to reproduce the behavior:

  1. I open PowerShell 7 in Administrator Mode
  2. I run iwr -useb https://christitus.com/win | iex
  3. Click on the Tweaks on the left bar
  4. I select and apply the "Desktop" tweaks
  5. I get a message saying that tweaks are finished, but there are some errors in PowerShell (see win-tweaks.txt for the full PowerShell output).

Expected behavior
The command to not run with any errors.

Screenshots
image

Additional context
OS: Windows 11
Terminal: Windows Terminal (Version: 1.13.11432.0)
Shell: PowerShell 7.2.5 (in Admin Mode)

I was also able to reproduce the bug just opening PowerShell in Admin Mode without Windows Terminal.

Remove all Microsoft Store Apps is Not working

Describe the bug
hen you click the config button and then select the Remove all MS store apps then It will start for a min but the complete stuck for a while and then when you look at the PowerShell terminal there are multiple error:

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'congif Button '
  2. Click on 'Remove all MS Apps and Set time for Dual Boot'
  3. Click Run Tweaks
  4. See error: Error in the Screenshots

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots

  1. Select Option

Screenshot (6)

  1. Errors:

Screenshot (1)

Screenshot (2)

Screenshot (3)

Screenshot (4)

Screenshot (5)

Additional context
I stopped the program from task master but I think the program have disturbed the time setting on my system. I am using window 11.

Add a Video Editor

image

Can we have a video editor like KdenLive or something cause it can be useful many times?

The Image says KDE.KdenLive, but i think it's the windows version only...

Add Viber for desktop to the app install page

Is your feature request related to a problem? Please describe.
it's an addition proposal.

Describe the solution you'd like
I would like there to be in the apps install Viber for desktop.

Describe alternatives you've considered
Downloading the Viber for desktop manually through the Viber website.

Additional context
Viber is really popular in Europe!

Problems with using the command

Each time I try and run this command on my windows 11 laptop, Powershell (IN ADMINSTRATOR), just instantly closes after around a second and nothing happens. How can I fix this? Or is this just the script?

Hey Chris - This was the only way I knew to contact you that you'd see it

Hey Chris,
Hi,
I hope this message finds you well, healthy, and most importantly ... Happy!!!
I didn't want to leave this on your Tube channel, as I wasn't sure you'd see it, and it's the only way I saw here to leave you a note. I've been working on your GUI for the winutil as I said I would. I DID in fact find my through the "code" to come up with a little better "look" and I started working on a more "updated" logo for you. Yours looks great, I just thought I'd throw it in the "paying Chris back" pile, and if ya dig it, cool. If not, cool too! My question for you however, is, "Can a vector graphic, that would expand and collapse proportionally with that cool new feature I was stoked about, be added as opposed, or in addition to the hexadecimal value for the background color? If so, I think I have a pretty tight new look for the whole thing, that'll work with your current logo, or one of the iterations of a new I'll come up with eventually. I can show what I've done, but I dunno where to try to upload it here, or if you'd want the file in some other way. I still send files via [email protected] like I have since ... well, since hotmail existed or thereabouts, so if ya wanna do that, that's cool. I guess I maybe shoulda prefaced this with, "This is Mr.E from your YouTube Channel." Dunno if ya ever even saw my comment there after you posted the video, and since I suck at everything BUT art, which is debatable at times😊, I figured I'd pitch in, as you've helped me a TON!!! Anyway, if you did read that comment, I haven't flaked on ya, I am, in fact, "on it". Let me know if that's even doable, but I got the idea, and just made the image while I "saw" it, so no biggie. I just assumed, as HTML and JavaScript are about the only "codes" I know, and on a webpage, using HTML, you could have a color value, i.e. #777777, as well as an image set as a background. That used to be important when you had to wait a bit for a BG image to load, but that was somewhere between 56k and DSL and this ISN'T HTML, but trying to help a friend is never a waste of time. I'd at least like you to see where I was thinking about taking the GUI esthetic, even if it work. If it will, an image for the BG, I'd assume would mean I could make images for all the buttons as well, which I thought would give it the "pro" look it deserves ... it deserves A LOT. I know there were a few "bugs" with the update, but when aren't there. I have a good buddy who said he'd take a look at your code as well on the 4 thingys you'd asked about, i forget what they were now, but he knew what you were talking about, so hopefully he'll get a chance to help out as well ¯_(ツ)_/¯ (His Dad helped invent the "gold stuff" on Nasa space vehicles, where he worked, and he's been "programming" literally since the 80's when we had a couple Korg's and a 4 track, so unlike me, he'd be an asset for ya, IF he can) Hopefully you get this. It didn't seem like the thing that fell under "pull request" from the little I understood it, so this seemed the best place, unless I waited for your next vid to come out on the Tube, and chucked this on it immediately ... so yeah ... hopefully you get this.
Please let me know at your earliest convenience. I sincerely appreciate your valuable time.
Much love!!! ✌
ϻя.ƹ

Not necessarily a bug but....

I used to use the older version of Essential Tweaks with no issues but I can't get the new version to launch at all. Firstly when I do try Webroot kills it saying that it's detected a trojan horse. So I disable Webroot and Windows defender realtime shields. I try again and nothing seems to happen at all just kind of a blip and it highlights the text in powershell admin and it just shuts down. It's not a huge deal I just liked using Essential Tweaks after I did any windows updates. Any suggestions or fixes would be appreciated.

ERROR: The variable '$arch' cannot be retrieved because it has not been set.

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'updates'
  2. Click on 'Default OOB Settings'
  3. See error

Expected behavior
Will show the done button

Screenshots
image

Additional context

Setting BITS StartupType to Automatic
Setting wuauserv StartupType to Automatic
Enabling driver offering through Windows Update...
Enabling Windows Update automatic restart...
Enabled driver offering through Windows Update
1. Stopping Windows Update Services...
2. Remove QMGR Data file...
3. Renaming the Software Distribution and CatRoot Folder...
4. Removing old Windows Update log...
5. Resetting the Windows Update Services to defualt settings...
6. Registering some DLLs...
7) Removing WSUS client settings...
ERROR: The system was unable to find the specified registry key or value.
ERROR: The system was unable to find the specified registry key or value.
8) Resetting the WinSock...
9) Delete all BITS jobs...
10) Attempting to install the Windows Update Agent...

ERROR: The variable '$arch' cannot be retrieved because it has not been set.
ERROR: at <ScriptBlock>, <No file>: line 1342 ERROR: at <ScriptBlock>, <No file>: line 1489 ERROR: at <ScriptBlock>, <No file>: line 1
ERROR EXCEPTION: System.Management.Automation.RuntimeException: The variable '$arch' cannot be retrieved because it has not been set. ERROR EXCEPTION:    at System.Management.Automation.VariableOps.GetVariableValue(VariablePath variablePath, ExecutionContext executionContext, VariableExpressionAst varAst) ERROR EXCEPTION:    at System.Management.Automation.Interpreter.FuncCallInstruction`4.Run(InterpretedFrame frame) ERROR EXCEPTION:    at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)

Sleeping for 60m to give you time to look around the virtual machine before self-destruction...

Hiding 3D Objects Icon Error

Util errors out at "Hiding 3D Objects icon" when running "Laptop" tweak. See attached screenshots for more error info.
issue_pg1
issue_pg2

Run Dialogue One Line command with Admin Permission

I would like to see the read me also mention that you can use the run dialogue and type:
powershell iwr -useb https://christitus.com/win | iex
Then do CTRL + SHIFT + ENTER to execute the PowerShell command as administrator.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.