Setting screen resolution during Win 7 OSD

We would like to set the recommended screen resolution for attached monitors during automatic OSD of Windows 7.

As we have a variety of monitors with different resolutions we can't set a fixed value within unattend.xml/customsettings.ini.

After installation we could log on to each of our 500 PCs and manually set the screen resolution which is marked as "recommended", which would consume much time however...

Is there any other way of setting the recommended screen resolution for each display type automatically, for example using a script?

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Kruno DžoićSystem EngineerCommented:
mbwjkAuthor Commented:
Thank you.

Unfortunately this tool doesn't set the "recommended" value which is shown in Windows 7 display settings.

We have to set up 500 PCs with different monitors/resolutions. The tool/script has to find out itself (possibly via WMI), what the recommended display settings for the attached monitor are.

Any idea?
Kruno DžoićSystem EngineerCommented:
use Display Switch Platinum which runs in the
system tray and allows users (who have no access to display
properties) the ability to easily switch resolutions. Beware though
that sometimes they can set it out of the monitors range and then the
"last known good profile" is needed.
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Kruno DžoićSystem EngineerCommented:
if you gonna create  some script, this tool can help

mbwjkAuthor Commented:
Thanks, M3rc74.

We would like to set the display settings automatically, without any user interaction.

Windows recognizes possible resolution settings. If I attach a 1280x1024-Monitor, the upper value of resolution settings shows up as "1280x1024 (recommended)", if I attach a 1680x1050-Monitor the upper value is "1680x1024 (recommended)". So I always just have to pull the slider to the upper value. I would like to spare our users the hassle.

That's why I'm looking for a tool, which sets the upper (recommended) value automatically, depending on the attached monitor.

Any idea?
mbwjkAuthor Commented:
You mentioned nircmd.

We could use something like "nircmd.exe setdisplay 800 600 24" but we don't know the attached monitor in advance.

Something like "nircmd.exe setdisplay maxres" would be nict. Unfortunately, such a command doesn't exist.
Kruno DžoićSystem EngineerCommented:
Ask question on scripting or programming group how to create script

to read max display resolution, and then use nircmd with output

Experts Exchange Solution brought to you by ConnectWise

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.