Skip to content
This repository was archived by the owner on Sep 8, 2022. It is now read-only.

Conversation

@Carterpersall
Copy link

@Carterpersall Carterpersall commented Feb 7, 2022

Individual Scripts:

  • Sorted the scripts into folders to reduce clutter

Individual Scripts\Registry Tweaks\ram-reducer.reg:

  • Added some comments and commented out "DisableAntiSpyware"

Individual Scripts\PowerShell Scripts\robocopy.ps1:

  • Added a check to detect the number of Logical Processors in the computer and make Robocopy use that amount of threads

Individual Scripts\PowerShell Scripts\service disabler.ps1:

  • Made comments a lot easier to read and made the comments' format the same for all of them

Individual Scripts\PowerShell Scripts\Disabled TLS Protocols.ps1:

  • Adds strong crypto enforcing

HyperV Tools\vm-gpusplit.ps1:

  • Added prompt to enter VM name
  • Added reference to the MS doc for Set-VM

HyperV Tools\vm-setresolution.ps1:

  • Added prompts for VM name and VM resolution

security-updates-only.reg:

  • Moved into 'Individual Scripts'

win10debloat.ps1:

  • Improve formatting (add whitespace in some places, improve comment formatting)
  • Add $ResultText logging at the beginning of any task that isn't instant
  • Add power plan detection to prevent duplication of an already existing plan

Issue Resolutions:

  • Closes #292, Windows not counting network data usage
  • Closes #287, Adds a script to enforce strong cryptographic settings
  • Closes #283, Some programs require terms and conditions approval to install
  • Closes #276, Script doesn't allow for custom O&O ShutUp presets
  • Closes #272, Internet Usage not showing in Task Manager
  • Closes #237, Disabling Action Center breaks Quick Settings in Windows 11
  • Closes #229, The normal winget installation method does not work for LTSC versions of Windows
  • Closes #218, Enabled Detailed Right-Click Menu and Hardware Acceleration, added 'Disable-Hardware-Acceleration.reg' and 'Win11-Small-Taskbar.reg'
  • Closes #206, Fixes restore points for non-default system drive locations
  • Closes #154 and Closes #210, Implemented Arguments

Possible Future Additions:

  • Implement Multithreading
  • Add auto-MMIO detection using SurveyDDA.ps1

Carterpersall and others added 15 commits February 7, 2022 13:24
ram-reducer.reg: Added some comments and commented out "DisableAntiSpyware"

robocopy.ps1: Added a check to detect number of Logical Processors in the computer and make Robocopy use that amount of threads

service disabler.ps1:  Made comments a lot easier to read and made the comments format the same for all of them
Individual Scripts\service disabler.ps1: Improve Comment clarity and consistency

win10debloat.ps1: Improve formatting(add whitespace in some places, improve comment formatting), Add $ResultText logging in the beginning of any task that isn't instant
service disabler.ps1: Improved Readability and Formatting
Individual Scripts\service disabler.ps1 and win10debloat.ps1: Improve comment formatting/readability
win10debloat.ps1: Added some whitespace to make the code easier to read
Individual Scripts\service disabler.ps1: Changed one comment and one Write-Host

win10debloat.ps1: Improved consistency with comments and Write-Host's throughout the script, Added whitespace in many places to improve readability
win10debloat.ps1: Sorted $services and $Bloatware alphabetically
Remove unnecessary whitespace at the end of lines and remove double-newlines in some places
win10debloat.ps1: Improved Readability throughout the script
Hopefully this will resolve the conflict
win10debloat: Added more whitespace and some write-host's to the Virtualization section
Disabling NDU breaks task manager per-process monitoring according to #272
Added 'Disabled TLS Protocols.ps1' to 'Individual Scripts'
Recommended on Issue #287
Source: https://github.com/ToddMaxey/Settings-for-TLS-and-.Net-to-enforce-strong-crypto
Carterpersall and others added 4 commits March 11, 2022 09:22
Added flags --accept-source-agreements --accept-package-agreements --silent to every winget program install to prevent user possibly having to accept license agreements for some programs.
Recommended in #283
Added 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 it not to be overridden.
@Carterpersall Carterpersall changed the title Tweaked a Few Things Tweaked a Few Things and Resolved Issues Mar 21, 2022
@Carterpersall Carterpersall changed the title Tweaked a Few Things and Resolved Issues Tweaked a Few Things and Resolved Several Issues Mar 21, 2022
win10debloat.ps1: Fixes two minor grammar issues I noticed
win10debloat.ps1: Adds Power Plan detection to $restorepower so plans aren't added if they already exist. Fix duplication of $disableupdates and $enableupdates. Fix a few write-host grammar issues.
win10debloat.ps1: Improved grammar and formatting of $disableupdates and $enableupdates
win10debloat.ps1: Set Enable-ComputerRestore to $env:homedrive instead of C: to accommodate for non-default system drive locations.

Closes #206
win10debloat.ps1:
  - Closes #218
    - Adds check if OS is Windows 11, then changes the default right-click menu to the detailed view.
    - Enables GPU Hardware Acceleration
Individual Scripts\
  - Sorted Scripts into 'CMD Scripts', 'PowerShell Scripts', and 'Registry Tweaks' to Reduce clutter
  - Added 'Disable-Hardware-Acceleration.reg' and 'Win11-Small-Taskbar.reg' from #218
@Carterpersall
Copy link
Author

I've come to the realization that my first pull request has become quite chonky... I love it.

win10debloat.ps1:
  - Fixes #229, the normal winget installation method does not work for LTSC versions of windows so I implemented the method shown at microsoft/winget-cli#1956 which installs everything much more manually.
win10debloat.ps1: Accidentally added one too many close parentheses
win10debloat.ps1:
  - Closes #154, Restructured much of the script to allow for the implementation of arguments, separated the code from the .Add_Click statements into their own functions. Implemented Arguments for almost all of the sections of the script. Created the longest if-statement I have ever seen (may the tech gods forgive me, there was no other way).

README.md:
  - Documented all of the added Arguments and included an example
KnownIssues.md: Added Known Issues page so people can know common issues and solutions
win10debloat.ps1: swap all references to C: with $env:systemdrive to allow for systems not installed to C:
win10debloat: Add detection of Windows Server for alternative winget install
@Carterpersall Carterpersall mentioned this pull request Apr 21, 2022
titus-toolbox.png: Reduce the image size by about 50% without a loss of quality. Doesn't do much, but it is good to do anyway.
./security-updates-only.reg: Moved to 'Individual Scripts' as it is a separate script
HyperV Tools\vm-gpusplit.ps1:
 - Added prompt to enter VM name
 - Added reference to the MS doc for Set-VM
HyperV Tools\vm-setresolution.ps1:
 - Added prompts for VM name, and VM resolution
@Carterpersall
Copy link
Author

Carterpersall commented Apr 22, 2022

It seems that the diff was garbled by GitHub due to the number of changes causing some confusion
Maybe I'll try opening a few pull requests for each individual part(if I can figure out how) to prevent that

@Carterpersall
Copy link
Author

Carterpersall commented Apr 23, 2022

Progress splitting this into other pull requests:

Individual Scripts:

  • Sorted the scripts into folders to reduce clutter

Individual Scripts\Registry Tweaks\ram-reducer.reg:

  • Added some comments and commented out "DisableAntiSpyware"

Individual Scripts\PowerShell Scripts\robocopy.ps1:

  • Added a check to detect the number of Logical Processors in the computer and make Robocopy use that amount of threads

Individual Scripts\PowerShell Scripts\service disabler.ps1:

  • Made comments a lot easier to read and made the comments' format the same for all of them

Individual Scripts\PowerShell Scripts\Disabled TLS Protocols.ps1:

  • Adds strong crypto enforcing

HyperV Tools\vm-gpusplit.ps1:

  • Added prompt to enter VM name
  • Added reference to the MS doc for Set-VM

HyperV Tools\vm-setresolution.ps1:

  • Added prompts for VM name and VM resolution

security-updates-only.reg:

  • Moved into 'Individual Scripts'

KnownIssues.md:

  • Added to the repo folder

win10debloat.ps1:

  • Done but there are always things found while doing other things - Improve formatting (add whitespace in some places, improve comment formatting)
  • Add $ResultText logging at the beginning of any task that isn't instant
  • Add power plan detection to prevent duplication of an already existing plan

Issue Resolutions:

  • #292, Windows not counting network data usage
  • #287, Adds a script to enforce strong cryptographic settings
  • #283, Some programs require terms and conditions approval to install
  • #276, Script doesn't allow for custom O&O ShutUp presets
  • #272, Internet Usage not showing in Task Manager
  • #237, Disabling Action Center breaks Quick Settings in Windows 11
  • #229, The normal winget installation method does not work for LTSC versions of Windows
  • #218, Enabled Detailed Right-Click Menu and Hardware Acceleration, added 'Disable-Hardware-Acceleration.reg' and 'Win11-Small-Taskbar.reg'
  • #206, Fixes restore points for non-default system drive locations
  • #154 and Closes #210, Implemented Arguments

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.