+ Post New Thread
Results 1 to 9 of 9
Scripts Thread, qres.exe in Coding and Web Development; Sorry if this has been asked before I need to change the resolution for one user to 800 600, found ...
  1. #1
    chrbb's Avatar
    Join Date
    Oct 2005
    Location
    Midlands
    Posts
    1,507
    Thank Post
    141
    Thanked 67 Times in 62 Posts
    Rep Power
    46

    qres.exe

    Sorry if this has been asked before I need to change the resolution for one user to 800 600, found this - qres.exe and want to run it as a startup script in gpo. Totally useless with scripting and would really apprecate dummies guide to using this utility. Thanks

  2. #2

    webman's Avatar
    Join Date
    Nov 2005
    Location
    North East England
    Posts
    8,403
    Thank Post
    637
    Thanked 961 Times in 661 Posts
    Blog Entries
    2
    Rep Power
    319

    Re: qres.exe

    Take your pick

    Batch file: (setres.cmd)

    Code:
    @echo off
    P:\Scripts\Qres.exe /X:800 /Y:600
    exit
    VBScript: (setres.vsb)

    Code:
    Set shell=wscript.createobject("wscript.shell")
    shell.run "P:\Scripts\Qres.exe /X:800 /Y:600"
    exit

  3. #3
    chrbb's Avatar
    Join Date
    Oct 2005
    Location
    Midlands
    Posts
    1,507
    Thank Post
    141
    Thanked 67 Times in 62 Posts
    Rep Power
    46

    Re: qres.exe

    That was quick! Thanks now as I said I need a dummies guide. Understand the basis of the script but where do I put the qres.exe file, where do I put the script and how do I include it as a startup script. (I am that dum)

  4. #4

    webman's Avatar
    Join Date
    Nov 2005
    Location
    North East England
    Posts
    8,403
    Thank Post
    637
    Thanked 961 Times in 661 Posts
    Blog Entries
    2
    Rep Power
    319

    Re: qres.exe

    You can put the qres.exe anywhere you like (eg network share) providing the system has permission to run it. In which case, you can use UNC paths such as \\server\share\qres.exe.

    Where you launch it from depends on your current setup. Do you already have a script that maps network drives and sets up printers per-user or per-computer?

  5. #5
    mrforgetful's Avatar
    Join Date
    May 2006
    Posts
    1,637
    Thank Post
    7
    Thanked 15 Times in 15 Posts
    Rep Power
    22

    Re: qres.exe

    Put Qres.exe whereever you like, as it relates to a login script I'd but it with this.

    I'd but the Login script on \\server\netlogon

    To make the script a login script open up the properties for the user in AD and add the path to the login script under the profile tab.

    If you put the script in netlogon you just need to put the name in the box, not the whole path.

  6. #6
    chrbb's Avatar
    Join Date
    Oct 2005
    Location
    Midlands
    Posts
    1,507
    Thank Post
    141
    Thanked 67 Times in 62 Posts
    Rep Power
    46

    Re: qres.exe

    We use a batch file to map drives

    net use etc

    and a printui script to install printers.

    I need it to run for one user but also to reset the resolution back for other users.

    thanks

  7. #7
    mrcrazy04's Avatar
    Join Date
    Nov 2006
    Location
    Bedfordshire/Cheltenham, UK
    Posts
    258
    Thank Post
    2
    Thanked 11 Times in 11 Posts
    Rep Power
    17

    Re: qres.exe

    I did it through Group Policy - I made an OU called "ScreenResolution" or similar, and put the relevant people in that, applied the same policies as are applied to the Kids OU, and then just added a logon script for that OU to set the screen resolution to 800x600.
    I then setup a logon script for the Kids OU to set it back to 1024x768.

    I forget where in the Group Policy Editor it is and I won't have access to my test domain for another week - but I'm sure someone else can point it out.

  8. #8
    chrbb's Avatar
    Join Date
    Oct 2005
    Location
    Midlands
    Posts
    1,507
    Thank Post
    141
    Thanked 67 Times in 62 Posts
    Rep Power
    46

    Re: qres.exe

    Thanks for the guidance - sorted now script to run at logon and one at logoff to restore screen resolution. I've put qres.exe in netlogon at the moment, should it go in different folder?

    Now what I need is a script to deny access to all users desktop so the child has a few selected desktop icons - anyone?

  9. #9
    Kyle's Avatar
    Join Date
    Jan 2006
    Posts
    972
    Thank Post
    91
    Thanked 14 Times in 13 Posts
    Rep Power
    21

    Re: qres.exe

    I found this Windows Display Shortcuts

    I have tried it and it work swell. You can set up a custom reg file and import to all the laptops concerned. it also comes in a msi file which i presume i can deploy but have not checked it yet.

SHARE:
+ Post New Thread

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
  •