Snippet for setting a game's compatibility mode
This commit is contained in:
parent
883e23fc1f
commit
c2dd624cec
1 changed files with 12 additions and 0 deletions
12
LANCommander/Snippets/Examples/Set Compatibility Mode.ps1
Normal file
12
LANCommander/Snippets/Examples/Set Compatibility Mode.ps1
Normal 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
|
Loading…
Add table
Reference in a new issue