Opinionated Software

… we have opinions about everything!

Setting Windows Compatibility Mode in Batch Files —

Quick tip. Need to run an executable in a different compatibility mode? Set this environment variable appropriately prior to running the executable:

SET __COMPAT_LAYER=WIN95

Valid values for __COMPAT_LAYER:

WIN95 - Windows 95
WIN98 - Windows 98
WIN4SP5 - Windows NT 4.0 SP5
WIN2000 - Windows 2000
WINXPSP2 - Windows XP SP2
WINXPSP3 - Windows XP SP3
VISTARTM - Vista
VISTASP1 - Vista SP1
VISTASP2 - Vista SP2
WIN7RTM - Windows 7 
WINSRV03SP1 - Windows Server 2003 SP1
WINSRV08SP1 - Windows Server 2008 SP1

 


Categorised as: Windows



Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.