FG
💻 Software

Get display resolution from windows command line

Fresh5 days ago
Mar 15, 2026102015 views
Confidence Score0%
0%

Problem

I have seen several suggestions about programs to change the resolution from the command line. However I just want to display it, not change it. On linux I can use or to get this info, so I am looking for something like that. I also need it to work within a cygwin shell.

Error Output

xrandr

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Get display resolution from windows command line

Low Risk

Try this: From within Cygwin: EDIT: Update for later versions of Windows EDIT: wmic has been deprecated In PowerShell: (using instead of as that may be deprecated too soon)

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment