Skip to main content

Windows change display resolution with one click

·215 words·2 mins

I spend the entire day working on a very sizable 4k UHD display, and I frequently ran into the problem of wanting to share my screen with participants in various collaboration tools. Then, viewers claim that my screen is too small on the remote displays due to the display resolution of 3840x2160 pixels.

In order to adjust the resolution, I often go to the desktop and right-click. It is quite frustrating to have to do that several times each day (and switch back after the meeting).

I created some scripts for Linux that may automatically execute when I start with or without an external display and modify the display resolution. Unfortunately, I also need to utilize other operating systems. What choices are available on Windows?

I discovered three PowerShell scripts and EXE files, however two of them required licenses for non-personal usage and one of them was broken. I landed up at http://tools.taubenkorb.at/change-screen-resolution/#download, which is available for free download the author just asks for a donation.

I made two cmd files and transferred the script to my desktop:

4k.cmd

ChangeScreenResolution.exe /w=3840 /h=2160 /d=0

full_hd.cmd

ChangeScreenResolution.exe /w=1920 /h=1080 /d=0

Now, all I have to do to change the display resolution is double-click the script.

It only takes some seconds each time, but the experience is fantastic.

Christoph Stoettner
Author
Christoph Stoettner
I work at Vegard IT GmbH as a senior consultant, focusing on collaboration software, Kubernetes, security, and automation. I primarily work with HCL Connections, WebSphere Application Server, Kubernetes, Ansible, Terraform, and Linux. My daily work occasionally leads to technical talks and blog articles, which I share here more or less regularly.

Related

Matrix Channel

·306 words·2 mins
The last months I played around with Matrix, a secure and open collaboration system. The protocol looks very promising, it allows hosting your own server and federate it to other systems. So like SMTP, all these matrix users can communicate to each other.

Connections Desktop Plugins Password Save Policy

During the latest automated deployment of the HCL Connections Desktop Plug-ins for Microsoft™ Windows™, I had issues activating the Password Save Policy. We wanted to disable the option that users can save passwords. The documentation tells us, that the registry key HKLM\SOFTWARE\Wow6432Node\IBM\Social Connectors\Settings\Password Save Policy needs to be set to 1 to achieve this.

Update Elasticsearch certificates in Componentpack

Elasticsearch in HCL Connections Componentpack is secured with Searchguard and needs certificates to work properly. These certificates are generated by bootstrap during the initial container deployment with helm. These certificates are valid for 10 years (chain_ca.pem) or 2 years (elasticsearch*.pem) and stored in the Kubernetes secrets elasticsearch-secret, elasticsearch-7-secret. So when your HCL Connections deployment is running for 2 years, the certficates stop working.