Snippet for setting a game's compatibility mode

pull/19/head
Pat Hartl 2023-03-23 19:21:41 -05:00
parent 883e23fc1f
commit c2dd624cec
1 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,12 @@
# Available Options:
# WIN95
# WIN98
# WINXPSP2
# WINXPSP3
# VISTARTM
# VISTASP1
# VISTASP2
# WIN7RTM
# WIN8RTM
# See: https://ss64.com/nt/syntax-compatibility.html
New-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers" -Name "$InstallDir\<Executable>" -Value "~ WINXPSP2 HIGHDPIAWARE" -Force