MSFN Forum: Need to change resolution remotely is it possible? - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Need to change resolution remotely is it possible? Rate Topic: -----

#1 User is offline   clivebuckwheat 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 538
  • Joined: 07-November 05

Posted 01 February 2011 - 11:54 PM

Is it possible to change the resolution remotely on more machines then I care to admit to, the machines are running XP. I will have to do this via script or command line?

Thanks again to all that lend a hand in this matter.


#2 User is offline   Glenn9999 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 595
  • Joined: 23-April 07

Posted 02 February 2011 - 01:24 AM

View Postclivebuckwheat, on 01 February 2011 - 11:54 PM, said:

Is it possible to change the resolution remotely on more machines then I care to admit to, the machines are running XP. I will have to do this via script or command line?

Thanks again to all that lend a hand in this matter.


I did some web searching and looks like probably the best way (unless there's a way to do it with Remote Desktop Services) to do it is to push a utility to each of the machines to change the resolution (QRes works), then use PSEXEC to run it. I'm not seeing anything that directly addresses resolution of remote display devices and WMI doesn't seem to support changing that at all.

http://www.softpedia...ools/QRes.shtml
http://technet.micro...ernals/bb897553

Hope this helps...

Edit: Looked at PSEXEC closer and it looks like it'll copy the exec to the machine for you and run it there. For example:

psexec docs said:

This command copies the program test.exe to the remote system and executes it interactively:


psexec \\marklap -c test.exe


Looks like this ought to work.

This post has been edited by Glenn9999: 02 February 2011 - 01:54 AM


#3 User is online   jaclaz 

  • The Finder
  • Group: Developers
  • Posts: 9,107
  • Joined: 23-July 04
  • OS:none specified
  • Country: Country Flag

Posted 02 February 2011 - 08:09 AM

Wouldn't you also need a cam pointed to each screen? :angel

I mean if the number of machines is so big, are you really sure you won't be forcing a resolution, color depth or refresh rate that is not suitable with a video card or monitor among the machines? :ph34r:

If I were you I would look into nirsoft's nircmd (setdisplay command+remote or multiremote):
http://www.nirsoft.n...ils/nircmd.html

jaclaz

This post has been edited by jaclaz: 02 February 2011 - 08:17 AM


#4 User is offline   clivebuckwheat 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 538
  • Joined: 07-November 05

Posted 02 February 2011 - 01:50 PM

Thanks will do. No all the machines are the same model so I know that the res will work it is for the projectors. 1024x768 works better.

View Postjaclaz, on 02 February 2011 - 08:09 AM, said:

Wouldn't you also need a cam pointed to each screen? :angel

I mean if the number of machines is so big, are you really sure you won't be forcing a resolution, color depth or refresh rate that is not suitable with a video card or monitor among the machines? :ph34r:

If I were you I would look into nirsoft's nircmd (setdisplay command+remote or multiremote):
http://www.nirsoft.n...ils/nircmd.html

jaclaz


#5 User is offline   Glenn9999 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 595
  • Joined: 23-April 07

Posted 03 February 2011 - 12:40 AM

View Postjaclaz, on 02 February 2011 - 08:09 AM, said:

I mean if the number of machines is so big, are you really sure you won't be forcing a resolution, color depth or refresh rate that is not suitable with a video card or monitor among the machines? :ph34r:


While the OP said this wouldn't matter, if one was concerned would it be possible to query those features off machines on the network using WMI (Win32_DesktopMonitor and Win32_VideoController)? I'm not fully sure, but just a thought.

#6 User is offline   CoffeeFiend 

  • Coffee Aficionado
  • Group: Super Moderator
  • Posts: 5,260
  • Joined: 14-July 04
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 03 February 2011 - 01:20 AM

View PostGlenn9999, on 03 February 2011 - 12:40 AM, said:

would it be possible to query those features off machines on the network using WMI (Win32_DesktopMonitor and Win32_VideoController)? I'm not fully sure, but just a thought.

Easily (WMI truly rocks for remotely getting infos like that). The ScreenWidth and ScreenHeight of the Win32_DesktopMonitor WMI class will return the native res of a LCD (don't have a CRT around anymore to see if that tends to return sane values sadly). As for Win32_VideoController, it's only for Vista+, so you'd also need to make use of Win32_DisplayConfiguration for older systems (after reliably detecting the OS) but they're not incredibly useful anyway.

The main issue will be systems with multiple monitors/projectors (or maybe those with multiple GPUs). This will be a somewhat error prone process no matter what. As for single display systems, IIRC QRes does check the capabilities before trying to set a mode but I could be mistaken (never had a problem with it before).

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy