change screen resolution with batch file

From: Anton (anonymous_at_discussions.microsoft.com)
Date: 04/01/04

  • Next message: Alex: "Windows Installer"
    Date: Wed, 31 Mar 2004 14:21:22 -0800
    
    

    I am using XP Pro, sp1 and 2000 server, sp4.

    I want to run a computer startup script using Group
    Policy that will set the computer's resolution to either
    800x600 or 1024x768. I would also run it on user logoff.
    Does anyone know how this can be accomplished? I tried
    using multires utility but if the resolution is already
    set to 800x600 and I run the batch file on startup it
    seems to crash because the resolution is already set to
    what is trying to change it to. If there were a way to do
    a simple If statement in the batch file and test for the
    current resolution I would be done. Does anyone know how
    to run an If statement and test for the resolution in a
    computer startup batch file? Thanks very much.


  • Next message: Alex: "Windows Installer"

    Relevant Pages

    • Re: Default Display Setting using Group Policy
      ... Does this mean it cannot be done using Group Policy?? ... "Gurpreet Singh" wrote: ... and make a batch file screenres.bat with the command ... these new Dells with 21" inch high resolution LCD's, ...
      (microsoft.public.windowsxp.general)
    • Re: change screen resolution with batch file
      ... You could write a WMI script. ... Here's a sample that sets values (not related to screen resolution at all): ... > I want to run a computer startup script using Group ... > a simple If statement in the batch file and test for the ...
      (microsoft.public.windowsxp.security_admin)
    • Sense
      ... THE ISRAEL RESOLUTION ... I rise in opposition to this resolution, ... I follow a policy in foreign affairs called ... I would rather advocate neutrality rather than picking ...
      (misc.rural)
    • Re: XP screen resolution change from command line ?
      ... where she can play this game. ... I always switch to 1280*1024 on my logon. ... If you want to craft your own batch file to fit particular needs that you might have you will have to use a helper application that can work in Console Mode and that can be called from a batch file, the following utility will work with batch files: ... You could just put a batch file with the desired settings in each user's startup folder and the resolution will be set to their liking when they logon. ...
      (microsoft.public.windowsxp.help_and_support)
    • Re: Default Display Setting using Group Policy
      ... and make a batch file screenres.bat with the command ... leftovers from the engineering department, which meant when they all got ... these new Dells with 21" inch high resolution LCD's, ... I do understand that I am going to have a great number of users complaining ...
      (microsoft.public.windowsxp.general)