changing screen resolution 'over the wire'

Alex Angelopoulos alex "at"
Wed, 30 Jan 2002 21:35:13 +0000

This is unfortunately one of the useful items which you cannot do
programmatically on Windows.  You *can* actually script a resolution
change using WSH; it has to actually "call" the control panel applet for
display control, then do a "sendkeys" to change it.

You can also use a third-party tool, MultiRes, which is free, to do it
from a batch file.  Here's a direct quote from a 2002.01.05 post by
Torgeir Bakken in the microsoft.public.scripting.wsh newsgroup:

--start quoting---
"...It's available at (Entech Taiwan), and can be
used to
set screen resolution, color depth, and refresh rate. Normally it runs
with an
icon in the notification area. But it's also possible to run it in
command mode in a batch file. There's more info at

exaple on a command line:

Set 800x600, 32-bit color, 85Hz refresh

d:\multires\multires.exe /800,600,32,85 /exit

--stop quoting---
The entire thread can be retrieved via Google using the following URL
(watch for URL wrap):

----- Original Message -----
From: "Jim Theriot" <Jim.Theriot "at">
To: <vnc-list "at">
Sent: Wednesday/2002 January 30 15:50
Subject: changing screen resolution 'over the wire'

: Hi,
: I didn't find the answer to this in the archives;  apologies in
advance if
: this is the wrong list for it.
: I have a vnc server running on my Windows machine at work.  I
generally set
: the screen resolution to 800x600 before I leave work, to make it
easier to
: access it from home (where I have a lower-resolution monitor).  It's a
: tricky to change the resolution from home, because an exception is
: and the connection is lost before I can confirm that the new
resolution is
: displaying properly.
: Until last week I was running Windows NT.  I figured out that I can
: the new resolution, which doesn't require confirmation, after which
: the resolution also doesn't require confirmation (I have to establish
: connection again, but that's no sweat).  But now I have upgraded to
: 2000, and I don't find a 'test' button, or any other way to change
: resolution without confirming.  Does anyone know a way to avoid the
: exception, or some hack to 'batch up' the resolution change, or ...?
: Thanks,
: Jim
: ---------------------------------------------------------------------
: To unsubscribe, mail majordomo "at" with the line:
: 'unsubscribe vnc-list' in the message BODY
: See also:
: ---------------------------------------------------------------------
To unsubscribe, mail majordomo "at" with the line:
'unsubscribe vnc-list' in the message BODY
See also: