Need to change resolution remotely is it possible?
#1
Posted 01 February 2011 - 11:54 PM
Thanks again to all that lend a hand in this matter.
#2
Posted 02 February 2011 - 01:24 AM
clivebuckwheat, on 01 February 2011 - 11:54 PM, said:
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:
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
Posted 02 February 2011 - 08:09 AM
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?
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
Posted 02 February 2011 - 01:50 PM
jaclaz, 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?
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
Posted 03 February 2011 - 12:40 AM
jaclaz, on 02 February 2011 - 08:09 AM, said:
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
Posted 03 February 2011 - 01:20 AM
Glenn9999, on 03 February 2011 - 12:40 AM, said:
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).
- ← Organize the Start Menu for Unattended XP
- Unattended Windows 2000/XP/2003
- Need a script to change wallpaper to None →



Help

Back to top









