SAS Management Console on HiDPI Windows 10

A few days ago I installed SAS Management Console 9.4 M4 and Metacoda Plug-ins 6.0 R4 on a Microsoft Surface Pro running Windows 10. After launching SAS Management Console, and logging in, it looked very odd. All of the icons and text were very close together and the text was hard to read. Here’s a screenshot (the images on this page are automatically resized to fit in the column, but I have kept them at their original resolution so you can click on them if you want to see them full size for comparison) …

SAS Management Console before HiDPI Adjustment

This Surface Pro machine has a HiDPI display with a resolution of 2736×1824 and is scaled by default in Windows 10 at 200%. I assumed that this was the underlying reason for the odd display. My previous blog post was about changing the Java Look & Feel with SAS Management Console on Linux. I wondered if that might help here and so tried the Metal Look & Feel. This is what that looked like …

SAS Management Console using Metal L&F with HiDPI

It was definitely an improvement but, on this HiDPI display, the text was a little too small to read and did need some scaling.

A quick Google will show that HiDPI and Java Swing based applications do not mix well (understandable given Java Swing was around long before HiDPI displays were common). I found a couple of particularly relevant resources:

… which led me to a solution:

1) Using Windows Explorer, navigate to <SASHOME>/SASManagementConsole/9.4 directory, and find the sasmc.exe file.

2) Right mouse click to get the context menu and select the Properties menu item.

Locating sasmc.exe

3) In the Properties dialog for sasmc.exe, select the Compatibility tab

4) Check the box for Override high DPI scaling behavior.

5) Select the System item in the Scaling performed by: combo box

Windows 10 HiDPI Adjustment for SAS Management Console

After relaunching SAS Management Console, it now looks like I had expected and the text was easier to read …

SAS Management Console after HiDPI Adjustment

I hope you found this useful. If you have comments, questions, or tips on using SAS Management Console on a Windows 10 HiDPI display then please leave a comment below.

Leave a Reply

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