mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2025-07-03 11:33:31 -05:00
Compare commits
6 Commits
25.01.11
...
62a5613c59
Author | SHA1 | Date | |
---|---|---|---|
62a5613c59 | |||
f8137dde02 | |||
e05cabf5e4 | |||
eba5b35978 | |||
254738a420 | |||
bcc801683d |
@ -52,7 +52,7 @@ If you have Issues, refer to [Known Issues](https://christitustech.github.io/win
|
|||||||
|
|
||||||
These are the sponsors that help keep this project alive with monthly contributions.
|
These are the sponsors that help keep this project alive with monthly contributions.
|
||||||
|
|
||||||
<!-- sponsors --><a href="https://github.com/TriHydera"><img src="https://github.com/TriHydera.png" width="60px" alt="User avatar: TriHydera" /></a><a href="https://github.com/jozozovko"><img src="https://github.com/jozozovko.png" width="60px" alt="User avatar: " /></a><a href="https://github.com/DelDongo"><img src="https://github.com/DelDongo.png" width="60px" alt="User avatar: " /></a><a href="https://github.com/markamos"><img src="https://github.com/markamos.png" width="60px" alt="User avatar: Mark Amos" /></a><a href="https://github.com/dwelfusius"><img src="https://github.com/dwelfusius.png" width="60px" alt="User avatar: " /></a><a href="https://github.com/mews-se"><img src="https://github.com/mews-se.png" width="60px" alt="User avatar: Martin Stockzell" /></a><a href="https://github.com/jdiegmueller"><img src="https://github.com/jdiegmueller.png" width="60px" alt="User avatar: Jason A. Diegmueller" /></a><a href="https://github.com/AlanTristar"><img src="https://github.com/AlanTristar.png" width="60px" alt="User avatar: " /></a><a href="https://github.com/zepled112"><img src="https://github.com/zepled112.png" width="60px" alt="User avatar: wyatt" /></a><a href="https://github.com/altugtekiner"><img src="https://github.com/altugtekiner.png" width="60px" alt="User avatar: " /></a><a href="https://github.com/robertsandrock"><img src="https://github.com/robertsandrock.png" width="60px" alt="User avatar: RMS" /></a><a href="https://github.com/KenichiQaz"><img src="https://github.com/KenichiQaz.png" width="60px" alt="User avatar: Stefan" /></a><a href="https://github.com/paulsheets"><img src="https://github.com/paulsheets.png" width="60px" alt="User avatar: Paul" /></a><a href="https://github.com/djones369"><img src="https://github.com/djones369.png" width="60px" alt="User avatar: Dave Jones" /></a><a href="https://github.com/anthonymendez"><img src="https://github.com/anthonymendez.png" width="60px" alt="User avatar: Anthony Mendez" /></a><a href="https://github.com/claudemods"><img src="https://github.com/claudemods.png" width="60px" alt="User avatar: Claudemods" /></a><a href="https://github.com/FatBastard0"><img src="https://github.com/FatBastard0.png" width="60px" alt="User avatar: " /></a><a href="https://github.com/Ascent7910"><img src="https://github.com/Ascent7910.png" width="60px" alt="User avatar: Max" /></a><a href="https://github.com/DursleyGuy"><img src="https://github.com/DursleyGuy.png" width="60px" alt="User avatar: DursleyGuy" /></a><a href="https://github.com/YamiSandman616"><img src="https://github.com/YamiSandman616.png" width="60px" alt="User avatar: Sandman616" /></a><a href="https://github.com/realmuddy"><img src="https://github.com/realmuddy.png" width="60px" alt="User avatar: Phillip Waters" /></a><a href="https://github.com/quaszi"><img src="https://github.com/quaszi.png" width="60px" alt="User avatar: " /></a><a href="https://github.com/EgoRaInevitable"><img src="https://github.com/EgoRaInevitable.png" width="60px" alt="User avatar: " /></a><a href="https://github.com/Unambiguous"><img src="https://github.com/Unambiguous.png" width="60px" alt="User avatar: " /></a><a href="https://github.com/Freestyler589"><img src="https://github.com/Freestyler589.png" width="60px" alt="User avatar: " /></a><a href="https://github.com/EA-1356"><img src="https://github.com/EA-1356.png" width="60px" alt="User avatar: meris" /></a><!-- sponsors -->
|
<!-- sponsors --><a href="https://github.com/TriHydera"><img src="https://github.com/TriHydera.png" width="60px" alt="User avatar: TriHydera" /></a><a href="https://github.com/jozozovko"><img src="https://github.com/jozozovko.png" width="60px" alt="User avatar: " /></a><a href="https://github.com/DelDongo"><img src="https://github.com/DelDongo.png" width="60px" alt="User avatar: " /></a><a href="https://github.com/markamos"><img src="https://github.com/markamos.png" width="60px" alt="User avatar: Mark Amos" /></a><a href="https://github.com/dwelfusius"><img src="https://github.com/dwelfusius.png" width="60px" alt="User avatar: " /></a><a href="https://github.com/mews-se"><img src="https://github.com/mews-se.png" width="60px" alt="User avatar: Martin Stockzell" /></a><a href="https://github.com/jdiegmueller"><img src="https://github.com/jdiegmueller.png" width="60px" alt="User avatar: Jason A. Diegmueller" /></a><a href="https://github.com/AlanTristar"><img src="https://github.com/AlanTristar.png" width="60px" alt="User avatar: " /></a><a href="https://github.com/altugtekiner"><img src="https://github.com/altugtekiner.png" width="60px" alt="User avatar: " /></a><a href="https://github.com/robertsandrock"><img src="https://github.com/robertsandrock.png" width="60px" alt="User avatar: RMS" /></a><a href="https://github.com/KenichiQaz"><img src="https://github.com/KenichiQaz.png" width="60px" alt="User avatar: Stefan" /></a><a href="https://github.com/paulsheets"><img src="https://github.com/paulsheets.png" width="60px" alt="User avatar: Paul" /></a><a href="https://github.com/djones369"><img src="https://github.com/djones369.png" width="60px" alt="User avatar: Dave Jones" /></a><a href="https://github.com/anthonymendez"><img src="https://github.com/anthonymendez.png" width="60px" alt="User avatar: Anthony Mendez" /></a><a href="https://github.com/claudemods"><img src="https://github.com/claudemods.png" width="60px" alt="User avatar: Claudemods" /></a><a href="https://github.com/FatBastard0"><img src="https://github.com/FatBastard0.png" width="60px" alt="User avatar: " /></a><a href="https://github.com/Ascent7910"><img src="https://github.com/Ascent7910.png" width="60px" alt="User avatar: Max" /></a><a href="https://github.com/DursleyGuy"><img src="https://github.com/DursleyGuy.png" width="60px" alt="User avatar: DursleyGuy" /></a><a href="https://github.com/YamiSandman616"><img src="https://github.com/YamiSandman616.png" width="60px" alt="User avatar: Sandman616" /></a><a href="https://github.com/realmuddy"><img src="https://github.com/realmuddy.png" width="60px" alt="User avatar: Phillip Waters" /></a><a href="https://github.com/quaszi"><img src="https://github.com/quaszi.png" width="60px" alt="User avatar: " /></a><a href="https://github.com/EgoRaInevitable"><img src="https://github.com/EgoRaInevitable.png" width="60px" alt="User avatar: " /></a><a href="https://github.com/Unambiguous"><img src="https://github.com/Unambiguous.png" width="60px" alt="User avatar: " /></a><a href="https://github.com/Freestyler589"><img src="https://github.com/Freestyler589.png" width="60px" alt="User avatar: " /></a><a href="https://github.com/EA-1356"><img src="https://github.com/EA-1356.png" width="60px" alt="User avatar: meris" /></a><!-- sponsors -->
|
||||||
|
|
||||||
## 🏅 Thanks to all Contributors
|
## 🏅 Thanks to all Contributors
|
||||||
Thanks a lot for spending your time helping Winutil grow. Thanks a lot! Keep rocking 🍻.
|
Thanks a lot for spending your time helping Winutil grow. Thanks a lot! Keep rocking 🍻.
|
||||||
|
@ -916,7 +916,7 @@
|
|||||||
"choco": "imgburn",
|
"choco": "imgburn",
|
||||||
"content": "ImgBurn",
|
"content": "ImgBurn",
|
||||||
"description": "ImgBurn is a lightweight CD, DVD, HD-DVD, and Blu-ray burning application with advanced features for creating and burning disc images.",
|
"description": "ImgBurn is a lightweight CD, DVD, HD-DVD, and Blu-ray burning application with advanced features for creating and burning disc images.",
|
||||||
"link": "http://www.imgburn.com/",
|
"link": "https://www.imgburn.com/",
|
||||||
"winget": "LIGHTNINGUK.ImgBurn"
|
"winget": "LIGHTNINGUK.ImgBurn"
|
||||||
},
|
},
|
||||||
"inkscape": {
|
"inkscape": {
|
||||||
@ -988,7 +988,7 @@
|
|||||||
"choco": "jdownloader",
|
"choco": "jdownloader",
|
||||||
"content": "JDownloader",
|
"content": "JDownloader",
|
||||||
"description": "JDownloader is a feature-rich download manager with support for various file hosting services.",
|
"description": "JDownloader is a feature-rich download manager with support for various file hosting services.",
|
||||||
"link": "http://jdownloader.org/",
|
"link": "https://jdownloader.org/",
|
||||||
"winget": "AppWork.JDownloader"
|
"winget": "AppWork.JDownloader"
|
||||||
},
|
},
|
||||||
"jellyfinmediaplayer": {
|
"jellyfinmediaplayer": {
|
||||||
@ -1380,7 +1380,7 @@
|
|||||||
"choco": "na",
|
"choco": "na",
|
||||||
"content": "nGlide (3dfx compatibility)",
|
"content": "nGlide (3dfx compatibility)",
|
||||||
"description": "nGlide is a 3Dfx Voodoo Glide wrapper. It allows you to play games that use Glide API on modern graphics cards without the need for a 3Dfx Voodoo graphics card.",
|
"description": "nGlide is a 3Dfx Voodoo Glide wrapper. It allows you to play games that use Glide API on modern graphics cards without the need for a 3Dfx Voodoo graphics card.",
|
||||||
"link": "http://www.zeus-software.com/downloads/nglide",
|
"link": "https://www.zeus-software.com/downloads/nglide",
|
||||||
"winget": "ZeusSoftware.nGlide"
|
"winget": "ZeusSoftware.nGlide"
|
||||||
},
|
},
|
||||||
"nmap": {
|
"nmap": {
|
||||||
@ -2204,7 +2204,7 @@
|
|||||||
"choco": "na",
|
"choco": "na",
|
||||||
"content": "Thorium Browser AVX2",
|
"content": "Thorium Browser AVX2",
|
||||||
"description": "Browser built for speed over vanilla chromium. It is built with AVX2 optimizations and is the fastest browser on the market.",
|
"description": "Browser built for speed over vanilla chromium. It is built with AVX2 optimizations and is the fastest browser on the market.",
|
||||||
"link": "http://thorium.rocks/",
|
"link": "https://thorium.rocks/",
|
||||||
"winget": "Alex313031.Thorium.AVX2"
|
"winget": "Alex313031.Thorium.AVX2"
|
||||||
},
|
},
|
||||||
"thunderbird": {
|
"thunderbird": {
|
||||||
|
@ -2596,13 +2596,15 @@
|
|||||||
"InvokeScript": [
|
"InvokeScript": [
|
||||||
"
|
"
|
||||||
Write-Host \"Disable Recall\"
|
Write-Host \"Disable Recall\"
|
||||||
DISM /Online /Disable-Feature /FeatureName:Recall
|
DISM /Online /Disable-Feature /FeatureName:Recall /Quiet /NoRestart
|
||||||
|
Write-Host \"Please restart your computer in order for the changes to be fully applied.\"
|
||||||
"
|
"
|
||||||
],
|
],
|
||||||
"UndoScript": [
|
"UndoScript": [
|
||||||
"
|
"
|
||||||
Write-Host \"Enable Recall\"
|
Write-Host \"Enable Recall\"
|
||||||
DISM /Online /Enable-Feature /FeatureName:Recall
|
DISM /Online /Enable-Feature /FeatureName:Recall /Quiet /NoRestart
|
||||||
|
Write-Host \"Please restart your computer in order for the changes to be fully applied.\"
|
||||||
"
|
"
|
||||||
],
|
],
|
||||||
"link": "https://christitustech.github.io/winutil/dev/tweaks/Essential-Tweaks/DisableRecall"
|
"link": "https://christitustech.github.io/winutil/dev/tweaks/Essential-Tweaks/DisableRecall"
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
#### **Run the latest pre-release**
|
#### **Run the latest pre-release**
|
||||||
```ps1
|
```ps1
|
||||||
irm christitus.com/windev | iex
|
irm https://christitus.com/windev | iex
|
||||||
```
|
```
|
||||||
|
|
||||||
!!! bug "Keep in mind"
|
!!! bug "Keep in mind"
|
||||||
|
@ -6,7 +6,7 @@ Windows Security (formerly Defender) and other anti-virus software are known to
|
|||||||
To resolve this, allow/whitelist the script in your anti-virus software settings, or temporarily disable real-time protection. Since the project is open source, you may audit the code if security is a concern.
|
To resolve this, allow/whitelist the script in your anti-virus software settings, or temporarily disable real-time protection. Since the project is open source, you may audit the code if security is a concern.
|
||||||
|
|
||||||
### Download not working
|
### Download not working
|
||||||
If `christitus.com/win` is not working, or you want to download the code from GitHub directly, you can use the direct download link:
|
If `https://christitus.com/win` is not working, or you want to download the code from GitHub directly, you can use the direct download link:
|
||||||
|
|
||||||
```ps1
|
```ps1
|
||||||
irm https://github.com/ChrisTitusTech/winutil/releases/latest/download/winutil.ps1 | iex
|
irm https://github.com/ChrisTitusTech/winutil/releases/latest/download/winutil.ps1 | iex
|
||||||
@ -34,7 +34,7 @@ If you are still having issues, try using a **VPN**, or changing your **DNS prov
|
|||||||
2. In the PowerShell window, type this to allow unsigned code to execute and run the installation script:
|
2. In the PowerShell window, type this to allow unsigned code to execute and run the installation script:
|
||||||
```ps1
|
```ps1
|
||||||
Set-ExecutionPolicy Unrestricted -Scope Process -Force
|
Set-ExecutionPolicy Unrestricted -Scope Process -Force
|
||||||
irm christitus.com/win | iex
|
irm https://christitus.com/win | iex
|
||||||
```
|
```
|
||||||
|
|
||||||
## Runtime Issues
|
## Runtime Issues
|
||||||
|
@ -11,7 +11,7 @@ Welcome to the official documentation for WinUtil, your go-to utility for optimi
|
|||||||
* You will first need to start a Powershell terminal **as Admin**.
|
* You will first need to start a Powershell terminal **as Admin**.
|
||||||
* Now you can run the following command:
|
* Now you can run the following command:
|
||||||
```ps1
|
```ps1
|
||||||
irm christitus.com/win | iex
|
irm https://christitus.com/win | iex
|
||||||
```
|
```
|
||||||
|
|
||||||
!!! info
|
!!! info
|
||||||
|
@ -258,6 +258,6 @@ With MicroWin, you can also configure your user before proceeding if you don't w
|
|||||||
|
|
||||||
* On any supported Windows machine, open PowerShell **as Admin** and run the following command to automatically apply tweaks and install apps from the config file.
|
* On any supported Windows machine, open PowerShell **as Admin** and run the following command to automatically apply tweaks and install apps from the config file.
|
||||||
```ps1
|
```ps1
|
||||||
iex "& { $(irm christitus.com/win) } -Config [path-to-your-config] -Run"
|
iex "& { $(irm https://christitus.com/win) } -Config [path-to-your-config] -Run"
|
||||||
```
|
```
|
||||||
* Have a cup of coffee! Come back when it's done.
|
* Have a cup of coffee! Come back when it's done.
|
||||||
|
@ -38,6 +38,32 @@ function Invoke-WinUtilUninstallPSProfile {
|
|||||||
if (-not $Fonts) {
|
if (-not $Fonts) {
|
||||||
Write-Host "===> Successfully Uninstalled: Nerd Fonts. <===" -ForegroundColor Yellow
|
Write-Host "===> Successfully Uninstalled: Nerd Fonts. <===" -ForegroundColor Yellow
|
||||||
}
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
# Helper function used to uninstall a specific Nerd Fonts font corresponding registry keys.
|
||||||
|
function Uninstall-NerdFontRegKeys {
|
||||||
|
# Define the parameters block for the Uninstall-NerdFontsRegKey function.
|
||||||
|
param (
|
||||||
|
[string]$FontsRegPath = "HKCU:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts",
|
||||||
|
[string]$FontFamilyName = "CaskaydiaCove"
|
||||||
|
)
|
||||||
|
|
||||||
|
try {
|
||||||
|
# Get all properties (font registrations) from the registry path
|
||||||
|
$registryProperties = Get-ItemProperty -Path $FontsRegPath
|
||||||
|
|
||||||
|
# Filter and remove properties that match the font family name
|
||||||
|
$registryProperties.PSObject.Properties |
|
||||||
|
Where-Object { $_.Name -match $FontFamilyName } |
|
||||||
|
ForEach-Object {
|
||||||
|
If ($_.Name -like "*$FontFamilyName*") {
|
||||||
|
Remove-ItemProperty -path $FontsRegPath -Name $_.Name -ErrorAction SilentlyContinue
|
||||||
|
}
|
||||||
|
}
|
||||||
|
} catch {
|
||||||
|
Write-Host "Error removing registry keys: $($_.exception.message)" -ForegroundColor Red
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
# Check if Chris Titus Tech's PowerShell profile is currently available in the PowerShell profile folder.
|
# Check if Chris Titus Tech's PowerShell profile is currently available in the PowerShell profile folder.
|
||||||
@ -87,11 +113,28 @@ function Invoke-WinUtilUninstallPSProfile {
|
|||||||
|
|
||||||
# Call the function used to uninstall the specified Nerd Fonts package from the system.
|
# Call the function used to uninstall the specified Nerd Fonts package from the system.
|
||||||
Uninstall-NerdFonts -FontsPath $FontsPath -FontFamilyName $FontFamilyName
|
Uninstall-NerdFonts -FontsPath $FontsPath -FontFamilyName $FontFamilyName
|
||||||
|
|
||||||
} catch {
|
} catch {
|
||||||
# Let the user know that an error was encountered when uninstalling Nerd Fonts.
|
# Let the user know that an error was encountered when uninstalling Nerd Fonts.
|
||||||
Write-Host "Failed to uninstall Nerd Fonts. Error: $_" -ForegroundColor Red
|
Write-Host "Failed to uninstall Nerd Fonts. Error: $_" -ForegroundColor Red
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Attempt to uninstall the specified Nerd Fonts registry keys from the system.
|
||||||
|
try {
|
||||||
|
# Specify the registry path that the specified font registry keys will be uninstalled from.
|
||||||
|
[string]$FontsRegPath = "HKCU:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts"
|
||||||
|
|
||||||
|
# Specify the name of the font registry keys that is to be uninstalled from the system.
|
||||||
|
[string]$FontFamilyName = "CaskaydiaCove"
|
||||||
|
|
||||||
|
# Call the function used to uninstall the specified Nerd Fonts registry keys from the system.
|
||||||
|
Uninstall-NerdFontRegKeys -FontsPath $FontsRegPath -FontFamilyName $FontFamilyName
|
||||||
|
|
||||||
|
} catch {
|
||||||
|
# Let the user know that an error was encountered when uninstalling Nerd Font registry keys.
|
||||||
|
Write-Host "Failed to uninstall Nerd Font Registry Keys. Error: $_" -ForegroundColor Red
|
||||||
|
}
|
||||||
|
|
||||||
# Attempt to uninstall the Terminal-Icons PowerShell module from the system.
|
# Attempt to uninstall the Terminal-Icons PowerShell module from the system.
|
||||||
try {
|
try {
|
||||||
# Get the content of the backup PowerShell profile and store it in-memory.
|
# Get the content of the backup PowerShell profile and store it in-memory.
|
||||||
@ -185,3 +228,4 @@ function Invoke-WinUtilUninstallPSProfile {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -46,7 +46,7 @@ function Invoke-WPFImpex {
|
|||||||
if ($Config) {
|
if ($Config) {
|
||||||
$jsonFile = Get-WinUtilCheckBoxes -unCheck $false | ConvertTo-Json
|
$jsonFile = Get-WinUtilCheckBoxes -unCheck $false | ConvertTo-Json
|
||||||
$jsonFile | Out-File $Config -Force
|
$jsonFile | Out-File $Config -Force
|
||||||
"iex ""& { `$(irm christitus.com/win) } -Config '$Config'""" | Set-Clipboard
|
"iex ""& { `$(irm https://christitus.com/win) } -Config '$Config'""" | Set-Clipboard
|
||||||
}
|
}
|
||||||
} catch {
|
} catch {
|
||||||
Write-Error "An error occurred while exporting: $_"
|
Write-Error "An error occurred while exporting: $_"
|
||||||
|
Reference in New Issue
Block a user