mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2025-06-28 00:54:47 -05:00
Test 12 2022 - Big Foundational Update (#637)
* Fix of the unit tests (#468) * fix pester tests * fix function (#467) * Cherry pick and fix helper script * remove admin check and disable * Trim Trailing Whitespace (#472) Co-authored-by: Chris Titus <contact@christitus.com> * Better .gitignore (#473) * add progress and add wait to start-process (#475) * Fixed Cloudflare Naming (#504) * Update winutil.ps1 * Update MainWindow.xaml * Update check for Chocolatey (#520) * Update winutil.ps1 * Update check for Chocolatey Let user decide if he wants to install Chocolatey * Update winutil.ps1 (#525) Migrate to Switch-Tab function * Update winutil.ps1 (#531) Changes to "DiagTrack" service. * add responsive winget installs (#540) * add responsive winget installs * Update winutil.ps1 fix typo * remove no longer used paramater * add golang, an installation option in development list (#542) * Updated winget functions (#543) * update functions * Update winutil.ps1 forgot triple quotes * Update winutil.ps1 fixed vscode using wrong double quotes * Functions and error handling (#552) * move winget install to function and exception * updated winget upgrade to new install process * add logging to update * choco to function and write-output to ensure logs * update error handling * revert write-host and add invoke-runspace * Added runspace to load configs in background * fix unit tests * update pester tests * update pester * update pester * update pester * updated tweaks config to use WPF variable name * Fix data type of MouseHoverTime (#568) Setting Computer\HKEY_CURRENT_USER\Control Panel\Mouse\MouseHoverTime needs to be REG_SZ instead of REG_DWORD. With the wrong type the Taskbar and the Start Menu become hard to use because everything pops up instantly, probably because it's then treated as a 0 ms delay. * fix restore launch to quick access & OOSU10 download (#565) * Fix grammar (#577) * Update MainWindow.xaml * Update MainWindow-runspace.xaml * fix enable numlock after startup (#580) * Update README.md (#616) Added DNS provider into readme * Fix O&O ShutUp10 disabling app notifications and hide search box (#630) * Add files via upload Added ooshutup10_winutil_settings and fix the issue where OOSU10 disable app notifications and hide search box in windows. * Update winutil.ps1 Change ooshut10.cfg to ooshutup10_winutil_settings.cfg and fix the issues in https://github.com/ChrisTitusTech/winutil/issues/629 Now when apply the tweaks by O&O ShutUp10, will keep search box and notifications will not be disabled. * Update winutil.ps1 * Update winutil.ps1 --------- Co-authored-by: Chris Titus <contact@christitus.com> * Create ooshutup10_winutil_settings.cfg * Feature/tweakstofunctions (#576) * add functions for services * Move WPFEssTweaksDVR to function * Add invoke script and moved temp files * WPFEssTweaksHiber and formatting * WPFEssTweaksHiber * WPFEssTweaksHome and service * WPFEssTweaksLoc * TPMCheck * WPFEssTweaksDiskCleanup * Add error handling for invoke script * grammer * UAC and tweaks * WPFMiscTweaksDisableNotifications * WPFMiscTweaksRightClickMenu * Added DNS configuration + Reset to DHCP * WPFEssTweaksOO * WPFEssTweaksRP * WPFEssTweaksServices * WPFEssTweaksStorage * WPFEssTweaksTele * WPFEssTweaksWifi * WPFMiscTweaksLapPower * WPFMiscTweaksLapNum * WPFMiscTweaksPower * WPFMiscTweaksNum * WPFMiscTweaksExt * WPFMiscTweaksUTC * WPFMiscTweaksDisplay * Mouse Acceleration * WPFEssTweaksRemoveCortana * WPFEssTweaksDeBloat * set teaks to get checkboxes and loop * remove isdev * add help documentation * Add Quad 9 for #532 and #416 * remove isdev * Update tweaks.json Remove-ItemProperty is no longer needed as this was a bug from a bad commit 4 months ago. --------- Co-authored-by: Chris Titus <contact@christitus.com> * Tweak bingsearch (#620) * add functions for services * Move WPFEssTweaksDVR to function * Add invoke script and moved temp files * WPFEssTweaksHiber and formatting * WPFEssTweaksHiber * WPFEssTweaksHome and service * WPFEssTweaksLoc * TPMCheck * WPFEssTweaksDiskCleanup * Add error handling for invoke script * grammer * UAC and tweaks * WPFMiscTweaksDisableNotifications * WPFMiscTweaksRightClickMenu * Added DNS configuration + Reset to DHCP * WPFEssTweaksOO * WPFEssTweaksRP * WPFEssTweaksServices * WPFEssTweaksStorage * WPFEssTweaksTele * WPFEssTweaksWifi * WPFMiscTweaksLapPower * WPFMiscTweaksLapNum * WPFMiscTweaksPower * WPFMiscTweaksNum * WPFMiscTweaksExt * WPFMiscTweaksUTC * WPFMiscTweaksDisplay * Mouse Acceleration * WPFEssTweaksRemoveCortana * WPFEssTweaksDeBloat * set teaks to get checkboxes and loop * remove isdev * add help documentation * Add Quad 9 for #532 and #416 * remove isdev * Update helper script and add tweak * update changes * Refactor/runspaces (#626) * modify runspace.ps1 to compile * update compiler to include warning * unit test * implement invoke-button and naming standard * naming standard * fix winutil tests * update functions * add version number * fix codeowners * fix import * undo tweaks now pull from config * pester test * Compile Winutil * python and oo cfg -fix python 3 to 3.11 -fix o&o shutup cfg -enable dev mode for testing * Force install missing winget Fix method for winget install on any system. * Deluge Addition * Feature/impex (#619) * add functions for services * Move WPFEssTweaksDVR to function * Add invoke script and moved temp files * WPFEssTweaksHiber and formatting * WPFEssTweaksHiber * WPFEssTweaksHome and service * WPFEssTweaksLoc * TPMCheck * WPFEssTweaksDiskCleanup * Add error handling for invoke script * grammer * UAC and tweaks * WPFMiscTweaksDisableNotifications * WPFMiscTweaksRightClickMenu * Added DNS configuration + Reset to DHCP * WPFEssTweaksOO * WPFEssTweaksRP * WPFEssTweaksServices * WPFEssTweaksStorage * WPFEssTweaksTele * WPFEssTweaksWifi * WPFMiscTweaksLapPower * WPFMiscTweaksLapNum * WPFMiscTweaksPower * WPFMiscTweaksNum * WPFMiscTweaksExt * WPFMiscTweaksUTC * WPFMiscTweaksDisplay * Mouse Acceleration * WPFEssTweaksRemoveCortana * WPFEssTweaksDeBloat * set teaks to get checkboxes and loop * remove isdev * add help documentation * Add Quad 9 for #532 and #416 * remove isdev * Working Import and Export * Add null check * Remove IsDev * sync with test * redo impex * Irm runspace fix (#635) * Update runspace.ps1 * Update start.ps1 * compiled for testing * Compile Winutil * Compile Winutil * test * disable runspace build * test * change compile to ascii * change compile to winutil * Compile Winutil * Delete MainWindow.xaml * Update release.yaml runspace merge job * remove update branch --------- Co-authored-by: DeveloperDurp <developerdurp@durp.info> Co-authored-by: Carter <60557606+Carterpersall@users.noreply.github.com> Co-authored-by: Jacobtread <33708767+jacobtread@users.noreply.github.com> Co-authored-by: jstok84 <jstok84@gmail.com> Co-authored-by: WolfBungalow <irtwit@gmail.com> Co-authored-by: Ankit Yadav <52023083+4nkitd@users.noreply.github.com> Co-authored-by: Starfiresg1 <Starfiresg1@users.noreply.github.com> Co-authored-by: Adrián Insaurralde Avalos <36372335+adrianinsaval@users.noreply.github.com> Co-authored-by: Hyperio <96462198+hyperio546@users.noreply.github.com> Co-authored-by: dennyamarojr <36896116+dennyamarojr@users.noreply.github.com> Co-authored-by: ChrisTitusTech <ChrisTitusTech@users.noreply.github.com>
This commit is contained in:
@ -47,6 +47,10 @@
|
||||
"winget": "CPUID.CPU-Z",
|
||||
"choco": "cpu-z"
|
||||
},
|
||||
"WPFInstalldeluge": {
|
||||
"winget": "DelugeTeam.Deluge",
|
||||
"choco": "deluge"
|
||||
},
|
||||
"WPFInstalldiscord": {
|
||||
"winget": "Discord.Discord",
|
||||
"choco": "discord"
|
||||
@ -204,7 +208,7 @@
|
||||
"choco": "putty"
|
||||
},
|
||||
"WPFInstallpython3": {
|
||||
"winget": "Python.Python.3",
|
||||
"winget": "Python.Python.3.11",
|
||||
"choco": "python"
|
||||
},
|
||||
"WPFInstallrevo": {
|
||||
@ -399,6 +403,10 @@
|
||||
"Winget": "Rustlang.Rust.MSVC",
|
||||
"choco": "rust"
|
||||
},
|
||||
"WPFInstallgolang": {
|
||||
"Winget": "GoLang.Go.1.19",
|
||||
"choco": "golang"
|
||||
},
|
||||
"WPFInstallalacritty": {
|
||||
"Winget": "Alacritty.Alacritty",
|
||||
"choco": "alacritty"
|
||||
|
30
config/dns.json
Normal file
30
config/dns.json
Normal file
@ -0,0 +1,30 @@
|
||||
{
|
||||
"Google":{
|
||||
"Primary": "8.8.8.8",
|
||||
"Secondary": "8.8.4.4"
|
||||
},
|
||||
"Cloudflare":{
|
||||
"Primary": "1.1.1.1",
|
||||
"Secondary": "1.0.0.1"
|
||||
},
|
||||
"Cloudflare_Malware":{
|
||||
"Primary": "1.1.1.2",
|
||||
"Secondary": "1.0.0.2"
|
||||
},
|
||||
"Cloudflare_Malware_Adult":{
|
||||
"Primary": "1.1.1.3",
|
||||
"Secondary": "1.0.0.3"
|
||||
},
|
||||
"Level3":{
|
||||
"Primary": "4.2.2.2",
|
||||
"Secondary": "4.2.2.1"
|
||||
},
|
||||
"Open_DNS":{
|
||||
"Primary": "208.67.222.222",
|
||||
"Secondary": "208.67.220.220"
|
||||
},
|
||||
"Quad9":{
|
||||
"Primary": "9.9.9.9",
|
||||
"Secondary": "149.112.112.112"
|
||||
}
|
||||
}
|
@ -1,5 +1,9 @@
|
||||
#This file is meant to assist in building out the json files inside this folder.
|
||||
|
||||
#===========================================================================
|
||||
# applications.json
|
||||
#===========================================================================
|
||||
|
||||
<#
|
||||
Applications.json
|
||||
-----------------
|
||||
@ -10,25 +14,22 @@
|
||||
The structure of the json is as follows
|
||||
|
||||
{
|
||||
"install": {
|
||||
"Name of Button": {
|
||||
"winget": "Winget command"
|
||||
"choco": "Chocolatey command"
|
||||
"Name of Button": {
|
||||
"winget": "Winget command"
|
||||
"choco": "Chocolatey command"
|
||||
},
|
||||
}
|
||||
|
||||
Example:
|
||||
|
||||
{
|
||||
"install": {
|
||||
"WPFInstalladobe": {
|
||||
"winget": "Adobe.Acrobat.Reader.64-bit"
|
||||
"choco": "adobereader"
|
||||
},
|
||||
"WPFInstalladvancedip": {
|
||||
"winget": "Famatech.AdvancedIPScanner"
|
||||
"choco": "advanced-ip-scanner"
|
||||
}
|
||||
"WPFInstalladobe": {
|
||||
"winget": "Adobe.Acrobat.Reader.64-bit"
|
||||
"choco": "adobereader"
|
||||
},
|
||||
"WPFInstalladvancedip": {
|
||||
"winget": "Famatech.AdvancedIPScanner"
|
||||
"choco": "advanced-ip-scanner"
|
||||
}
|
||||
}
|
||||
|
||||
@ -45,8 +46,8 @@ $ButtonToAdd = New-Object psobject
|
||||
$jsonfile = Get-Content ./config/applications.json | ConvertFrom-Json
|
||||
|
||||
#remove if already exists
|
||||
if($jsonfile.install.$NameofButton){
|
||||
$jsonfile.install.psobject.Properties.remove($NameofButton)
|
||||
if($jsonfile.$NameofButton){
|
||||
$jsonfile.psobject.Properties.remove($NameofButton)
|
||||
}
|
||||
|
||||
Add-Member -InputObject $ButtonToAdd -MemberType NoteProperty -Name "Winget" -Value $WingetCommand
|
||||
@ -55,6 +56,10 @@ Add-Member -InputObject $jsonfile.install -MemberType NoteProperty -Name $Nameof
|
||||
|
||||
$jsonfile | ConvertTo-Json | Out-File ./config/applications.json
|
||||
|
||||
#===========================================================================
|
||||
# feature.json
|
||||
#===========================================================================
|
||||
|
||||
<#
|
||||
feature.json
|
||||
-----------------
|
||||
@ -101,6 +106,10 @@ Add-Member -InputObject $jsonfile -MemberType NoteProperty -Name $NameofButton -
|
||||
|
||||
$jsonfile | ConvertTo-Json | Out-File ./config/feature.json
|
||||
|
||||
#===========================================================================
|
||||
# preset.json
|
||||
#===========================================================================
|
||||
|
||||
<#
|
||||
preset.json
|
||||
-----------------
|
||||
@ -159,6 +168,10 @@ Add-Member -InputObject $jsonfile -MemberType NoteProperty -Name $NameofButton -
|
||||
|
||||
$jsonfile | ConvertTo-Json | Out-File ./config/preset.json
|
||||
|
||||
#===========================================================================
|
||||
# tweaks.json
|
||||
#===========================================================================
|
||||
|
||||
<#
|
||||
tweaks.json
|
||||
-----------------
|
||||
@ -276,8 +289,6 @@ Example:
|
||||
#Modify the variables and run his code. It will import the current file and add your addition. From there you can create a pull request.
|
||||
#Make sure to uncomment the sections you which to add.
|
||||
|
||||
$NameofButton = ""
|
||||
|
||||
#$Registry = @(
|
||||
# #to add more repeat this seperated by a comma
|
||||
# @{
|
||||
@ -319,6 +330,8 @@ $NameofButton = ""
|
||||
# ""
|
||||
#)
|
||||
|
||||
$NameofButton = "WPF" + ""
|
||||
|
||||
$ButtonToAdd = New-Object psobject
|
||||
$jsonfile = Get-Content ./config/tweaks.json | ConvertFrom-Json
|
||||
|
||||
@ -337,3 +350,50 @@ if($UndoScript){Add-Member -InputObject $ButtonToAdd -MemberType NoteProperty -N
|
||||
Add-Member -InputObject $jsonfile -MemberType NoteProperty -Name $NameofButton -Value $ButtonToAdd
|
||||
|
||||
($jsonfile | ConvertTo-Json -Depth 5).replace('\r\n',"`r`n") | Out-File ./config/tweaks.json
|
||||
|
||||
#===========================================================================
|
||||
# dns.json
|
||||
#===========================================================================
|
||||
|
||||
<#
|
||||
dns.json
|
||||
-----------------
|
||||
This file holds all the DNS entrees.
|
||||
|
||||
The structure of the json is as follows
|
||||
|
||||
{
|
||||
"DNS Provider": [
|
||||
"Primary": "IP address",
|
||||
"Secondary": "IP address"
|
||||
]
|
||||
}
|
||||
|
||||
Example:
|
||||
{
|
||||
"Cloudflare":{
|
||||
"Primary": "1.1.1.1",
|
||||
"Secondary": "1.0.0.1"
|
||||
}
|
||||
}
|
||||
#>
|
||||
|
||||
#Modify the variables and run his code. It will import the current file and add your addition. From there you can create a pull request.
|
||||
|
||||
$NameofProvider = "" -replace " ","_"
|
||||
$IPAddress = @{
|
||||
"Primary" = "0.0.0.0"
|
||||
"Secondary" = "0.0.0.0"
|
||||
}
|
||||
|
||||
$ButtonToAdd = New-Object psobject
|
||||
$jsonfile = Get-Content ./config/dns.json | ConvertFrom-Json
|
||||
|
||||
#remove if already exists
|
||||
if($jsonfile.$NameofProvider){
|
||||
$jsonfile.psobject.Properties.remove($NameofProvider)
|
||||
}
|
||||
|
||||
Add-Member -InputObject $jsonfile -MemberType NoteProperty -Name $NameofProvider -Value $IPAddress
|
||||
|
||||
($jsonfile | ConvertTo-Json -Depth 5).replace('\r\n',"`r`n") | Out-File ./config/dns.json
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"EssTweaksAH": {
|
||||
"WPFEssTweaksAH": {
|
||||
"registry": [
|
||||
{
|
||||
"Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\System",
|
||||
@ -24,57 +24,25 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
"EssTweaksDVR": {
|
||||
"registry": [
|
||||
{
|
||||
"Path": "HKLM:\\System\\GameConfigStore",
|
||||
"Name": "GameDVR_DXGIHonorFSEWindowsCompatible",
|
||||
"Type": "Hex",
|
||||
"Value": "00000000",
|
||||
"OriginalValue": "1"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\System\\GameConfigStore",
|
||||
"Name": "GameDVR_HonorUserFSEBehaviorMode",
|
||||
"Type": "Hex",
|
||||
"Value": "00000000",
|
||||
"OriginalValue": "1"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\System\\GameConfigStore",
|
||||
"Name": "GameDVR_EFSEFeatureFlags",
|
||||
"Type": "Hex",
|
||||
"Value": "00000000",
|
||||
"OriginalValue": "1"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\System\\GameConfigStore",
|
||||
"Name": "GameDVR_Enabled",
|
||||
"Type": "Hex",
|
||||
"Value": "00000000",
|
||||
"OriginalValue": "1"
|
||||
}
|
||||
]
|
||||
},
|
||||
"EssTweaksHiber": {
|
||||
"WPFEssTweaksHiber": {
|
||||
"registry": [
|
||||
{
|
||||
"Path": "HKLM:\\System\\CurrentControlSet\\Control\\Session Manager\\Power",
|
||||
"Name": "GameDVR_DXGIHonorFSEWindowsCompatible",
|
||||
"Name": "HibernateEnabled",
|
||||
"Type": "Dword",
|
||||
"Value": "0",
|
||||
"OriginalValue": "1"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\FlyoutMenuSettings",
|
||||
"Name": "GameDVR_HonorUserFSEBehaviorMode",
|
||||
"Name": "ShowHibernateOption",
|
||||
"Type": "Dword",
|
||||
"Value": "0",
|
||||
"OriginalValue": "1"
|
||||
}
|
||||
]
|
||||
},
|
||||
"EssTweaksHome": {
|
||||
"WPFEssTweaksHome": {
|
||||
"service": [
|
||||
{
|
||||
"Name": "HomeGroupListener",
|
||||
@ -88,7 +56,7 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
"EssTweaksLoc": {
|
||||
"WPFEssTweaksLoc": {
|
||||
"registry": [
|
||||
{
|
||||
"Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\CapabilityAccessManager\\ConsentStore\\location",
|
||||
@ -120,7 +88,7 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
"EssTweaksServices": {
|
||||
"WPFEssTweaksServices": {
|
||||
"service": [
|
||||
{
|
||||
"StartupType": "Manual",
|
||||
@ -464,7 +432,7 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
"EssTweaksTele": {
|
||||
"WPFEssTweaksTele": {
|
||||
"ScheduledTask": [
|
||||
{
|
||||
"Name": "Microsoft\\Windows\\Application Experience\\Microsoft Compatibility Appraiser",
|
||||
@ -681,74 +649,53 @@
|
||||
"value": 1,
|
||||
"type": "Dword"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\SYSTEM\\CurrentControlSet\\Control\\FileSystem",
|
||||
"OriginalValue": "0",
|
||||
"name": "LongPathsEnabled",
|
||||
"value": 1,
|
||||
"type": "Dword"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\DriverSearching",
|
||||
"OriginalValue": "1",
|
||||
"name": "SearchOrderConfig",
|
||||
"value": "00000000",
|
||||
"value": "0",
|
||||
"type": "Dword"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Multimedia\\SystemProfile",
|
||||
"OriginalValue": "1",
|
||||
"name": "SystemResponsiveness",
|
||||
"value": "0000000a",
|
||||
"value": "0",
|
||||
"type": "Dword"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Multimedia\\SystemProfile",
|
||||
"OriginalValue": "1",
|
||||
"name": "NetworkThrottlingIndex",
|
||||
"value": "0000000a",
|
||||
"value": "4294967295",
|
||||
"type": "Dword"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\SYSTEM\\CurrentControlSet\\Control",
|
||||
"OriginalValue": "1",
|
||||
"name": "WaitToKillServiceTimeout",
|
||||
"value": "2000",
|
||||
"type": "Dword"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\Control Panel\\Desktop",
|
||||
"Path": "HKCU:\\Control Panel\\Desktop",
|
||||
"OriginalValue": "1",
|
||||
"name": "MenuShowDelay",
|
||||
"value": "0",
|
||||
"value": "1",
|
||||
"type": "Dword"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\Control Panel\\Desktop",
|
||||
"OriginalValue": "1",
|
||||
"name": "WaitToKillAppTimeout",
|
||||
"value": "5000",
|
||||
"type": "Dword"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\Control Panel\\Desktop",
|
||||
"Path": "HKCU:\\Control Panel\\Desktop",
|
||||
"OriginalValue": "1",
|
||||
"name": "AutoEndTasks",
|
||||
"value": "1",
|
||||
"type": "Dword"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\Control Panel\\Desktop",
|
||||
"OriginalValue": "1",
|
||||
"name": "LowLevelHooksTimeout",
|
||||
"value": "00001000",
|
||||
"type": "Dword"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\Control Panel\\Desktop",
|
||||
"OriginalValue": "1",
|
||||
"name": "WaitToKillServiceTimeout",
|
||||
"value": "00002000",
|
||||
"type": "Dword"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\SYSTEM\\CurrentControlSet\\Control\\Session Manager\\Memory Management",
|
||||
"OriginalValue": "0",
|
||||
"name": "ClearPageFileAtShutdown",
|
||||
"value": "00000000",
|
||||
"value": "0",
|
||||
"type": "Dword"
|
||||
},
|
||||
{
|
||||
@ -759,11 +706,11 @@
|
||||
"type": "Dword"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\Control Panel\\Mouse",
|
||||
"Path": "HKCU:\\Control Panel\\Mouse",
|
||||
"OriginalValue": "1",
|
||||
"name": "MouseHoverTime",
|
||||
"value": "00000010",
|
||||
"type": "Dword"
|
||||
"value": "400",
|
||||
"type": "String"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\SYSTEM\\CurrentControlSet\\Services\\LanmanServer\\Parameters",
|
||||
@ -792,6 +739,27 @@
|
||||
"name": "HideSCAMeetNow",
|
||||
"value": "1",
|
||||
"type": "Dword"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Multimedia\\SystemProfile\\Tasks\\Games",
|
||||
"OriginalValue": "1",
|
||||
"name": "GPU Priority",
|
||||
"value": "8",
|
||||
"type": "Dword"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Multimedia\\SystemProfile\\Tasks\\Games",
|
||||
"OriginalValue": "1",
|
||||
"name": "Priority",
|
||||
"value": "6",
|
||||
"type": "Dword"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Multimedia\\SystemProfile\\Tasks\\Games",
|
||||
"OriginalValue": "High",
|
||||
"name": "Scheduling Category",
|
||||
"value": "High",
|
||||
"type": "String"
|
||||
}
|
||||
],
|
||||
"service": [
|
||||
@ -833,10 +801,21 @@
|
||||
If (Test-Path \"$autoLoggerDir\\AutoLogger-Diagtrack-Listener.etl\") {
|
||||
Remove-Item \"$autoLoggerDir\\AutoLogger-Diagtrack-Listener.etl\"
|
||||
}
|
||||
icacls $autoLoggerDir /deny SYSTEM:`(OI`)`(CI`)F | Out-Null"
|
||||
icacls $autoLoggerDir /deny SYSTEM:`(OI`)`(CI`)F | Out-Null
|
||||
|
||||
#Timeout Tweaks cause flickering on Windows now
|
||||
#Remove-ItemProperty -Path \"HKCU:\\Control Panel\\Desktop\" -Name \"WaitToKillAppTimeout\" -ErrorAction SilentlyContinue
|
||||
#Remove-ItemProperty -Path \"HKCU:\\Control Panel\\Desktop\" -Name \"HungAppTimeout\" -ErrorAction SilentlyContinue
|
||||
#Remove-ItemProperty -Path \"HKLM:\\SYSTEM\\CurrentControlSet\\Control\" -Name \"WaitToKillServiceTimeout\" -ErrorAction SilentlyContinue
|
||||
#Remove-ItemProperty -Path \"HKCU:\\Control Panel\\Desktop\" -Name \"LowLevelHooksTimeout\" -ErrorAction SilentlyContinue
|
||||
#Remove-ItemProperty -Path \"HKCU:\\Control Panel\\Desktop\" -Name \"WaitToKillServiceTimeout\" -ErrorAction SilentlyContinue
|
||||
|
||||
$ram = (Get-CimInstance -ClassName \"Win32_PhysicalMemory\" | Measure-Object -Property Capacity -Sum).Sum / 1kb
|
||||
Set-ItemProperty -Path \"HKLM:\\SYSTEM\\CurrentControlSet\\Control\" -Name \"SvcHostSplitThresholdInKB\" -Type DWord -Value $ram -Force
|
||||
"
|
||||
]
|
||||
},
|
||||
"EssTweaksWifi": {
|
||||
"WPFEssTweaksWifi": {
|
||||
"registry": [
|
||||
{
|
||||
"Path": "HKLM:\\Software\\Microsoft\\PolicyManager\\default\\WiFi\\AllowWiFiHotSpotReporting",
|
||||
@ -854,7 +833,7 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
"MiscTweaksLapPower": {
|
||||
"WPFMiscTweaksLapPower": {
|
||||
"registry": [
|
||||
{
|
||||
"Path": "HKLM:\\SYSTEM\\CurrentControlSet\\Control\\Power\\PowerThrottling",
|
||||
@ -872,7 +851,7 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
"MiscTweaksPower": {
|
||||
"WPFMiscTweaksPower": {
|
||||
"registry": [
|
||||
{
|
||||
"Path": "HKLM:\\SYSTEM\\CurrentControlSet\\Control\\Power\\PowerThrottling",
|
||||
@ -890,7 +869,7 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
"MiscTweaksExt": {
|
||||
"WPFMiscTweaksExt": {
|
||||
"registry": [
|
||||
{
|
||||
"Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced",
|
||||
@ -901,7 +880,7 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
"MiscTweaksUTC": {
|
||||
"WPFMiscTweaksUTC": {
|
||||
"registry": [
|
||||
{
|
||||
"Path": "HKLM:\\SYSTEM\\CurrentControlSet\\Control\\TimeZoneInformation",
|
||||
@ -912,7 +891,7 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
"MiscTweaksDisplay": {
|
||||
"WPFMiscTweaksDisplay": {
|
||||
"registry": [
|
||||
{
|
||||
"path": "HKCU:\\Control Panel\\Desktop",
|
||||
@ -982,7 +961,7 @@
|
||||
"Set-ItemProperty -Path \"HKCU:\\Control Panel\\Desktop\" -Name \"UserPreferencesMask\" -Type Binary -Value ([byte[]](144,18,3,128,16,0,0,0))"
|
||||
]
|
||||
},
|
||||
"EssTweaksDeBloat": {
|
||||
"WPFEssTweaksDeBloat": {
|
||||
"appx": [
|
||||
"Microsoft.Microsoft3DViewer",
|
||||
"Microsoft.AppConnector",
|
||||
@ -1058,142 +1037,256 @@
|
||||
"*AdobePhotoshopExpress*",
|
||||
"*HotspotShieldFreeVPN*",
|
||||
"*Microsoft.Advertising.Xaml*"
|
||||
]
|
||||
},
|
||||
"EssTweaksOO": {
|
||||
],
|
||||
"InvokeScript": [
|
||||
"Import-Module BitsTransfer
|
||||
Start-BitsTransfer -Source \"https://raw.githubusercontent.com/ChrisTitusTech/win10script/master/ooshutup10.cfg\" -Destination C:\\Windows\\Temp\\ooshutup10.cfg
|
||||
Start-BitsTransfer -Source \"https://dl5.oo-software.com/files/ooshutup10/OOSU10.exe\" -Destination C:\\Windows\\Temp\\OOSU10.exe
|
||||
C:\\Windows\\Temp\\OOSU10.exe C:\\Windows\\Temp\\ooshutup10.cfg /quiet"
|
||||
"
|
||||
$TeamsPath = [System.IO.Path]::Combine($env:LOCALAPPDATA, 'Microsoft', 'Teams')
|
||||
$TeamsUpdateExePath = [System.IO.Path]::Combine($TeamsPath, 'Update.exe')
|
||||
|
||||
Write-Host \"Stopping Teams process...\"
|
||||
Stop-Process -Name \"*teams*\" -Force -ErrorAction SilentlyContinue
|
||||
|
||||
Write-Host \"Uninstalling Teams from AppData\\Microsoft\\Teams\"
|
||||
if ([System.IO.File]::Exists($TeamsUpdateExePath)) {
|
||||
# Uninstall app
|
||||
$proc = Start-Process $TeamsUpdateExePath \"-uninstall -s\" -PassThru
|
||||
$proc.WaitForExit()
|
||||
}
|
||||
|
||||
Write-Host \"Removing Teams AppxPackage...\"
|
||||
Get-AppxPackage \"*Teams*\" | Remove-AppxPackage -ErrorAction SilentlyContinue
|
||||
Get-AppxPackage \"*Teams*\" -AllUsers | Remove-AppxPackage -AllUsers -ErrorAction SilentlyContinue
|
||||
|
||||
Write-Host \"Deleting Teams directory\"
|
||||
if ([System.IO.Directory]::Exists($TeamsPath)) {
|
||||
Remove-Item $TeamsPath -Force -Recurse -ErrorAction SilentlyContinue
|
||||
}
|
||||
|
||||
Write-Host \"Deleting Teams uninstall registry key\"
|
||||
# Uninstall from Uninstall registry key UninstallString
|
||||
$us = (Get-ChildItem -Path HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall, HKLM:\\SOFTWARE\\Wow6432Node\\Microsoft\\Windows\\CurrentVersion\\Uninstall | Get-ItemProperty | Where-Object { $_.DisplayName -like '*Teams*'}).UninstallString
|
||||
if ($us.Length -gt 0) {
|
||||
$us = ($us.Replace('/I', '/uninstall ') + ' /quiet').Replace(' ', ' ')
|
||||
$FilePath = ($us.Substring(0, $us.IndexOf('.exe') + 4).Trim())
|
||||
$ProcessArgs = ($us.Substring($us.IndexOf('.exe') + 5).Trim().replace(' ', ' '))
|
||||
$proc = Start-Process -FilePath $FilePath -Args $ProcessArgs -PassThru
|
||||
$proc.WaitForExit()
|
||||
}
|
||||
"
|
||||
]
|
||||
},
|
||||
"EssTweaksRP": {
|
||||
"WPFEssTweaksOO": {
|
||||
"InvokeScript": [
|
||||
"Enable-ComputerRestore -Drive \"C:\\\"
|
||||
Checkpoint-Computer -Description \"RestorePoint1\" -RestorePointType \"MODIFY_SETTINGS\""
|
||||
"curl.exe -s \"https://raw.githubusercontent.com/ChrisTitusTech/winutil/main/ooshutup10.cfg\" -o $ENV:temp\\ooshutup10.cfg
|
||||
curl.exe -s \"https://dl5.oo-software.com/files/ooshutup10/OOSU10.exe\" -o $ENV:temp\\OOSU10.exe
|
||||
Start-Process $ENV:temp\\OOSU10.exe -ArgumentList \"$ENV:temp\\ooshutup10.cfg /quiet\"
|
||||
"
|
||||
]
|
||||
},
|
||||
"EssTweaksStorage": {
|
||||
"WPFEssTweaksRP": {
|
||||
"InvokeScript": [
|
||||
"Enable-ComputerRestore -Drive \"$env:SystemDrive\"
|
||||
Checkpoint-Computer -Description \"RestorePoint1\" -RestorePointType \"MODIFY_SETTINGS\""
|
||||
]
|
||||
},
|
||||
"WPFEssTweaksStorage": {
|
||||
"InvokeScript": [
|
||||
"Remove-Item -Path \"HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\StorageSense\\Parameters\\StoragePolicy\" -Recurse -ErrorAction SilentlyContinue"
|
||||
]
|
||||
},
|
||||
"MiscTweaksLapNum": {
|
||||
"InvokeScript": [
|
||||
"If (!(Test-Path \"HKU:\")) {
|
||||
New-PSDrive -Name HKU -PSProvider Registry -Root HKEY_USERS | Out-Null
|
||||
}
|
||||
Set-ItemProperty -Path \"HKU:\\.DEFAULT\\Control Panel\\Keyboard\" -Name \"InitialKeyboardIndicators\" -Type DWord -Value 0"
|
||||
"WPFMiscTweaksLapNum": {
|
||||
"Registry": [
|
||||
{
|
||||
"path": "HKU:\\.DEFAULT\\Control Panel\\Keyboard",
|
||||
"OriginalValue": "1",
|
||||
"name": "InitialKeyboardIndicators",
|
||||
"value": "0",
|
||||
"type": "DWord"
|
||||
}
|
||||
]
|
||||
},
|
||||
"MiscTweaksNum": {
|
||||
"InvokeScript": [
|
||||
"If (!(Test-Path \"HKU:\")) {
|
||||
New-PSDrive -Name HKU -PSProvider Registry -Root HKEY_USERS | Out-Null
|
||||
}
|
||||
Set-ItemProperty -Path \"HKU:\\.DEFAULT\\Control Panel\\Keyboard\" -Name \"InitialKeyboardIndicators\" -Type DWord -Value 2"
|
||||
"WPFMiscTweaksNum": {
|
||||
"Registry": [
|
||||
{
|
||||
"path": "HKU:\\.DEFAULT\\Control Panel\\Keyboard",
|
||||
"OriginalValue": "1",
|
||||
"name": "InitialKeyboardIndicators",
|
||||
"value": "80000002",
|
||||
"type": "DWord"
|
||||
}
|
||||
]
|
||||
},
|
||||
"EssTweaksRemoveEdge": {
|
||||
"WPFEssTweaksRemoveEdge": {
|
||||
"InvokeScript": [
|
||||
"Invoke-WebRequest -useb https://raw.githubusercontent.com/ChrisTitusTech/winutil/main/Edge_Removal.bat | Invoke-Expression"
|
||||
]
|
||||
},
|
||||
"MiscTweaksDisableNotifications": {
|
||||
"InvokeScript": [
|
||||
"New-Item -Path \"HKCU:\\Software\\Policies\\Microsoft\\Windows\" -Name \"Explorer\" -force
|
||||
New-ItemProperty -Path \"HKCU:\\Software\\Policies\\Microsoft\\Windows\\Explorer\" -Name \"DisableNotificationCenter\" -PropertyType \"DWord\" -Value 1
|
||||
New-ItemProperty -Path \"HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\PushNotifications\" -Name \"ToastEnabled\" -PropertyType \"DWord\" -Value 0 -force"
|
||||
"WPFMiscTweaksDisableNotifications": {
|
||||
"registry": [
|
||||
{
|
||||
"Path": "HKCU:\\Software\\Policies\\Microsoft\\Windows\\Explorer",
|
||||
"Name": "DisableNotificationCenter",
|
||||
"Type": "DWord",
|
||||
"Value": "1",
|
||||
"OriginalValue": "0"
|
||||
},
|
||||
{
|
||||
"Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\PushNotifications",
|
||||
"Name": "ToastEnabled",
|
||||
"Type": "DWord",
|
||||
"Value": "0",
|
||||
"OriginalValue": "1"
|
||||
}
|
||||
]
|
||||
},
|
||||
"MiscTweaksRightClickMenu": {
|
||||
"WPFMiscTweaksRightClickMenu": {
|
||||
"InvokeScript": [
|
||||
"New-Item -Path \"HKCU:\\Software\\Classes\\CLSID\\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\" -Name \"InprocServer32\" -force -value \"\" "
|
||||
]
|
||||
},
|
||||
"EssTweaksDiskCleanup": {
|
||||
"WPFEssTweaksDiskCleanup": {
|
||||
"InvokeScript": [
|
||||
"cleanmgr.exe /d C: /VERYLOWDISK"
|
||||
]
|
||||
},
|
||||
"MiscTweaksDisableTPMCheck": {
|
||||
"InvokeScript": [
|
||||
"If (!(Test-Path \"HKLM:\\SYSTEM\\Setup\\MoSetup\")) {
|
||||
New-Item -Path \"HKLM:\\SYSTEM\\Setup\\MoSetup\" -Force | Out-Null
|
||||
}
|
||||
Set-ItemProperty -Path \"HKLM:\\SYSTEM\\Setup\\MoSetup\" -Name \"AllowUpgradesWithUnsupportedTPM\" -Type DWord -Value 1"
|
||||
]
|
||||
},
|
||||
"MiscTweaksDisableUAC": {
|
||||
"InvokeScript": [
|
||||
"# This below is the pussy mode which can break some apps. Please. Leave this on 1.
|
||||
# below i will show a way to do it without breaking some Apps that check UAC. U need to be admin tho.
|
||||
# Set-ItemProperty -Path \"HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\System\" -Name \"EnableLUA\" -Type DWord -Value 0
|
||||
Set-ItemProperty -Path HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\System -Name ConsentPromptBehaviorAdmin -Type DWord -Value 0 # Default is 5
|
||||
# This will set the GPO Entry in Security so that Admin users elevate without any prompt while normal users still elevate and u can even leave it ennabled.
|
||||
# It will just not bother u anymore"
|
||||
]
|
||||
},
|
||||
"MiscTweaksDisableMouseAcceleration": {
|
||||
"registry": [
|
||||
"WPFMiscTweaksDisableTPMCheck": {
|
||||
"registry": [
|
||||
{
|
||||
"path": "HKCU:\\Control Panel\\Mouse",
|
||||
"OriginalValue": "1",
|
||||
"name": "MouseSpeed",
|
||||
"value": "0",
|
||||
"type": "String"
|
||||
},
|
||||
{
|
||||
"path": "HKCU:\\Control Panel\\Mouse",
|
||||
"OriginalValue": "6",
|
||||
"name": "MouseThreshold1",
|
||||
"value": "0",
|
||||
"type": "String"
|
||||
},
|
||||
{
|
||||
"path": "HKCU:\\Control Panel\\Mouse",
|
||||
"OriginalValue": "10",
|
||||
"name": "MouseThreshold2",
|
||||
"value": "0",
|
||||
"type": "String"
|
||||
"Path": "HKLM:\\SYSTEM\\Setup\\MoSetup",
|
||||
"Name": "AllowUpgradesWithUnsupportedTPM",
|
||||
"Type": "DWord",
|
||||
"Value": "1",
|
||||
"OriginalValue": "0"
|
||||
}
|
||||
]
|
||||
},
|
||||
"MiscTweaksEnableMouseAcceleration": {
|
||||
"registry": [
|
||||
"WPFMiscTweaksDisableUAC": {
|
||||
"registry": [
|
||||
{
|
||||
"path": "HKCU:\\Control Panel\\Mouse",
|
||||
"OriginalValue": "1",
|
||||
"name": "MouseSpeed",
|
||||
"value": "1",
|
||||
"type": "String"
|
||||
},
|
||||
{
|
||||
"path": "HKCU:\\Control Panel\\Mouse",
|
||||
"OriginalValue": "6",
|
||||
"name": "MouseThreshold1",
|
||||
"value": "6",
|
||||
"type": "String"
|
||||
},
|
||||
{
|
||||
"path": "HKCU:\\Control Panel\\Mouse",
|
||||
"OriginalValue": "10",
|
||||
"name": "MouseThreshold2",
|
||||
"value": "10",
|
||||
"type": "String"
|
||||
"path": "HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\System",
|
||||
"OriginalValue": "5",
|
||||
"name": "ConsentPromptBehaviorAdmin",
|
||||
"value": "0",
|
||||
"type": "DWord"
|
||||
}
|
||||
]
|
||||
},
|
||||
"EssTweaksDeleteTempFiles": {
|
||||
"WPFMiscTweaksDisableMouseAcceleration": {
|
||||
"registry": [
|
||||
{
|
||||
"path": "HKCU:\\Control Panel\\Mouse",
|
||||
"OriginalValue": "1",
|
||||
"name": "MouseSpeed",
|
||||
"value": "0",
|
||||
"type": "String"
|
||||
},
|
||||
{
|
||||
"path": "HKCU:\\Control Panel\\Mouse",
|
||||
"OriginalValue": "6",
|
||||
"name": "MouseThreshold1",
|
||||
"value": "0",
|
||||
"type": "String"
|
||||
},
|
||||
{
|
||||
"path": "HKCU:\\Control Panel\\Mouse",
|
||||
"OriginalValue": "10",
|
||||
"name": "MouseThreshold2",
|
||||
"value": "0",
|
||||
"type": "String"
|
||||
}
|
||||
]
|
||||
},
|
||||
"WPFMiscTweaksEnableMouseAcceleration": {
|
||||
"registry": [
|
||||
{
|
||||
"path": "HKCU:\\Control Panel\\Mouse",
|
||||
"OriginalValue": "1",
|
||||
"name": "MouseSpeed",
|
||||
"value": "1",
|
||||
"type": "String"
|
||||
},
|
||||
{
|
||||
"path": "HKCU:\\Control Panel\\Mouse",
|
||||
"OriginalValue": "6",
|
||||
"name": "MouseThreshold1",
|
||||
"value": "6",
|
||||
"type": "String"
|
||||
},
|
||||
{
|
||||
"path": "HKCU:\\Control Panel\\Mouse",
|
||||
"OriginalValue": "10",
|
||||
"name": "MouseThreshold2",
|
||||
"value": "10",
|
||||
"type": "String"
|
||||
}
|
||||
]
|
||||
},
|
||||
"WPFEssTweaksDeleteTempFiles": {
|
||||
"InvokeScript": [
|
||||
"Get-ChildItem -Path \"C:\\Windows\\Temp\" *.* -Recurse | Remove-Item -Force -Recurse
|
||||
Get-ChildItem -Path $env:TEMP *.* -Recurse | Remove-Item -Force -Recurse"
|
||||
]
|
||||
},
|
||||
"EssTweaksRemoveCortana": {
|
||||
"WPFEssTweaksRemoveCortana": {
|
||||
"InvokeScript": [
|
||||
"Get-AppxPackage -allusers Microsoft.549981C3F5F10 | Remove-AppxPackage"
|
||||
]
|
||||
},
|
||||
"WPFEssTweaksDVR": {
|
||||
"registry": [
|
||||
{
|
||||
"Path": "HKCU:\\System\\GameConfigStore",
|
||||
"Name": "GameDVR_FSEBehavior",
|
||||
"Value": "2",
|
||||
"OriginalValue": "1",
|
||||
"Type": "DWord"
|
||||
},
|
||||
{
|
||||
"Path": "HKCU:\\System\\GameConfigStore",
|
||||
"Name": "GameDVR_Enabled",
|
||||
"Value": "0",
|
||||
"OriginalValue": "1",
|
||||
"Type": "DWord"
|
||||
},
|
||||
{
|
||||
"Path": "HKCU:\\System\\GameConfigStore",
|
||||
"Name": "GameDVR_DXGIHonorFSEWindowsCompatible",
|
||||
"Value": "1",
|
||||
"OriginalValue": "0",
|
||||
"Type": "DWord"
|
||||
},
|
||||
{
|
||||
"Path": "HKCU:\\System\\GameConfigStore",
|
||||
"Name": "GameDVR_HonorUserFSEBehaviorMode",
|
||||
"Value": "1",
|
||||
"OriginalValue": "0",
|
||||
"Type": "DWord"
|
||||
},
|
||||
{
|
||||
"Path": "HKCU:\\System\\GameConfigStore",
|
||||
"Name": "GameDVR_EFSEFeatureFlags",
|
||||
"Value": "0",
|
||||
"OriginalValue": "1",
|
||||
"Type": "DWord"
|
||||
},
|
||||
{
|
||||
"Path": "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\GameDVR",
|
||||
"Name": "AllowGameDVR",
|
||||
"Value": "0",
|
||||
"OriginalValue": "1",
|
||||
"Type": "DWord"
|
||||
}
|
||||
]
|
||||
},
|
||||
"WPFBingSearch": {
|
||||
"registry": [
|
||||
{
|
||||
"OriginalValue": "1",
|
||||
"Name": "BingSearchEnabled",
|
||||
"Path": "HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Search",
|
||||
"Type": "DWORD",
|
||||
"Value": "0"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user