Commit Graph

100 Commits

Author SHA1 Message Date
Chris Titus Tech
5f6bdb2e48 Update tweaks.json 2025-04-14 13:27:02 -05:00
KamaleiZestri
f614eea435
Add "Disable news and interest" tweak (#3289) 2025-04-14 13:22:29 -05:00
Chris Titus Tech
3caa3be9a3 Update tweaks.json 2025-04-14 13:08:01 -05:00
madkarma
7769a328bb
feat: disable explorer automatic folder discovery (#3262)
* feat: add tweak "Disable Explorer automatic folder discovery"

* refactor: add comments

* feat: add undo script

* refactor: add output comment

* fix: use correct registry key
2025-04-14 13:03:00 -05:00
MyDrift
698f1644c3
[Toggle] Hide Settings Homepage (#3245)
* addHideSettingsToggle

* set OriginalValue & DefaultState
2025-03-19 14:32:16 -05:00
Chris Titus Tech
e4b2a38372 fix a few tweak errors 2025-03-03 14:31:18 -06:00
matthewkasiski
6038556e64
Feature/disable wpbt execution (#3188)
* add IDE

* add tweak
2025-02-28 10:56:45 -06:00
CodingWonders
bcc801683d
[Tweaks] Disable output for DISM for the Recall tweak (#3154)
* Fixed lock caused by expected input for DISM

This is the main event

* Miscellaneous file

Don't know why this file was modified by the compile preprocessor
2025-01-17 08:40:04 -06:00
MyDrift
201f24c76e
[FEAT] Remove Start Menu Recommendations / Fix GetToggle Logic (#3089)
* add WPFToggleRemoveRecommended

- add WPFToggleStartMenuRecommendations
- add reg entrys to modify for toggle
- add non working link bc devdocs are broken in general

* add iseducationenvironment notice

* improve handling if entry does not exist

- add DefaultState property
- add handler for DefaultState in Get-WinUtilToggleStatus

* remove helper console logs

* fix search defaultstate

* added missing default states
2025-01-10 13:41:26 -06:00
Chris Titus Tech
9d47514190 move prefer ipv4 to advanced 2024-12-09 12:07:56 -06:00
Chris Titus
c33946bde2 tweaks remove all 2024-12-09 00:21:45 -06:00
MyDrift
1d0e3bfd5c
[FEAT] TweakToggles logik overhaul (#3014)
* move logic to json template

- remove Invoke-WPFToggle.ps1
- generalize Get-WinUtilToggleStatus
- add bingsearch reg key for testing
- use Invoke-WinUtilTweaks for actions
- replace Add-Click with checked & unchecked to make undo work

* add reg params for toggles into tweaks.json

- add all reg keys to tweaks.json into existing toggle entry
- remove unneeded scripts

* fix HKU

- load HKU if needed (for tweaks & GetToggleStatus)
- remove unneeded Invoke-WinUtilNumLock
- has loaded HKU does not load/not stay loaded

* add a lot of error handling

* Bugfix: New-PSDrive seems to return the "hku" itself so weirdly gets prepended to the return value so the result becomes ("hku", $false). In powershell pretty much every variable that exists is interpreted as $true so the toggle for numlock got incorrectly checked

* globally fix HKU error & minimize console feedback

- fix HKU issue globally
- remove some console logs, change some others to write-debug

* update Explorerrefresh

- change Invoke-WinUtilExplorerRefresh to handle refresh and restart
- add restart logic to window snapping Flyout & Suggestions
- rename Invoke-WinUtilExplorerRefresh to Invoke-WinUtilExplorerUpdate

* add explorer restart where needed to take effect

add explorer restart logic for hidden files + Fileextension toggles

* fix missing theme change logic in darkmode toggle

* fix window snapping

- fix issue defining WindowArrangementActive as dword instead of string

* fix bing search

- switch bing search enabled/disabled values

* add a little bit of error handling

- add error handling for Get-WinUtilToggleStatus

---------

Co-authored-by: Marterich <47688561+Marterich@users.noreply.github.com>
2024-12-05 21:24:36 -06:00
Chris Titus Tech
d49b21f881 Fix onedrive remove for msapps 2024-11-25 10:07:43 -06:00
MyDrift
7a0c40420e
Remove Policies in tweaks.json (#2991)
* remove policies in tweaks.json

* add proper console log
2024-11-06 18:38:35 -06:00
Chris Titus Tech
c186642998 Remove WPFShortcut Creation
Was causing virus false positives.
2024-10-29 16:35:43 -05:00
LoopTJ
5640f9d04c
Disable Recall (#2974)
Adds Tweak option to Disable MS Recall using DISM and Reg Key.
2024-10-24 15:43:33 -05:00
leonardo-dgs
0deac4ebb2
Remove duplicate Edge tweak (#2832) 2024-10-01 15:47:56 -05:00
NixCookies
64ed00c2db
Fix: Resolve ms-edge policy errors by removing invalid policies (#2820)
Removed EdgeEnhanceImagesEnabled and EdgeFollowEnabled policies, which were causing "unknown policy" errors.
2024-10-01 15:40:55 -05:00
NixCookies
869071783c
Add dns0.eu (#2808) 2024-10-01 15:20:17 -05:00
Chris Titus Tech
ae74965548 Merge branch 'main' of https://github.com/ChrisTitusTech/winutil 2024-10-01 15:12:54 -05:00
Chris Titus Tech
b43d31088c fix indent 2024-10-01 15:12:52 -05:00
MyDrift
4fa1b0ddc7
remove elevation (#2807) 2024-10-01 15:12:15 -05:00
Saksham Singh
06baebc60b
Add the option to Block Razer automatic installs (#2715)
* Squashed commit of the following:

commit c674d5eb605b549d8d8b247749954a98197277b4
Author: Saksham Singh <sakshamsingh.93502@gmail.com>
Date:   Wed Sep 11 19:34:44 2024 +0530

    desc update

commit 3d8bf2bdc9c382a9f087b9ac6e63cb8604c99698
Author: Saksham Singh <sakshamsingh.93502@gmail.com>
Date:   Wed Sep 11 19:30:23 2024 +0530

    Added Razer Block

    Added the razer block by chris titus under the Fixes Section

* Moved razer-block from features to tweaks

* Updated tweaks.json

* Added option to enable ssh server under config tab

* Undoing a accidental pushed commit

* minor change
2024-09-20 08:55:17 -05:00
MyDrift
6c82adbdc9
add fixed run & undo tweaks buttons (#2642)
- removed run & undo button entrys from json
- added buttons back in form of fixed position.
2024-08-29 13:56:27 -05:00
MyDrift
1fc79bccf2
[OneDrive Removal fix] Leftover autostart key (#2583)
* add removal of autostart key

* fix key
2024-08-28 20:15:03 -05:00
Martin Wiethan
9ae5092e29
Move Disable Teredo to Advanced and Add prefer-ipv4 tweak (#2633)
* Move Disable Teredo to Advanced and Add prefer-ipv4 tweak

* Push DevDocs Update

* Fix DevDocs annoyance where the path is changed

* Fix DevDocs annoyance where the path is changed
2024-08-28 11:18:33 -05:00
MyDrift
6c3539edbe
Edge removal improvements (#2540)
* readd changes

- change uninstall function call
- remove winget install code
- add edge install function call

- remove reg keys causing cursed open with contect menu
- remove edge policy keys
- remove edge keys
- remove edgeupdate keys
- add install edg logics

* add silent installation

* error handling

* add ...
2024-08-13 13:49:08 -05:00
Psyi Rius
138c5de5d3
EdgeRemoval optimization and refactor (from stream today: Techie Jack) (#2530)
* Gracefully nuke Edge and all its associates completely.

- me: same person from the stream chat today: Techie Jack (aka: Psyirius)

- cleaner script
- removes EdgeWebView
  - most programs install it, if it's needed and not found
- removes EdgeUpdate (the updater)

* removed local copy of the RegionPolicy

- and Preprocessing refactor

* Omit Webview from Uninstall

---------

Co-authored-by: Chris Titus <contact@christitus.com>
2024-08-07 16:27:53 -05:00
MyDrift
5e3c6ba452
[Docs 02] Auto dev-docs & more (#2481)
* Compile Winutil

* pre-Releases (#1)

* Create pre-release.yaml

* Update release.yaml

* Update pre-release.yaml

* Create release-drafter.yml

* Update release-drafter.yml

* Update pre-release.yaml

* Update pre-release.yaml

* Update pre-release.yaml

* Update pre-release.yaml

* Update pre-release.yaml

* Update pre-release.yaml

* Update pre-release.yaml

* Update pre-release.yaml

* Update pre-release.yaml

* Update release-drafter.yml

* Update pre-release.yaml

* Update release-drafter.yml

* Update pre-release.yaml

* Update release-drafter.yml

* Update release-drafter.yml

* Update pre-release.yaml

* Update pre-release.yaml

* Update release-drafter.yml

* Update release-drafter.yml

* Update release.yaml

* Update release-drafter.yml

* Update release-drafter.yml

* Update pre-release.yaml

* Compile Winutil

* fixed end task with right click

* Compile Winutil

* code generator & compile integration

* Compile Winutil

* finish

- add autogenerated table of content page named "Dev Docs", with table of content to all .md files
- added invokescript & undoscript
- generate documentation files

* oops, remove dublicates

* undo winutil.ps1

* remove prefixes

WPF
WinUtil
Toggle
$category
Features
Tweaks
Panel
Fixes

* fixes

- fix inconsistency in Featurenaming
- add "Enable" & "Disable" as prefix to remove

* fix spellin mistake

* remove unneccesary whitespaces

update info
remove unnecessary whitespaces by only adding stuff to the md if it actually exists

* rewrite prefix removal into one line definition

* added taskscheduler support

* add support for function calling

add support for functioncalling
- replace code formatting for invoke & undo script from json to powershell

* content instead of displayname

* add last modified date

* contributing + docs generator

- moved contribute.md to root CONTRIBUTING.md
- referenced CONTRIBUTING.md in contribute.md
- added toggle & button reference to functions
- added function references in functions
- changed mkdocs site styling

* Use HashSet for processedFunctions

Use HashSet for processedFunctions:
- Ensures dynamic addition of functions without duplication.
Recursive Function Scanning:
- Includes all nested functions called by InvokeScript, UndoScript, ToggleScript, and ButtonScript.

* follow github standards

- add code of conduct
- reference code of conduct in docs
- regrouped docs navigation
- add comment about the sourced md file

* small fixes

* change color from teal to blue in light mode

* add links to tweaks

* add archiving feature to autodocs

* administrative

- add script to releases and remove from compile
- move link from after description to after category

* small fixes

- add S in feature.json
- fix dating
- move link to after category

* fix links

* undo link bc of bugs

* add progress bar to script

- add progress like in compile
- moved archive folder creation to the beginning of the script

* Simple improvements to 'auto-devdocs' branch (#3)

* Fix links for tweaks & features

* Make New Line characters work for Json Snippet

* Change NewLine Character from Unix Style (LF) to Windows/DOS Style (CRLF)

* rerun script

* und workflows & rearrange navigation items

* layer out itemname cutout

* rework links & temp removal of archivation

* fix adding link in json root

not adding link member to root in json files

* fix json generation

replace '\r\n',"`r`n" with ('\n',"`n")

* add features to auto md docs

* add minify plugin

* regex hotfix

* refractor

* add changelog to about section

add link to changelog in docs for about section

* undo changelog

* Cleanup 'devdocs-generator.ps1' - Implement Zig Multiline String Feature (#4)

* Cleanup 'devdocs-generator.ps1' - Implement Zig Multiline String Feature

* Fix NewLine character replace in 'devdocs-generator.ps1'

* run script

* run script

* Fix 'itemnametocut' RegEx in 'devdocs-generator.ps1' (#5)

* rerun script

* rework nav + remove code of conduct

* undo workflow changes

* run script

* remove changelog

---------

Co-authored-by: MyDrift-user <MyDrift-user@users.noreply.github.com>
Co-authored-by: Mr.k <mineshtine28546271@gmail.com>
2024-08-07 10:55:23 -05:00
Chris Titus
f38f534850 Edge Removal Fix 2024-08-06 15:50:36 -05:00
Chris Titus
04c84dce45 Edge Removal Fix 2024-08-06 15:39:46 -05:00
Mr.k
3903eaaa24
Code Formatting of Repo - Add Preprocessing to Compilation Process - Introduction of Dev/Build Tools to WinUtil (Although very simple at the moment) (#2383)
* Replace Tabs with Spaces to follow the conventions

* Add Preprocessing in Compiler

* Compile from Anywhere you want - Running 'Compile.ps1' Works in any directory you call it from

* Code Formatting Changes

* Result of Preprocessing Step in 'Compile.ps1' Script - Remove Trailing Whitespace Characters

* Make Preprocessing more advanced

* Move Preprocessing to a separate script file

* Make Self Modification impossible for 'tools/Do-PreProcessing.ps1' Script - Make the workingdir same as sync.PSScriptRoot for consistency

* Revert commit b5dffd671f

* Patched a Bug of some Excluded Files not actually get excluded in 'Get-ChildItem' PS Cmdlet

* Update Replace Regex for Code Formatting in 'Do-PreProcessing' Script Tool

* Rename 'Do-PreProcessing' to 'Invoke-Preprocessing' - Update some Comments

* Make 'Invoke-Preprocessing' Modular - Update RegEx to handle more cases - Update Documentation - Add Validations & Useful feedback upon error

* Replace Tabs with Spaces to follow the conventions - 'applications.json' File

* Code Formatting Changes - 'Copy-Files' Private Function

* Update Replace Regex for Code Formatting in 'Invoke-Preprocessing' Script Tool

* Replace Tabs with Spaces to follow the conventions - Make 'ExcludedFiles' validation step check all filepaths before finally checking if any has failed

* Result of 'Invoke-Preprocessing' Script

* Update Replace Regex for Code Formatting in 'Invoke-Preprocessing' Script Tool
2024-08-06 15:35:17 -05:00
Cryostrixx
68437c2406
Update Phone Link application ID to Microsoft.YourPhone. (#2514) 2024-08-06 13:32:52 -05:00
MyDrift
f3df13a4ca
Debloat Edge Tweak (#2454)
* create debloat edge tweak

* removed changing privacy setting

instead of auto decline geo,sensor... it asks the user if needed
2024-08-06 12:42:18 -05:00
MyDrift
875864060e
Disable Background Apps (#2452)
* add disable bg apps tweak

* change essentail to advanced tweak
2024-07-30 20:51:47 -05:00
MyDrift
9f33cb1b82
add "Disable detailed BSoD Preference" (#2451) 2024-07-30 20:50:50 -05:00
Joan Solana Raduà
b23c685580
Updated DNS box (#2354) 2024-07-25 16:10:01 -05:00
MyDrift
8beca950a8
renamed some preferences (#2421) 2024-07-25 15:19:32 -05:00
Martin Wiethan
ae1b22552a
Add explorer bloat tweak (#2424) 2024-07-25 15:15:37 -05:00
jsw08
376cc1d745
Fix typo in hybernation tweak. (#2439)
Changed 'stadby' to 'standby'
2024-07-25 15:08:37 -05:00
Mr.k
904e0ad468
Add New Windows 11 Specific Toggle - The 'Taskbar Alignment' Toggle (#2347) 2024-07-14 20:47:40 -05:00
MyDrift
1d01b7490f
fixed end task with right click (#2331) 2024-07-14 20:07:43 -05:00
Martin Wiethan
d4faee5fbc
Optimized: Shortcut Creation and PS7 Tweak (#2314)
* Clarified the wording

* Handle Computers without Windows Terminal (eg Win10)

* Modify Shortcut creation to use PS7 if possible
2024-07-14 20:03:12 -05:00
Real-MullaC
af36d76e65
Hidden File Tweaks (#2320)
* Main

* Fixes previous issues

* Change the ordering of Some Toggle for Consistency

---------

Co-authored-by: Mr.k <mineshtine28546271@gmail.com>
2024-07-14 20:01:09 -05:00
Chris Titus
5176e3d4ff remove check for unit test. 2024-07-08 15:55:54 -05:00
Chris Titus
ae240af11f checking for null unit test on Original Value 2024-07-08 15:49:49 -05:00
Chris Titus
cedc752be5 fix missing bracket 2024-07-08 15:43:01 -05:00
Chris Titus
a1f534e6b5 fix unit test fail 2024-07-08 15:39:53 -05:00
Mr.k
90f9c16446
Add new 'Disable Powershell 7 Telemetry' Tweak (#2273)
* Add new 'Disable Powershell 7 Telemetry' Tweak

* Add 'Disable Powershell 7 Telemetry' Tweak into the Standard Tweaks Preset
2024-07-08 15:29:53 -05:00
btstromberg
7dcd0ed67e
Added get installed check for classic start menu tweak (#2231)
Co-authored-by: Chris Titus <contact@christitus.com>
2024-07-08 15:11:39 -05:00