Skip to content

Commit

Permalink
Disable reserved storage
Browse files Browse the repository at this point in the history
- Gives more storage space
  • Loading branch information
LeDragoX committed Oct 30, 2023
1 parent a6ee21d commit 0566371
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/scripts/Optimize-Performance.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,11 @@ function Optimize-Performance() {
Set-ItemPropertyVerified -Path "$PathToLMMultimediaSystemProfileOnGameTasks" -Name "GPU Priority" -Type DWord -Value 8 # Default: 8
Set-ItemPropertyVerified -Path "$PathToLMMultimediaSystemProfileOnGameTasks" -Name "Priority" -Type DWord -Value 6 # Default: 2
Set-ItemPropertyVerified -Path "$PathToLMMultimediaSystemProfileOnGameTasks" -Name "Scheduling Category" -Type String -Value "High" # Default: "Medium"

# Details: https://winbuzzer.com/2020/08/18/how-to-enable-or-disable-windows-10-reserved-storage-xcxwbt/
Write-Section "Storage Tweaks"
Write-Status -Types "-", $TweakType -Status "Disabling Reserved Storage (Windows 10 1903+)..."
DISM /Online /Set-ReservedStorageState /State:Disabled | Out-Host
}

If (!$Revert) {
Expand Down

0 comments on commit 0566371

Please sign in to comment.