diff --git a/LANCommander/Snippets/Examples/Set Compatibility Mode.ps1 b/LANCommander/Snippets/Examples/Set Compatibility Mode.ps1 new file mode 100644 index 0000000..b9e130d --- /dev/null +++ b/LANCommander/Snippets/Examples/Set Compatibility Mode.ps1 @@ -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\" -Value "~ WINXPSP2 HIGHDPIAWARE" -Force \ No newline at end of file