Skip to content
This repository was archived by the owner on May 28, 2021. It is now read-only.

Commit 1070655

Browse files
committed
Add "Disable Fullscreen optimizations", closes #209
1 parent 7f30463 commit 1070655

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

Default.preset

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,7 @@ UninstallMsftBloat # InstallMsftBloat
175175
UninstallThirdPartyBloat # InstallThirdPartyBloat
176176
# UninstallWindowsStore # InstallWindowsStore
177177
DisableXboxFeatures # EnableXboxFeatures
178+
# DisableFullscreenOptims # EnableFullscreenOptims
178179
DisableAdobeFlash # EnableAdobeFlash
179180
DisableEdgePreload # EnableEdgePreload
180181
DisableEdgeShortcutCreation # EnableEdgeShortcutCreation

Win10.psm1

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2904,6 +2904,24 @@ Function EnableXboxFeatures {
29042904
Remove-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\GameDVR" -Name "AllowGameDVR" -ErrorAction SilentlyContinue
29052905
}
29062906

2907+
# Disable Fullscreen optimizations
2908+
Function DisableFullscreenOptims {
2909+
Write-Output "Disabling Fullscreen optimizations..."
2910+
Set-ItemProperty -Path "HKCU:\System\GameConfigStore" -Name "GameDVR_DXGIHonorFSEWindowsCompatible" -Type DWord -Value 1
2911+
Set-ItemProperty -Path "HKCU:\System\GameConfigStore" -Name "GameDVR_FSEBehavior" -Type DWord -Value 2
2912+
Set-ItemProperty -Path "HKCU:\System\GameConfigStore" -Name "GameDVR_FSEBehaviorMode" -Type DWord -Value 2
2913+
Set-ItemProperty -Path "HKCU:\System\GameConfigStore" -Name "GameDVR_HonorUserFSEBehaviorMode" -Type DWord -Value 1
2914+
}
2915+
2916+
# Enable Fullscreen optimizations
2917+
Function EnableFullscreenOptims {
2918+
Write-Output "Enabling Fullscreen optimizations..."
2919+
Set-ItemProperty -Path "HKCU:\System\GameConfigStore" -Name "GameDVR_DXGIHonorFSEWindowsCompatible" -Type DWord -Value 0
2920+
Remove-ItemProperty -Path "HKCU:\System\GameConfigStore" -Name "GameDVR_FSEBehavior" -ErrorAction SilentlyContinue
2921+
Set-ItemProperty -Path "HKCU:\System\GameConfigStore" -Name "GameDVR_FSEBehaviorMode" -Type DWord -Value 0
2922+
Set-ItemProperty -Path "HKCU:\System\GameConfigStore" -Name "GameDVR_HonorUserFSEBehaviorMode" -Type DWord -Value 0
2923+
}
2924+
29072925
# Disable built-in Adobe Flash in IE and Edge
29082926
Function DisableAdobeFlash {
29092927
Write-Output "Disabling built-in Adobe Flash in IE and Edge..."

0 commit comments

Comments
 (0)