+ Post New Thread
Results 1 to 11 of 11
Scripts Thread, Auto change resolution on log on in Coding and Web Development; This may not be able to be done, but some of our network programs change screen resolutions to a unacceptable ...
  1. #1

    Join Date
    Jun 2008
    Posts
    146
    Thank Post
    22
    Thanked 14 Times in 9 Posts
    Rep Power
    15

    Auto change resolution on log on

    This may not be able to be done, but some of our network programs change screen resolutions to a unacceptable size, and doesn't change back once the program has been exited, (can't remember which program).
    But I was wondering if theres anything available to to either pin to start menu, one click and the resolution goes back to standard, or even a start up script setting the resolution?

    Thanks in advance.

  2. #2
    jsnetman's Avatar
    Join Date
    Oct 2007
    Posts
    887
    Thank Post
    23
    Thanked 134 Times in 126 Posts
    Rep Power
    39
    Yes it is possible. We deployed a program called multires to our workstations and ran a batch file in the machine startup GPO with the following command to set all PC's to the same res:

    c:\progra~1\multires\multires.exe /1:1024,768,32,60
    c:\progra~1\multires\multires.exe /2:1024,768,32,60

    The /1 and /2 are to control video cards that support dual display.

  3. Thanks to jsnetman from:

    the_one_that_cant (21st January 2010)

  4. #3

    Join Date
    Jun 2008
    Posts
    146
    Thank Post
    22
    Thanked 14 Times in 9 Posts
    Rep Power
    15
    Quote Originally Posted by jsnetman View Post
    Yes it is possible. We deployed a program called multires to our workstations and ran a batch file in the machine startup GPO with the following command to set all PC's to the same res:

    c:\progra~1\multires\multires.exe /1:1024,768,32,60
    c:\progra~1\multires\multires.exe /2:1024,768,32,60

    The /1 and /2 are to control video cards that support dual display.
    I take it I would hae to purchase a site liecense for it should I want to use this?



    Also, wheres the BGInfo post gone? Did he realise that you can't do it with that?

  5. #4
    Dom_'s Avatar
    Join Date
    Dec 2008
    Posts
    1,009
    Thank Post
    151
    Thanked 138 Times in 115 Posts
    Rep Power
    56
    Sorry that was me, yeah i realised we use 'Qres' instead, was just finding the name!

    Download QRes 1.1 - Command line utility to change screen resolution, color depth and refresh rate - Softpedia

    That's free btw

  6. #5
    jsnetman's Avatar
    Join Date
    Oct 2007
    Posts
    887
    Thank Post
    23
    Thanked 134 Times in 126 Posts
    Rep Power
    39
    Qres and Multires are both freeware. Both will do the same job but I'm not sure if qres does the dual display bit. I am using Bginfo for setting info on the bootup and logon screens but don't think it will change the screen res, you can set the bitmap to match the screen res but not alter the res.
    Last edited by jsnetman; 21st January 2010 at 09:45 AM.

  7. #6

    Join Date
    Dec 2009
    Posts
    603
    Thank Post
    8
    Thanked 36 Times in 34 Posts
    Rep Power
    17
    put qres in a Shared directory on server , Set avaliable Permisions

    Make a logon script

    with the following

    Set shell=wscript.createobject("wscript.shell")
    shell.run "\\servername\SharedDIR\Qres.exe /X:1680 /Y:1050"

    I actually prefer setting it as a logoff Script , Enable Loopback and put it in the Computer OU so you can set the script based on Computer room ( we seperate each room into different OU's).. as then the logon box will always be the same resolution . Problem with a logon .. People can logon and then after manually change there resoultion .. and the screen will stay like that and the logon box untill somebody logs back on

  8. #7
    jsnetman's Avatar
    Join Date
    Oct 2007
    Posts
    887
    Thank Post
    23
    Thanked 134 Times in 126 Posts
    Rep Power
    39
    Yes you can do it at bootup-logon-logoff it doesn't really matter its a very low overhead bit of software and as mentioned in the previous post can be run from a shared folder.
    Last edited by jsnetman; 21st January 2010 at 10:05 AM.

  9. #8

    Join Date
    Dec 2009
    Posts
    603
    Thank Post
    8
    Thanked 36 Times in 34 Posts
    Rep Power
    17
    Logoff works Better as i mentioned above.

    for e.g. >

    Running with logon > user logons on machine , qres changes resoultion , User does not like resoultion so changes it to one he likes , then logs off . The Monitor stays at the users Resoultion on the Domain Logon Screen .

    Running at Logoff > user logs off resoultion changes , logon screen is set to default resolution .. And so is the next user.

  10. #9
    jsnetman's Avatar
    Join Date
    Oct 2007
    Posts
    887
    Thank Post
    23
    Thanked 134 Times in 126 Posts
    Rep Power
    39
    Users cannot change resolution here (apart from a few visually impaired pupils), hence we do it via machine startup as some apps change the res on their own.

  11. #10
    rh91uk's Avatar
    Join Date
    Sep 2008
    Location
    UK
    Posts
    871
    Thank Post
    137
    Thanked 132 Times in 114 Posts
    Rep Power
    35
    Users cannot change the resolution here (it would be criminal if we let them do that) but we do use ResSwitch here to successfully set a resolution.

    1. Download resswitch (http://www.naughter.com/download/qres.zip - extract, go to "release" then take out of there ResSwitch.exe)

    2. Create a batch file with something similar to the following in it:

    Code:
    @echo off
    if exist c:\noresswitch.txt goto end
    
    resswitch.exe 1440 900 32 75
    
    :end
    (1440 900 being one of our resolutions!)

    2. Find a GPO (or create a new one) that is linked to that computer

    3. Go to Computer Configurartion -> Windows Settings -> Scripts and add a new startup script.

    4. Add the name of the batch file (resswitch.bat for e.g.) into there.

    5. Click "Show Files"

    6. Copy in the batch file AND resswitch.exe

    That should do it for you!

    Let me know if you have any questions!

  12. Thanks to rh91uk from:

    the_one_that_cant (5th February 2010)

  13. #11

    Join Date
    Jun 2008
    Posts
    146
    Thank Post
    22
    Thanked 14 Times in 9 Posts
    Rep Power
    15
    Cheers for this, only question I have:

    Do I need to physically run the resswitch.exe on the PC's I want it to go on, or because I copied the files into the 'show files' area that it will do it automatically? Sorry if its a simple question, I aint too hot on AD and OU's etc, know just enough to get by.

    (I am using an existing OU for our IT Suite pc's only atm)



    Quote Originally Posted by rh91uk View Post
    Users cannot change the resolution here (it would be criminal if we let them do that) but we do use ResSwitch here to successfully set a resolution.

    1. Download resswitch (http://www.naughter.com/download/qres.zip - extract, go to "release" then take out of there ResSwitch.exe)

    2. Create a batch file with something similar to the following in it:

    Code:
    @echo off
    if exist c:\noresswitch.txt goto end
    
    resswitch.exe 1440 900 32 75
    
    :end
    (1440 900 being one of our resolutions!)

    2. Find a GPO (or create a new one) that is linked to that computer

    3. Go to Computer Configurartion -> Windows Settings -> Scripts and add a new startup script.

    4. Add the name of the batch file (resswitch.bat for e.g.) into there.

    5. Click "Show Files"

    6. Copy in the batch file AND resswitch.exe

    That should do it for you!

    Let me know if you have any questions!

SHARE:
+ Post New Thread

Similar Threads

  1. change resolution
    By chrbb in forum Scripts
    Replies: 14
    Last Post: 9th February 2009, 11:14 PM
  2. Auto log off
    By James2k in forum Windows
    Replies: 6
    Last Post: 3rd December 2008, 10:25 PM
  3. Change resolution an all CC3 stations?
    By reggiep in forum Network and Classroom Management
    Replies: 8
    Last Post: 14th July 2008, 11:36 AM
  4. change user desktop screen resolution
    By PEO in forum Windows
    Replies: 9
    Last Post: 18th June 2008, 12:16 PM
  5. Replies: 2
    Last Post: 14th December 2007, 10:33 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •